[dpdk-dev] [PATCH 66/70] net/e1000/base: add LPI counters

Guinan Sun guinanx.sun at intel.com
Mon Jun 22 08:46:30 CEST 2020


A new defines is added to indicate if EEE LPI entries
has been observed on Tx and Rx path.

Signed-off-by: Sasha Neftin <sasha.neftin at intel.com>
Signed-off-by: Guinan Sun <guinanx.sun at intel.com>
---
 drivers/net/e1000/base/e1000_hw.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/e1000/base/e1000_hw.h b/drivers/net/e1000/base/e1000_hw.h
index f9fd90e61..cf6b55172 100644
--- a/drivers/net/e1000/base/e1000_hw.h
+++ b/drivers/net/e1000/base/e1000_hw.h
@@ -605,6 +605,8 @@ struct e1000_hw_stats {
 	u64 o2bspc;
 	u64 b2ospc;
 	u64 b2ogprc;
+	u64 tlpic;
+	u64 rlpic;
 };
 
 struct e1000_vf_stats {
-- 
2.17.1



More information about the dev mailing list