diff options
| author | David S. Miller <davem@davemloft.net> | 2019-10-15 15:02:30 -0700 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-10-15 15:02:30 -0700 |
| commit | e17b932290bf4cabe7fd4dd7cbd789dcd49c7df5 (patch) | |
| tree | b00fa1ab3bf81cf734d3d6ea4fa4f9f85f0cad77 /include | |
| parent | 14f2cf607ccd1fa05e767f0191fd5d07b35534c2 (diff) | |
| parent | 5bd29b9b357569d2be6de29eaa79a7dfc215b0e8 (diff) | |
Merge branch 'mlxsw-Add-support-for-400Gbps-50Gbps-per-lane-link-modes'
Jiri Pirko says:
====================
mlxsw: Add support for 400Gbps (50Gbps per lane) link modes
Add 400Gbps bits to ethtool and introduce support in mlxsw. These modes
are supported by the Spectrum-2 switch ASIC.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
| -rw-r--r-- | include/uapi/linux/ethtool.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/uapi/linux/ethtool.h b/include/uapi/linux/ethtool.h index 8938b76c4ee3..d4591792f0b4 100644 --- a/include/uapi/linux/ethtool.h +++ b/include/uapi/linux/ethtool.h @@ -1507,6 +1507,11 @@ enum ethtool_link_mode_bit_indices { ETHTOOL_LINK_MODE_200000baseCR4_Full_BIT = 66, ETHTOOL_LINK_MODE_100baseT1_Full_BIT = 67, ETHTOOL_LINK_MODE_1000baseT1_Full_BIT = 68, + ETHTOOL_LINK_MODE_400000baseKR8_Full_BIT = 69, + ETHTOOL_LINK_MODE_400000baseSR8_Full_BIT = 70, + ETHTOOL_LINK_MODE_400000baseLR8_ER8_FR8_Full_BIT = 71, + ETHTOOL_LINK_MODE_400000baseDR8_Full_BIT = 72, + ETHTOOL_LINK_MODE_400000baseCR8_Full_BIT = 73, /* must be last entry */ __ETHTOOL_LINK_MODE_MASK_NBITS @@ -1618,6 +1623,7 @@ enum ethtool_link_mode_bit_indices { #define SPEED_56000 56000 #define SPEED_100000 100000 #define SPEED_200000 200000 +#define SPEED_400000 400000 #define SPEED_UNKNOWN -1 |
