Skip to content

Commit 80bf474

Browse files
Shahar ShitritSaeed Mahameed
authored andcommitted
net/mlx5e: Add missing link mode to ptys2ext_ethtool_map
Add MLX5E_400GAUI_8_400GBASE_CR8 to the extended modes in ptys2ext_ethtool_table, since it was missing. Fixes: 6a89737 ("net/mlx5: ethtool, Add ethtool support for 50Gbps per lane link modes") 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 7617d62 commit 80bf474

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,12 @@ void mlx5e_build_ptys2ethtool_map(void)
208208
ETHTOOL_LINK_MODE_200000baseLR4_ER4_FR4_Full_BIT,
209209
ETHTOOL_LINK_MODE_200000baseDR4_Full_BIT,
210210
ETHTOOL_LINK_MODE_200000baseCR4_Full_BIT);
211+
MLX5_BUILD_PTYS2ETHTOOL_CONFIG(MLX5E_400GAUI_8_400GBASE_CR8, ext,
212+
ETHTOOL_LINK_MODE_400000baseKR8_Full_BIT,
213+
ETHTOOL_LINK_MODE_400000baseSR8_Full_BIT,
214+
ETHTOOL_LINK_MODE_400000baseLR8_ER8_FR8_Full_BIT,
215+
ETHTOOL_LINK_MODE_400000baseDR8_Full_BIT,
216+
ETHTOOL_LINK_MODE_400000baseCR8_Full_BIT);
211217
MLX5_BUILD_PTYS2ETHTOOL_CONFIG(MLX5E_100GAUI_1_100GBASE_CR_KR, ext,
212218
ETHTOOL_LINK_MODE_100000baseKR_Full_BIT,
213219
ETHTOOL_LINK_MODE_100000baseSR_Full_BIT,

0 commit comments

Comments
 (0)