]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Enforce setting of a single FEC mode
authorAya Levin <ayal@mellanox.com>
Tue, 11 Feb 2020 22:32:49 +0000 (14:32 -0800)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 19 Feb 2020 03:17:30 +0000 (19:17 -0800)
commitc2802c357f0899cfae06d8c0bb7cc03a2be1a920
treeebe72a43ffb450b9865a425d60ad0be8bcef371e
parent69a6c1253ab7a0b46da6d07c9fbdabda800b62c8
net/mlx5e: Enforce setting of a single FEC mode

Ethtool command allow setting of several FEC modes in a single set
command. The driver can only set a single FEC mode at a time. With this
patch driver will reply not-supported on setting several FEC modes.

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