]> www.infradead.org Git - users/jedix/linux-maple.git/commit
IB/ipoib: add get_settings in ethtool
authorZhu Yanjun <yanjun.zhu@oracle.com>
Thu, 18 May 2017 03:44:12 +0000 (23:44 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 1 Jun 2017 06:06:58 +0000 (23:06 -0700)
commiteb20d04f49eb236b35381de27bc8b65ffbf60234
tree969c5ed3a349cb8245aa6f0859f1ffaa89dae239
parentc59a853d8daf06c1b198eff4fef390e19a543c33
IB/ipoib: add get_settings in ethtool

In order to let the bonding driver report the correct speed
of the underlaying interfaces, when they are IPoIB, the ethtool
function get_settings() in the IPoIB driver is implemented.

Orabug: 25048521

Cc: Joe Jin <joe.jin@oracle.com>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Reviewed-by: HÃ¥kon Bugge <haakon.bugge@oracle.com>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
drivers/infiniband/ulp/ipoib/ipoib_ethtool.c
include/uapi/linux/ethtool.h