aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5/mlx5_ifc.h
diff options
context:
space:
mode:
authorShay Agroskin <shayag@mellanox.com>2018-08-28 10:37:52 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2018-10-18 13:13:31 -0700
commit6cfa94605091b65cb2895a826750a30fbed99770 (patch)
tree38fda5a72d0cea05d3f4ffdac2bd4dcb91303c85 /include/linux/mlx5/mlx5_ifc.h
parentnet/mlx5e: Add port FEC get/set functions (diff)
downloadlinux-dev-6cfa94605091b65cb2895a826750a30fbed99770.tar.xz
linux-dev-6cfa94605091b65cb2895a826750a30fbed99770.zip
net/mlx5e: Ethtool driver callback for query/set FEC policy
Driver callback function for 'ethtool --show-fec', 'ethtool --set-fec' commands. The query function returns active and configured FEC policy for current link speed. The set function sets FEC policy for all supported link speeds. 1) If current link speed doesn't support requested FEC policy, the function fails. 2) If a different link speed doesn't support requested FEC policy, FEC capbilities for this speed are turned off. Signed-off-by: Shay Agroskin <shayag@mellanox.com> Reviewed-by: Eran Ben Elisha <eranbe@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'include/linux/mlx5/mlx5_ifc.h')
0 files changed, 0 insertions, 0 deletions