projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1156b4
)
net: ethtool: add support for 2500BaseT and 5000BaseT link modes
author
Pavel Belous
<pavel.s.belous@gmail.com>
Sat, 28 Jan 2017 19:53:28 +0000
(22:53 +0300)
committer
David S. Miller
<davem@davemloft.net>
Mon, 30 Jan 2017 15:14:28 +0000
(10:14 -0500)
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>
include/uapi/linux/ethtool.h
patch
|
blob
|
history
diff --git
a/include/uapi/linux/ethtool.h
b/include/uapi/linux/ethtool.h
index
f0db778
..
3dc91a4
100644
(file)
--- a/
include/uapi/linux/ethtool.h
+++ b/
include/uapi/linux/ethtool.h
@@
-1384,6
+1384,8
@@
enum ethtool_link_mode_bit_indices {
ETHTOOL_LINK_MODE_10000baseLR_Full_BIT = 44,
ETHTOOL_LINK_MODE_10000baseLRM_Full_BIT = 45,
ETHTOOL_LINK_MODE_10000baseER_Full_BIT = 46,
+ ETHTOOL_LINK_MODE_2500baseT_Full_BIT = 47,
+ ETHTOOL_LINK_MODE_5000baseT_Full_BIT = 48,
/* Last allowed bit for __ETHTOOL_LINK_MODE_LEGACY_MASK is bit
@@
-1393,7
+1395,7
@@
enum ethtool_link_mode_bit_indices {
*/
__ETHTOOL_LINK_MODE_LAST
- = ETHTOOL_LINK_MODE_
10000baseER
_Full_BIT,
+ = ETHTOOL_LINK_MODE_
5000baseT
_Full_BIT,
};
#define __ETHTOOL_LINK_MODE_LEGACY_MASK(base_name) \