> -----Original Message----- > From: Intel-wired-lan <intel-wired-lan-boun...@osuosl.org> On Behalf Of > Aleksandr Loktionov > Sent: Monday, August 19, 2024 2:58 PM > To: intel-wired-...@lists.osuosl.org; Nguyen, Anthony L > <anthony.l.ngu...@intel.com>; Loktionov, Aleksandr > <aleksandr.loktio...@intel.com> > Cc: net...@vger.kernel.org; Kubalewski, Arkadiusz > <arkadiusz.kubalew...@intel.com> > 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 <arkadiusz.kubalew...@intel.com> > Signed-off-by: Aleksandr Loktionov <aleksandr.loktio...@intel.com> > --- > 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 <himasekharx.reddy.pu...@intel.com> (A Contingent worker at Intel)