diff mbox

mlx4: Fix IBoE reported rate

Message ID 20101111160945.GA29411@mtldesk30 (mailing list archive)
State Superseded, archived
Headers show

Commit Message

Eli Cohen Nov. 11, 2010, 4:09 p.m. UTC
None
diff mbox

Patch

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;