IB/mlx4: Fix IBoE reported link rate
authorEli Cohen <eli@dev.mellanox.co.il>
Mon, 15 Nov 2010 14:04:39 +0000 (14:04 +0000)
committerRoland Dreier <rolandd@cisco.com>
Thu, 2 Dec 2010 00:10:35 +0000 (16:10 -0800)
The link rate is the product of the link speed in the link width. For
Etherent ports the rate is 10G, so we use 1 for the width and 4 for
speed to get the correct rate.

Signed-off-by: Eli Cohen <eli@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mlx4/main.c

Simple merge