]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net/mlx5e: Add missing link modes to ptys2ethtool_map
authorShahar Shitrit <shshitrit@nvidia.com>
Sun, 11 Aug 2024 10:56:13 +0000 (13:56 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Oct 2024 13:10:36 +0000 (15:10 +0200)
commit3f8d4d9bffe7c420c37f768584b3261ffd8076bd
treefcd7f7e87182c1eee1a0304cfaca3e6d31246769
parent61964f36349d08e351c6eaedba0cf47cf5c343bd
net/mlx5e: Add missing link modes to ptys2ethtool_map

[ Upstream commit 7617d62cba4a8a3ff3ed3fda0171c43f135c142e ]

Add MLX5E_1000BASE_T and MLX5E_100BASE_TX to the legacy
modes in ptys2legacy_ethtool_table, since they were missing.

Fixes: 665bc53969d7 ("net/mlx5e: Use new ethtool get/set link ksettings API")
Signed-off-by: Shahar Shitrit <shshitrit@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Carolina Jubran <cjubran@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c