summaryrefslogtreecommitdiffstats
path: root/net/ethtool/common.c
diff options
context:
space:
mode:
authorAya Levin <ayal@mellanox.com>2020-02-11 14:32:50 -0800
committerSaeed Mahameed <saeedm@mellanox.com>2020-02-18 19:17:30 -0800
commit2132b71f78d207b63974fc7d6eced9c5e886c405 (patch)
tree6ecda2413a3e6eb66463b496d31c4a339aa6c7b7 /net/ethtool/common.c
parent4bd9d5070b92da012f2715cf8e4859acb78b8f35 (diff)
downloadlinux-stable-2132b71f78d207b63974fc7d6eced9c5e886c405.tar.gz
linux-stable-2132b71f78d207b63974fc7d6eced9c5e886c405.tar.bz2
linux-stable-2132b71f78d207b63974fc7d6eced9c5e886c405.zip
net/mlx5e: Advertise globaly supported FEC modes
Ethtool advertise supported link modes on an interface. Per each FEC mode, query if there is a link type which supports it. If so, add this FEC mode to the supported FEC modes list. Prior to this patch, ethtool advertised only the supported FEC modes on the current link type. Add an explicit mapping between internal FEC modes and ethtool link mode bits. With this change, adding new FEC modes in the downstream patch would be easier. Signed-off-by: Aya Levin <ayal@mellanox.com> Reviewed-by: Eran Ben Elisha <eranbe@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'net/ethtool/common.c')
0 files changed, 0 insertions, 0 deletions