]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit40edc73469a17d247a79034acb07ec280fda6494
tree2027bfd90a9e8e0e34c2da75c36bda9358b52607
parentef8a17a2a42a16e7f2d9b2dcd6726527fe76fe4a
igc: Expose LPI counters

Completion to commit 900d1e8b346b ("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