]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Fix setting of RS FEC mode
authorAya Levin <ayal@nvidia.com>
Sun, 11 Apr 2021 06:33:12 +0000 (09:33 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 14 Apr 2021 23:12:57 +0000 (16:12 -0700)
commitdeaa6a51b650215eefc3d09792de508a1df5217d
treee6d97004dd8e7f304b403c57b760b457fb976799
parent60d01a6ab626620e6f27ea25b1283d4e5430427c
net/mlx5e: Fix setting of RS FEC mode

Change register setting from bit number to bit mask.

Fixes: afaa38e15911 ("net/mlx5e: Add support for FEC modes based on 50G per lane links")
Signed-off-by: Aya Levin <ayal@nvidia.com>
Reviewed-by: Eran Ben Elisha <eranbe@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en/port.c