diff options
author | Sasha Neftin <sasha.neftin@intel.com> | 2024-06-04 00:42:35 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-06-06 05:27:56 +0300 |
commit | 7d67d11fbe194f71298263f48e33ae2afa38197e (patch) | |
tree | 4cb6faca8dd7c6e27e47ec75bf9e106493624f80 /drivers/net/Space.c | |
parent | f3df4044254c98128890b512bf19cc05588f1fe5 (diff) | |
download | linux-7d67d11fbe194f71298263f48e33ae2afa38197e.tar.xz |
igc: Fix Energy Efficient Ethernet support declaration
The commit 01cf893bf0f4 ("net: intel: i40e/igc: Remove setting Autoneg in
EEE capabilities") removed SUPPORTED_Autoneg field but left inappropriate
ethtool_keee structure initialization. When "ethtool --show <device>"
(get_eee) invoke, the 'ethtool_keee' structure was accidentally overridden.
Remove the 'ethtool_keee' overriding and add EEE declaration as per IEEE
specification that allows reporting Energy Efficient Ethernet capabilities.
Examples:
Before fix:
ethtool --show-eee enp174s0
EEE settings for enp174s0:
EEE status: not supported
After fix:
EEE settings for enp174s0:
EEE status: disabled
Tx LPI: disabled
Supported EEE link modes: 100baseT/Full
1000baseT/Full
2500baseT/Full
Fixes: 01cf893bf0f4 ("net: intel: i40e/igc: Remove setting Autoneg in EEE capabilities")
Suggested-by: Dima Ruinskiy <dima.ruinskiy@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/20240603-net-2024-05-30-intel-net-fixes-v2-6-e3563aa89b0c@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/Space.c')
0 files changed, 0 insertions, 0 deletions