i40e: Aggregate and export RX page reuse stat
authorJoe Damato <jdamato@fastly.com>
Fri, 17 Dec 2021 19:35:16 +0000 (11:35 -0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 8 Feb 2022 16:21:52 +0000 (08:21 -0800)
commitb3936d27673c7cf071b458074acb803e910d5502
treeb59826a1780764f728b684a21115930f579a3ace
parent89bb09837b9719d54670420aa2edc9cf442194a8
i40e: Aggregate and export RX page reuse stat

rx page reuse was already being tracked by the i40e driver per RX ring.
Aggregate the counts and make them 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