diff options
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2017-06-08 11:18:13 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-08 16:05:41 -0400 |
commit | 297fb414d0d190ca82bf0b46fb19d7fda1598737 (patch) | |
tree | 5b30baa653417341e3f42a5bbd90443f35b84492 | |
parent | 3fcd64cfa0e9cb72b99aaba5c6bc13af9c03417f (diff) | |
download | op-kernel-dev-297fb414d0d190ca82bf0b46fb19d7fda1598737.zip op-kernel-dev-297fb414d0d190ca82bf0b46fb19d7fda1598737.tar.gz |
ethtool.h: remind to update 802.3ad when adding new speeds
Each time a new speed is added, the bonding 802.3ad isn't updated. Add a
comment to remind the developer to update this driver.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Acked-by: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | include/uapi/linux/ethtool.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/uapi/linux/ethtool.h b/include/uapi/linux/ethtool.h index d179d77..7d4a594 100644 --- a/include/uapi/linux/ethtool.h +++ b/include/uapi/linux/ethtool.h @@ -1486,8 +1486,10 @@ enum ethtool_link_mode_bit_indices { * it was forced up into this mode or autonegotiated. */ -/* The forced speed, in units of 1Mb. All values 0 to INT_MAX are legal. */ -/* Update drivers/net/phy/phy.c:phy_speed_to_str() when adding new values */ +/* The forced speed, in units of 1Mb. All values 0 to INT_MAX are legal. + * Update drivers/net/phy/phy.c:phy_speed_to_str() and + * drivers/net/bonding/bond_3ad.c:__get_link_speed() when adding new values. + */ #define SPEED_10 10 #define SPEED_100 100 #define SPEED_1000 1000 |