]> git.baikalelectronics.ru Git - kernel.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)
commite28ec741454dd268c7fc9dba910c53512d245d6a
tree27acf7bfdef0887e15621bf2f0f481aa3aaf65b5
parent311f5799562b429cb010cde89daece1383a20ea4
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