]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/mlxe5: Separate between FEC and current speed
authorAya Levin <ayal@mellanox.com>
Tue, 11 Feb 2020 22:32:51 +0000 (14:32 -0800)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 19 Feb 2020 03:17:31 +0000 (19:17 -0800)
commit3c19208ea96061e64eeaad9485d115b32e2177b7
tree27acf7bfdef0887e15621bf2f0f481aa3aaf65b5
parent2132b71f78d207b63974fc7d6eced9c5e886c405
net/mlxe5: Separate between FEC and current speed

FEC mode is per link type, not necessary per speed. This patch access
FEC register by link modes instead of speeds. This patch will allow
further enhacment of link modes supporting FEC with the same speed
(different lane type).

Signed-off-by: Aya Levin <ayal@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en/port.c