]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests/net: Make NetDrvContEnv support queue leasing
authorDavid Wei <dw@davidwei.uk>
Thu, 15 Jan 2026 08:26:02 +0000 (09:26 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 20 Jan 2026 10:58:50 +0000 (11:58 +0100)
commitab771c938d9a57d510bb70c565c9388b10494090
tree3c4cb121dfd0380910f09b068aa8fc037357fb10
parent6be87fbb27763c2999e1c69bbec1f3a63cf05422
selftests/net: Make NetDrvContEnv support queue leasing

Add a new parameter `lease` to NetDrvContEnv that sets up queue leasing
in the env.

The NETIF also has some ethtool parameters changed to support memory
provider tests. This is needed in NetDrvContEnv rather than individual
test cases since the cleanup to restore NETIF can't be done, until the
netns in the env is gone.

Signed-off-by: David Wei <dw@davidwei.uk>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>
Link: https://patch.msgid.link/20260115082603.219152-16-daniel@iogearbox.net
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
tools/testing/selftests/drivers/net/lib/py/env.py