summaryrefslogtreecommitdiffstats
path: root/drivers/net/Kconfig
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo@kernel.org>2023-04-22 20:54:33 +0200
committerJakub Kicinski <kuba@kernel.org>2023-04-25 03:07:08 +0200
commit4fc418053ec7b839d98533d0d4ee83e11ffbaf53 (patch)
tree1d1bd5bc7a4a680d6e19578e5c591167918507c9 /drivers/net/Kconfig
parentnet: veth: add page_pool for page recycling (diff)
downloadlinux-4fc418053ec7b839d98533d0d4ee83e11ffbaf53.tar.xz
linux-4fc418053ec7b839d98533d0d4ee83e11ffbaf53.zip
net: veth: add page_pool stats
Introduce page_pool stats support to report info about local page_pool through ethtool Tested-by: Maryam Tahhan <mtahhan@redhat.com> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/Kconfig')
-rw-r--r--drivers/net/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 368c6f5b327e..d0a1ed216d15 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -403,6 +403,7 @@ config TUN_VNET_CROSS_LE
config VETH
tristate "Virtual ethernet pair device"
select PAGE_POOL
+ select PAGE_POOL_STATS
help
This device is a local ethernet tunnel. Devices are created in pairs.
When one end receives the packet it appears on its pair and vice