]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9fdc7f17d0ab6d2c56090818999fec2d8265173a
tree346402ed48bd2897499cd41341c91a7c501f0ed4
parented988799a12d8aacc56b23d120b02fcf23aff984
IB/mlx4: Fix IBoE reported link rate

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