diff options
| author | Joe Damato <[email protected]> | 2021-12-17 19:35:19 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2022-02-08 16:21:52 +0000 |
| commit | b76bc129839d65fa8dbeefd3581dacd54596706f (patch) | |
| tree | ab43e9b8d151e8b35daa2ca8b9b1297fee7f0e2b /drivers/net/ethernet/intel/i40e/i40e.h | |
| parent | i40e: Add a stat for tracking pages waived (diff) | |
| download | kernel-b76bc129839d65fa8dbeefd3581dacd54596706f.tar.gz kernel-b76bc129839d65fa8dbeefd3581dacd54596706f.zip | |
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 <[email protected]>
Tested-by: Dave Switzer <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e.h')
| -rw-r--r-- | drivers/net/ethernet/intel/i40e/i40e.h | 1 |
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; |
