From patchwork Thu Nov 11 16:09:45 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eli Cohen X-Patchwork-Id: 317692 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 oABG9h0B023760 for ; Thu, 11 Nov 2010 16:09:43 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754179Ab0KKQJn (ORCPT ); Thu, 11 Nov 2010 11:09:43 -0500 Received: from mail-ew0-f46.google.com ([209.85.215.46]:38141 "EHLO mail-ew0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752984Ab0KKQJm (ORCPT ); Thu, 11 Nov 2010 11:09:42 -0500 Received: by ewy7 with SMTP id 7so1203607ewy.19 for ; Thu, 11 Nov 2010 08:09:41 -0800 (PST) Received: by 10.216.24.199 with SMTP id x49mr836030wex.109.1289491781027; Thu, 11 Nov 2010 08:09:41 -0800 (PST) Received: from localhost ([82.166.227.17]) by mx.google.com with ESMTPS id y15sm1399425weq.30.2010.11.11.08.09.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 11 Nov 2010 08:09:40 -0800 (PST) Date: Thu, 11 Nov 2010 18:09:45 +0200 From: Eli Cohen To: Roland Dreier Cc: RDMA list Subject: [PATCH] mlx4: Fix IBoE reported rate Message-ID: <20101111160945.GA29411@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]); Thu, 11 Nov 2010 16:09:43 +0000 (UTC) diff --git a/drivers/infiniband/hw/mlx4/main.c b/drivers/infiniband/hw/mlx4/main.c index ba871f8..f274c9c 100644 --- a/drivers/infiniband/hw/mlx4/main.c +++ b/drivers/infiniband/hw/mlx4/main.c @@ -220,7 +220,7 @@ static int eth_link_query_port(struct ib_device *ibdev, u8 port, enum ib_mtu tmp; props->active_width = IB_WIDTH_4X; - props->active_speed = 4; + props->active_speed = 1; props->port_cap_flags = IB_PORT_CM_SUP; props->gid_tbl_len = to_mdev(ibdev)->dev->caps.gid_table_len[port]; props->max_msg_sz = to_mdev(ibdev)->dev->caps.max_msg_sz;