]> 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)
commitb89cc634450a6d902084630ce984a7c7632ce2bf
tree2027bfd90a9e8e0e34c2da75c36bda9358b52607
parent980cf98473b9d40996cbd07826c515b3bc306c66
igc: Expose LPI counters

Completion to commit 36bc110322b1 ("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