aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/lib/py/nsim.py
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2024-04-12 07:14:31 -0700
committerJakub Kicinski <kuba@kernel.org>2024-04-15 11:21:11 -0700
commit1580cbcbfe770b0a7fb76735c1a601483335c1c2 (patch)
tree10374401f6591dde5da470dd045334792bc103a4 /tools/testing/selftests/net/lib/py/nsim.py
parent77c842caa772044db9f8517a03d33df779f9517c (diff)
downloadlinux-1580cbcbfe770b0a7fb76735c1a601483335c1c2.tar.gz
linux-1580cbcbfe770b0a7fb76735c1a601483335c1c2.tar.bz2
linux-1580cbcbfe770b0a7fb76735c1a601483335c1c2.zip
net: netdevsim: add some fake page pool use
Add very basic page pool use so that we can exercise the netlink uAPI in a selftest. Page pool gets created on open, destroyed on close. But we control allocating of a single page thru debugfs. This page may survive past the page pool itself so that we can test orphaned page pools. Link: https://lore.kernel.org/r/20240412141436.828666-2-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/nsim.py')
0 files changed, 0 insertions, 0 deletions