History

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.

Zhu Yanjun committed 9 years ago

Commit 0d7e2d21 parent 24b43c92 files · +60 −0Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/ethtool.h+1−0
@@ -1494,6 +1494,7 @@ enum ethtool_link_mode_bit_indices { · 1493 unmodified lines
1494#define SPEED_2500 25001494#define SPEED_2500 2500
1495#define SPEED_5000 50001495#define SPEED_5000 5000
1496#define SPEED_10000 100001496#define SPEED_10000 10000
1497#define SPEED_14000 14000
1497#define SPEED_20000 200001498#define SPEED_20000 20000
1498#define SPEED_25000 250001499#define SPEED_25000 25000
1499#define SPEED_40000 400001500#define SPEED_40000 40000