summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/i40e/i40e.h
diff options
context:
space:
mode:
authorAnjali Singhai Jain <anjali.singhai@intel.com>2014-07-09 07:46:23 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2014-08-27 00:00:54 -0700
commit60793f4ab541f9c279f823e42dc8053341cc7547 (patch)
tree6fc2b039043f46ebda0ed29190ca94e3f3d5ac9a /drivers/net/ethernet/intel/i40e/i40e.h
parent1e1be8f622ee3d01acdbf5f4e00fbdd53ff950c9 (diff)
downloadblackbird-op-linux-60793f4ab541f9c279f823e42dc8053341cc7547.tar.gz
blackbird-op-linux-60793f4ab541f9c279f823e42dc8053341cc7547.zip
i40e: Add a FD flush counter to ethtool
This helps know how many times the interface had to flush and replay FD filter table, which gives an indication on how often we are getting FD table full situation. Also check on certain pf states before proceeding to add or delete filters since we can't add or delete filters if we are in those states. Change-ID: I97f5bbbea7146833ea61af0e08ea794fccba1780 Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.com> Tested-by: Jim Young <jamesx.m.young@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e.h')
-rw-r--r--drivers/net/ethernet/intel/i40e/i40e.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e.h b/drivers/net/ethernet/intel/i40e/i40e.h
index 0c6a9b97f7e2..85269509f420 100644
--- a/drivers/net/ethernet/intel/i40e/i40e.h
+++ b/drivers/net/ethernet/intel/i40e/i40e.h
@@ -252,6 +252,7 @@ struct i40e_pf {
u16 fd_sb_cnt_idx;
u16 fd_atr_cnt_idx;
unsigned long fd_flush_timestamp;
+ u32 fd_flush_cnt;
u32 fd_add_err;
u32 fd_atr_cnt;
u32 fd_tcp_rule;
OpenPOWER on IntegriCloud