IPoIB: Handle extended rates in debugfs
authorMarcel Apfelbaum <marcela@dev.mellanox.co.il>
Tue, 4 Oct 2011 12:28:23 +0000 (15:28 +0300)
committerRoland Dreier <roland@purestorage.com>
Tue, 11 Oct 2011 18:57:08 +0000 (11:57 -0700)
commite36fb88a9a0fb8ac4b87c8ac709214a408de6d97
tree51012bbd19e812b80a7a9628b9503f4f8a29ad6f
parent71eeba161d7611238ecb6f525a82325aa35339f0
IPoIB: Handle extended rates in debugfs

Use new function ib_rate_to_mbps() to handle printing rate in debugfs,
so that we handle extended rates.

Signed-off-by: Marcel Apfelbaum <marcela@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/ulp/ipoib/ipoib_fs.c