]> git.karo-electronics.de Git - linux-beck.git/commit
IB/core: Fix SDR rates in sysfs
authorRoland Dreier <roland@purestorage.com>
Mon, 27 Feb 2012 17:15:08 +0000 (09:15 -0800)
committerRoland Dreier <roland@purestorage.com>
Mon, 27 Feb 2012 17:15:08 +0000 (09:15 -0800)
commite9319b0cb00d4d68792fdae37e81e316cb632cb9
tree9947cf3123745e0cab9c587566a00a14e949459f
parent6b21d18ed50c7d145220b0724ea7f2613abf0f95
IB/core: Fix SDR rates in sysfs

Commit 71eeba16 ("IB: Add new InfiniBand link speeds") introduced a bug
where eg the rate for IB 4X SDR links iss displayed as "8.5 Gb/sec"
instead of "10 Gb/sec" as it used to be.  Fix that.

Reported-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/core/sysfs.c