summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox
diff options
context:
space:
mode:
authorGal Pressman <galp@mellanox.com>2016-06-23 17:02:44 +0300
committerDavid S. Miller <davem@davemloft.net>2016-06-27 04:10:41 -0400
commit4a50e35b04c9008558a73ed4e349b3b483ef6739 (patch)
tree57c6f4f8a157cdd38942c8967a10d621b7df6e40 /drivers/net/ethernet/mellanox
parent89da45b8b5b2187734a11038b8593714f964ffd1 (diff)
downloadblackbird-op-linux-4a50e35b04c9008558a73ed4e349b3b483ef6739.tar.gz
blackbird-op-linux-4a50e35b04c9008558a73ed4e349b3b483ef6739.zip
net/mlx5e: Add missing 50G baseSR2 link mode
Add MLX5E_50GBASE_SR2 as ETHTOOL_LINK_MODE_50000baseSR2_Full_BIT. Signed-off-by: Gal Pressman <galp@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Cc: Ben Hutchings <bwh@kernel.org> Cc: David Decotigny <decot@googlers.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox')
-rw-r--r--drivers/net/ethernet/mellanox/mlx5/core/en.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en.h b/drivers/net/ethernet/mellanox/mlx5/core/en.h
index aa36a3a65e72..b8732e6d2b6b 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/en.h
+++ b/drivers/net/ethernet/mellanox/mlx5/core/en.h
@@ -616,6 +616,7 @@ enum mlx5e_link_mode {
MLX5E_10GBASE_ER = 14,
MLX5E_40GBASE_SR4 = 15,
MLX5E_40GBASE_LR4 = 16,
+ MLX5E_50GBASE_SR2 = 18,
MLX5E_100GBASE_CR4 = 20,
MLX5E_100GBASE_SR4 = 21,
MLX5E_100GBASE_KR4 = 22,
OpenPOWER on IntegriCloud