]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net/mlx5e: Support FEC settings for 200G per lane link modes
authorJianbo Liu <jianbol@nvidia.com>
Mon, 3 Feb 2025 21:35:13 +0000 (23:35 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 6 Feb 2025 09:14:01 +0000 (10:14 +0100)
commit4e343c11efbbc9da8ac6e1a2f23704c9313e056d
treef159859280ad57631b3b3a4f9cbe102a9d8ab638
parentee0a4fc396f1b6fd1b34e99754896961fb67e4e3
net/mlx5e: Support FEC settings for 200G per lane link modes

Add support to show and config FEC by ethtool for 200G/lane link
modes. The RS encoding setting is mapped, and can be overridden to
FEC_RS_544_514_INTERLEAVED_QUAD for these modes.

Signed-off-by: Jianbo Liu <jianbol@nvidia.com>
Reviewed-by: Shahar Shitrit <shshitrit@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/mellanox/mlx5/core/en/port.c
drivers/net/ethernet/mellanox/mlx5/core/en/port.h
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c