On Mon, Aug 19, 2024 at 11:27:56AM +0200, 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> > --- > v2->v3 removed double space from code > v1->v2 removed some not mandatory changes, some style improvements
Thanks for the updates. Reviewed-by: Simon Horman <ho...@kernel.org>