Skip to content

Commit 7617d62

Browse files
Shahar ShitritSaeed Mahameed
authored andcommitted
net/mlx5e: Add missing link modes to ptys2ethtool_map
Add MLX5E_1000BASE_T and MLX5E_100BASE_TX to the legacy modes in ptys2legacy_ethtool_table, since they were missing. Fixes: 665bc53 ("net/mlx5e: Use new ethtool get/set link ksettings API") Signed-off-by: Shahar Shitrit <[email protected]> Reviewed-by: Tariq Toukan <[email protected]> Reviewed-by: Carolina Jubran <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
1 parent 7472d15 commit 7617d62

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,10 @@ void mlx5e_build_ptys2ethtool_map(void)
139139
ETHTOOL_LINK_MODE_100000baseKR4_Full_BIT);
140140
MLX5_BUILD_PTYS2ETHTOOL_CONFIG(MLX5E_100GBASE_LR4, legacy,
141141
ETHTOOL_LINK_MODE_100000baseLR4_ER4_Full_BIT);
142+
MLX5_BUILD_PTYS2ETHTOOL_CONFIG(MLX5E_100BASE_TX, legacy,
143+
ETHTOOL_LINK_MODE_100baseT_Full_BIT);
144+
MLX5_BUILD_PTYS2ETHTOOL_CONFIG(MLX5E_1000BASE_T, legacy,
145+
ETHTOOL_LINK_MODE_1000baseT_Full_BIT);
142146
MLX5_BUILD_PTYS2ETHTOOL_CONFIG(MLX5E_10GBASE_T, legacy,
143147
ETHTOOL_LINK_MODE_10000baseT_Full_BIT);
144148
MLX5_BUILD_PTYS2ETHTOOL_CONFIG(MLX5E_25GBASE_CR, legacy,

0 commit comments

Comments
 (0)