i40e: Add a stat for tracking busy rx pages
authorJoe Damato <jdamato@fastly.com>
Fri, 17 Dec 2021 19:35:19 +0000 (11:35 -0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 8 Feb 2022 16:21:52 +0000 (08:21 -0800)
commitb76bc129839d65fa8dbeefd3581dacd54596706f
treeab43e9b8d151e8b35daa2ca8b9b1297fee7f0e2b
parentcb963b989755ed49f002b7b7c8c7a9c744e21bb0
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>
drivers/net/ethernet/intel/i40e/i40e.h
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
drivers/net/ethernet/intel/i40e/i40e_main.c
drivers/net/ethernet/intel/i40e/i40e_txrx.c
drivers/net/ethernet/intel/i40e/i40e_txrx.h