IB/ipoib: add get_link_ksettings 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_link_ksettings() in the IPoIB driver is implemented. Cc: Joe Jin <joe.jin@oracle.com> Cc: Junxiao Bi <junxiao.bi@oracle.com> Suggested-by: Håkon Bugge <Haakon.Bugge@oracle.com> Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:
@@ -1494,6 +1494,7 @@ enum ethtool_link_mode_bit_indices {
|
||||
#define SPEED_2500 2500
|
||||
#define SPEED_5000 5000
|
||||
#define SPEED_10000 10000
|
||||
#define SPEED_14000 14000
|
||||
#define SPEED_20000 20000
|
||||
#define SPEED_25000 25000
|
||||
#define SPEED_40000 40000
|
||||
|
Reference in New Issue
Block a user