From patchwork Mon Nov 15 14:04:39 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eli Cohen X-Patchwork-Id: 324962 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oAFE4kh1002440 for ; Mon, 15 Nov 2010 14:04:46 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932093Ab0KOOEg (ORCPT ); Mon, 15 Nov 2010 09:04:36 -0500 Received: from mail-ww0-f44.google.com ([74.125.82.44]:40447 "EHLO mail-ww0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932068Ab0KOOEf (ORCPT ); Mon, 15 Nov 2010 09:04:35 -0500 Received: by wwa36 with SMTP id 36so62688wwa.1 for ; Mon, 15 Nov 2010 06:04:34 -0800 (PST) Received: by 10.216.30.2 with SMTP id j2mr6333801wea.33.1289829873717; Mon, 15 Nov 2010 06:04:33 -0800 (PST) Received: from localhost ([82.166.227.17]) by mx.google.com with ESMTPS id a2sm374wer.41.2010.11.15.06.04.25 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 15 Nov 2010 06:04:26 -0800 (PST) Date: Mon, 15 Nov 2010 16:04:39 +0200 From: Eli Cohen To: Roland Dreier Cc: RDMA list , jgunthorpe@obsidianresearch.com Subject: [PATCH v2] mlx4: Fix IBoE reported rate Message-ID: <20101115140439.GA20131@mtldesk30> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Mon, 15 Nov 2010 14:04:46 +0000 (UTC) diff --git a/drivers/infiniband/hw/mlx4/main.c b/drivers/infiniband/hw/mlx4/main.c index f200b96..02a9034 100644 --- a/drivers/infiniband/hw/mlx4/main.c +++ b/drivers/infiniband/hw/mlx4/main.c @@ -219,7 +219,7 @@ static int eth_link_query_port(struct ib_device *ibdev, u8 port, struct net_device *ndev; enum ib_mtu tmp; - props->active_width = IB_WIDTH_4X; + props->active_width = IB_WIDTH_1X; props->active_speed = 4; props->port_cap_flags = IB_PORT_CM_SUP; props->gid_tbl_len = to_mdev(ibdev)->dev->caps.gid_table_len[port];