diff options
author | Joe Damato <jdamato@fastly.com> | 2021-12-17 22:35:17 +0300 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2022-02-08 19:21:52 +0300 |
commit | 453f8305483851c20a41b66719d5acdc945541ca (patch) | |
tree | 4dbd2a692353c56cfa812bab0b22a05ad565bb6f /drivers/net/ethernet/intel/i40e/i40e_txrx.h | |
parent | b3936d27673c7cf071b458074acb803e910d5502 (diff) | |
download | linux-453f8305483851c20a41b66719d5acdc945541ca.tar.xz |
i40e: Add a stat tracking new RX page allocations
Add a counter for new page allocations in the i40e RX path. This stat is
accessible with 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_txrx.h')
-rw-r--r-- | drivers/net/ethernet/intel/i40e/i40e_txrx.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_txrx.h b/drivers/net/ethernet/intel/i40e/i40e_txrx.h index 88387a644cc3..13188dcf4e8e 100644 --- a/drivers/net/ethernet/intel/i40e/i40e_txrx.h +++ b/drivers/net/ethernet/intel/i40e/i40e_txrx.h @@ -298,6 +298,7 @@ struct i40e_rx_queue_stats { u64 alloc_page_failed; u64 alloc_buff_failed; u64 page_reuse_count; + u64 page_alloc_count; }; enum i40e_ring_state_t { |