kernel_samsung_a53x/drivers/net/ethernet/intel/igc
Sasha Neftin b177a4bf69 igc: Fix ambiguity in the ethtool advertising
[ Upstream commit e7684d29efdf37304c62bb337ea55b3428ca118e ]

The 'ethtool_convert_link_mode_to_legacy_u32' method does not allow us to
advertise 2500M speed support and TP (twisted pair) properly. Convert to
'ethtool_link_ksettings_test_link_mode' to advertise supported speed and
eliminate ambiguity.

Fixes: 8c5ad0dae93c ("igc: Add ethtool support")
Suggested-by: Dima Ruinskiy <dima.ruinskiy@intel.com>
Suggested-by: Vitaly Lifshits <vitaly.lifshits@intel.com>
Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Naama Meir <naamax.meir@linux.intel.com>
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://lore.kernel.org/r/20231019203641.3661960-1-jacob.e.keller@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 10:58:29 +01:00
..
igc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
igc_base.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
igc_base.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
igc_defines.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
igc_diag.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
igc_diag.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
igc_dump.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
igc_ethtool.c igc: Fix ambiguity in the ethtool advertising 2024-11-18 10:58:29 +01:00
igc_hw.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
igc_i225.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
igc_i225.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
igc_mac.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
igc_mac.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
igc_main.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
igc_nvm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
igc_nvm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
igc_phy.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
igc_phy.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
igc_ptp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
igc_regs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
igc_tsn.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
igc_tsn.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00