On 8/19/2024 2:27 AM, Aleksandr Loktionov wrote:
> Add "EEE: Enabled/Disabled" to dmesg for supported X710 Base-T/KR/KX cards.
> According to the IEEE standard report the EEE ability and and the
> EEE Link Partner ability. Use the kernel's 'ethtool_keee' structure
> and report EEE link modes.
>
> Example:
> dmesg | grep 'NIC Link is'
> ethtool --show-eee <device>
>
> Before:
> NIC Link is Up, 10 Gbps Full Duplex, Flow Control: None
>
> Supported EEE link modes: Not reported
> Advertised EEE link modes: Not reported
> Link partner advertised EEE link modes: Not reported
>
> After:
> NIC Link is Up, 10 Gbps Full Duplex, Flow Control: None, EEE: Enabled
>
> Supported EEE link modes: 100baseT/Full
> 1000baseT/Full
> 10000baseT/Full
> Advertised EEE link modes: 100baseT/Full
> 1000baseT/Full
> 10000baseT/Full
> Link partner advertised EEE link modes: 100baseT/Full
> 1000baseT/Full
> 10000baseT/Full
>
> Reviewed-by: Arkadiusz Kubalewski <arkadiusz.kubalew...@intel.com>
> Signed-off-by: Aleksandr Loktionov <aleksandr.loktio...@intel.com>
> ---
Reviewed-by: Jacob Keller <jacob.e.kel...@intel.com>