mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-25 16:11:45 +00:00
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>
This commit is contained in:
parent
b3d4f40562
commit
1feaf60ff2
1 changed files with 2 additions and 0 deletions
|
@ -65,6 +65,8 @@ static const struct igc_stats igc_gstrings_stats[] = {
|
|||
IGC_STAT("tx_hwtstamp_timeouts", tx_hwtstamp_timeouts),
|
||||
IGC_STAT("tx_hwtstamp_skipped", tx_hwtstamp_skipped),
|
||||
IGC_STAT("rx_hwtstamp_cleared", rx_hwtstamp_cleared),
|
||||
IGC_STAT("tx_lpi_counter", stats.tlpic),
|
||||
IGC_STAT("rx_lpi_counter", stats.rlpic),
|
||||
};
|
||||
|
||||
#define IGC_NETDEV_STAT(_net_stat) { \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue