ethtool: Add support for 100Gbps per lane link modes
authorMeir Lichtinger <meirl@mellanox.com>
Tue, 7 Jul 2020 03:42:32 +0000 (20:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Jul 2020 22:30:42 +0000 (15:30 -0700)
commit065e0d42a0a728d7f6c2aec7c9f3e5dc7b715394
tree54bfc551f16bca284e358bd22f1520a019de4b1c
parent66846b7d058bbb6e2954b8b84d6480024e72a777
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>
drivers/net/phy/phy-core.c
include/uapi/linux/ethtool.h
net/ethtool/common.c
net/ethtool/linkmodes.c