diff options
author | Pavel Belous <pavel.s.belous@gmail.com> | 2017-01-28 14:53:28 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-30 10:14:28 -0500 |
commit | 94842b4fc4d6b1691cfc86c6f5251f299d27f4ba (patch) | |
tree | 86aa0260c94f356d8f7ed426cb80060de376abb4 | |
parent | d1156b489fa734d1af763d6a07b1637c01bb0aed (diff) |
net: ethtool: add support for 2500BaseT and 5000BaseT link modes
This patch introduce support for 2500BaseT and 5000BaseT link modes.
These modes are included in the new IEEE 802.3bz standard.
Signed-off-by: Pavel Belous <pavel.s.belous@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | include/uapi/linux/ethtool.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/uapi/linux/ethtool.h b/include/uapi/linux/ethtool.h index f0db7788f887..3dc91a46e8b8 100644 --- a/include/uapi/linux/ethtool.h +++ b/include/uapi/linux/ethtool.h | |||
@@ -1384,6 +1384,8 @@ enum ethtool_link_mode_bit_indices { | |||
1384 | ETHTOOL_LINK_MODE_10000baseLR_Full_BIT = 44, | 1384 | ETHTOOL_LINK_MODE_10000baseLR_Full_BIT = 44, |
1385 | ETHTOOL_LINK_MODE_10000baseLRM_Full_BIT = 45, | 1385 | ETHTOOL_LINK_MODE_10000baseLRM_Full_BIT = 45, |
1386 | ETHTOOL_LINK_MODE_10000baseER_Full_BIT = 46, | 1386 | ETHTOOL_LINK_MODE_10000baseER_Full_BIT = 46, |
1387 | ETHTOOL_LINK_MODE_2500baseT_Full_BIT = 47, | ||
1388 | ETHTOOL_LINK_MODE_5000baseT_Full_BIT = 48, | ||
1387 | 1389 | ||
1388 | 1390 | ||
1389 | /* Last allowed bit for __ETHTOOL_LINK_MODE_LEGACY_MASK is bit | 1391 | /* Last allowed bit for __ETHTOOL_LINK_MODE_LEGACY_MASK is bit |
@@ -1393,7 +1395,7 @@ enum ethtool_link_mode_bit_indices { | |||
1393 | */ | 1395 | */ |
1394 | 1396 | ||
1395 | __ETHTOOL_LINK_MODE_LAST | 1397 | __ETHTOOL_LINK_MODE_LAST |
1396 | = ETHTOOL_LINK_MODE_10000baseER_Full_BIT, | 1398 | = ETHTOOL_LINK_MODE_5000baseT_Full_BIT, |
1397 | }; | 1399 | }; |
1398 | 1400 | ||
1399 | #define __ETHTOOL_LINK_MODE_LEGACY_MASK(base_name) \ | 1401 | #define __ETHTOOL_LINK_MODE_LEGACY_MASK(base_name) \ |