]> git.baikalelectronics.ru Git - kernel.git/commit
igc: Expose LPI counters
authorSasha Neftin <sasha.neftin@intel.com>
Thu, 13 Aug 2020 15:18:15 +0000 (18:18 +0300)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Mon, 28 Sep 2020 21:42:45 +0000 (14:42 -0700)
commitcd2b44d76335ea9f06647f0b4c6d2560e60fd19c
tree2027bfd90a9e8e0e34c2da75c36bda9358b52607
parent63aa2a7389967f21875ab07ef49bbaef603d5933
igc: Expose LPI counters

Completion to commit 4bec24658927 ("igc: Add LPI counters")
LPI counters exposed by statistics update method.
A EEE TX LPI counter reflect the transmitter entries EEE (IEEE 802.3az)
into the LPI state. A EEE RX LPI counter reflect the receiver link
partner entries into EEE(IEEE 802.3az) LPI state.

Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/igc/igc_ethtool.c
drivers/net/ethernet/intel/igc/igc_hw.h
drivers/net/ethernet/intel/igc/igc_main.c