summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/en_main.c
diff options
context:
space:
mode:
authorAya Levin2019-01-22 09:29:57 +0100
committerSaeed Mahameed2019-02-19 23:15:02 +0100
commit6a897372417e8c9e0e03c4c438fc1f48dd096ea9 (patch)
treee20eb40fdb82b187be65e0fd79a65af9ef3dd2c8 /drivers/net/ethernet/mellanox/mlx5/core/en_main.c
parentethtool: Added support for 50Gbps per lane link modes (diff)
downloadkernel-qcow2-linux-6a897372417e8c9e0e03c4c438fc1f48dd096ea9.tar.gz
kernel-qcow2-linux-6a897372417e8c9e0e03c4c438fc1f48dd096ea9.tar.xz
kernel-qcow2-linux-6a897372417e8c9e0e03c4c438fc1f48dd096ea9.zip
net/mlx5: ethtool, Add ethtool support for 50Gbps per lane link modes
In previous patch, driver added new speed modes: 50Gbps per lane support for 50G/100G/200G. This patch modifies mlx5e_get_link_ksettings and mlx5e_set_link_ksettings to set and get these link modes via ethtool. In order to do so, added mapping of new HW bits to ethtool bitmap and enforce mutual exclusion between extended link modes and previously defined link modes. 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 'drivers/net/ethernet/mellanox/mlx5/core/en_main.c')
0 files changed, 0 insertions, 0 deletions