]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: core: Add support for OSFP transceiver modules
authorDanielle Ratson <danieller@nvidia.com>
Tue, 22 Feb 2022 17:17:03 +0000 (19:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Feb 2022 12:38:17 +0000 (12:38 +0000)
commit95b75eab5c0805f280b907ef631c77c0a6421f4f
tree3facc0fda17dad5f9f949268c1cda542244f21cc
parente2e52d16ba440394893e139858f2877ed1989e21
mlxsw: core: Add support for OSFP transceiver modules

The driver can already dump the EEPROM contents of QSFP-DD transceiver
modules via its ethtool_ops::get_module_info() and
ethtool_ops::get_module_eeprom() callbacks.

Add support for OSFP transceiver modules by adding their SFF-8024
Identifier Value (0x19).

This is required for future NVIDIA Spectrum-4 based systems that will be
equipped with OSFP transceivers.

Signed-off-by: Danielle Ratson <danieller@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/core_env.c
drivers/net/ethernet/mellanox/mlxsw/reg.h