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.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -1494,6 +1494,7 @@ enum ethtool_link_mode_bit_indices { · 1493 unmodified lines | |||
| 1494 | #define SPEED_2500 2500 | 1494 | #define SPEED_2500 2500 |
| 1495 | #define SPEED_5000 5000 | 1495 | #define SPEED_5000 5000 |
| 1496 | #define SPEED_10000 10000 | 1496 | #define SPEED_10000 10000 |
| 1497 | #define SPEED_14000 14000 | ||
| 1497 | #define SPEED_20000 20000 | 1498 | #define SPEED_20000 20000 |
| 1498 | #define SPEED_25000 25000 | 1499 | #define SPEED_25000 25000 |
| 1499 | #define SPEED_40000 40000 | 1500 | #define SPEED_40000 40000 |