ethtool: Add support for 100Gbps per lane link modes
Define 100G, 200G and 400G link modes using 100Gbps per lane LR, ER and FR are defined as a single link mode because they are using same technology and by design are fully interoperable. EEPROM content indicates if the module is LR, ER, or FR, and the user space ethtool decoder is planned to support decoding these modes in the EEPROM. Signed-off-by: Meir Lichtinger <meirl@mellanox.com> CC: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Aya Levin <ayal@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
66846b7d05
commit
065e0d42a0
@@ -257,6 +257,21 @@ static const struct link_mode_info link_mode_params[] = {
|
||||
__DEFINE_LINK_MODE_PARAMS(400000, DR8, Full),
|
||||
__DEFINE_LINK_MODE_PARAMS(400000, CR8, Full),
|
||||
__DEFINE_SPECIAL_MODE_PARAMS(FEC_LLRS),
|
||||
__DEFINE_LINK_MODE_PARAMS(100000, KR, Full),
|
||||
__DEFINE_LINK_MODE_PARAMS(100000, SR, Full),
|
||||
__DEFINE_LINK_MODE_PARAMS(100000, LR_ER_FR, Full),
|
||||
__DEFINE_LINK_MODE_PARAMS(100000, DR, Full),
|
||||
__DEFINE_LINK_MODE_PARAMS(100000, CR, Full),
|
||||
__DEFINE_LINK_MODE_PARAMS(200000, KR2, Full),
|
||||
__DEFINE_LINK_MODE_PARAMS(200000, SR2, Full),
|
||||
__DEFINE_LINK_MODE_PARAMS(200000, LR2_ER2_FR2, Full),
|
||||
__DEFINE_LINK_MODE_PARAMS(200000, DR2, Full),
|
||||
__DEFINE_LINK_MODE_PARAMS(200000, CR2, Full),
|
||||
__DEFINE_LINK_MODE_PARAMS(400000, KR4, Full),
|
||||
__DEFINE_LINK_MODE_PARAMS(400000, SR4, Full),
|
||||
__DEFINE_LINK_MODE_PARAMS(400000, LR4_ER4_FR4, Full),
|
||||
__DEFINE_LINK_MODE_PARAMS(400000, DR4, Full),
|
||||
__DEFINE_LINK_MODE_PARAMS(400000, CR4, Full),
|
||||
};
|
||||
|
||||
static const struct nla_policy
|
||||
|
Reference in New Issue
Block a user