]> git.baikalelectronics.ru Git - kernel.git/commit
igc: Expose LPI counters
authorSasha Neftin <sasha.neftin@intel.com>
Wed, 24 Mar 2021 13:15:25 +0000 (15:15 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Fri, 16 Apr 2021 20:15:45 +0000 (13:15 -0700)
commit7dbdb260af0c448f9741e6729b064f66ba71a239
tree76a9a06ea6cf5cfdc16aed9d1974716d72c0753b
parentc4e210c30b6d748459c6b8cd5be24a0819507857
igc: Expose LPI counters

Expose EEE Tx and Rx low power idle counters via ethtool
A EEE TX or RX LPI event occurs when the transmitter or the receiver
enters EEE (IEEE802.3az) LPI state.
ethtool --statistics <iface>

Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Dvora Fuxbrumer <dvorax.fuxbrumer@linux.intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/igc/igc_ethtool.c