]> 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)
commit79f43bab0b7efcfc07adacbada499675e7cb1e29
tree27acf7bfdef0887e15621bf2f0f481aa3aaf65b5
parent30bf98e74cebe27e6c615a0d9033adc358082ba6
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