summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/i40e/i40e.h
diff options
context:
space:
mode:
authorJoe Damato <jdamato@fastly.com>2021-12-17 22:35:19 +0300
committerTony Nguyen <anthony.l.nguyen@intel.com>2022-02-08 19:21:52 +0300
commitb76bc129839d65fa8dbeefd3581dacd54596706f (patch)
treeab43e9b8d151e8b35daa2ca8b9b1297fee7f0e2b /drivers/net/ethernet/intel/i40e/i40e.h
parentcb963b989755ed49f002b7b7c8c7a9c744e21bb0 (diff)
downloadlinux-b76bc129839d65fa8dbeefd3581dacd54596706f.tar.xz
i40e: Add a stat for tracking busy rx pages
In some cases, pages cannot be reused by i40e because the page is busy. Add a counter for this event. Busy page count is accessible via ethtool. Signed-off-by: Joe Damato <jdamato@fastly.com> Tested-by: Dave Switzer <david.switzer@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@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 d2e71db65fb4..55c6bce5da61 100644
--- a/drivers/net/ethernet/intel/i40e/i40e.h
+++ b/drivers/net/ethernet/intel/i40e/i40e.h
@@ -857,6 +857,7 @@ struct i40e_vsi {
u64 rx_page_reuse;
u64 rx_page_alloc;
u64 rx_page_waive;
+ u64 rx_page_busy;
/* These are containers of ring pointers, allocated at run-time */
struct i40e_ring **rx_rings;