From: Sasha Neftin <sasha.neftin@intel.com>
Add new fields in structure to indicate if EEE LPI entries have been
observed on Tx and Rx path.
Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
---
drivers/net/intel/e1000/base/e1000_hw.h | 2 ++
drivers/net/intel/e1000/base/e1000_mac.c | 2 ++
2 files changed, 4 insertions(+)
@@ -645,6 +645,8 @@ struct e1000_hw_stats {
u64 o2bspc;
u64 b2ospc;
u64 b2ogprc;
+ u64 tlpic;
+ u64 rlpic;
};
struct e1000_vf_stats {
@@ -670,6 +670,8 @@ void e1000_clear_hw_cntrs_base_generic(struct e1000_hw *hw)
E1000_READ_REG(hw, E1000_TPT);
E1000_READ_REG(hw, E1000_MPTC);
E1000_READ_REG(hw, E1000_BPTC);
+ E1000_READ_REG(hw, E1000_TLPIC);
+ E1000_READ_REG(hw, E1000_RLPIC);
}
/**