aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorJoe Damato <[email protected]>2021-12-17 19:35:18 +0000
committerTony Nguyen <[email protected]>2022-02-08 16:21:52 +0000
commitcb963b989755ed49f002b7b7c8c7a9c744e21bb0 (patch)
treecbe8a1d8b09ee7c09fcf066cc8a1f4dfdee918f3 /net/switchdev/switchdev.c
parenti40e: Add a stat tracking new RX page allocations (diff)
downloadkernel-cb963b989755ed49f002b7b7c8c7a9c744e21bb0.tar.gz
kernel-cb963b989755ed49f002b7b7c8c7a9c744e21bb0.zip
i40e: Add a stat for tracking pages waived
In some cases, pages can not be reused because they are not associated with the correct NUMA zone. Knowing how often pages are waived helps users to understand the interaction between the driver's memory usage and their system. Pass rx_stats through to i40e_can_reuse_rx_page to allow tracking when pages are waived. The page waive 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 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions