> -----Original Message-----
> From: Intel-wired-lan <[email protected]> On Behalf Of 
> Aleksandr Loktionov
> Sent: Monday, August 19, 2024 2:58 PM
> To: [email protected]; Nguyen, Anthony L 
> <[email protected]>; Loktionov, Aleksandr 
> <[email protected]>
> Cc: [email protected]; Kubalewski, Arkadiusz 
> <[email protected]>
> Subject: [Intel-wired-lan] [PATCH iwl-next v3] i40e: Add Energy Efficient 
> Ethernet ability for X710 Base-T/KR/KX cards
>
> 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 <[email protected]>
> Signed-off-by: Aleksandr Loktionov <[email protected]>
> ---
> v2->v3 removed double space from code
> v1->v2 removed some not mandatory changes, some style improvements
> ---
>  drivers/net/ethernet/intel/i40e/i40e.h        |  1 +
>  .../net/ethernet/intel/i40e/i40e_ethtool.c    | 36 ++++++++++++++++---
>  drivers/net/ethernet/intel/i40e/i40e_main.c   | 23 ++++++++++--
>  3 files changed, 53 insertions(+), 7 deletions(-)
>

Tested-by: Pucha Himasekhar Reddy <[email protected]> (A 
Contingent worker at Intel)

Reply via email to