linux/tools/testing/selftests/drivers/net/lib/py
Daniel Borkmann 96fda937b4 selftests/net: Use public NetDrvContEnv API in nk_qlease fixtures
Expose the netkit host ifname as a public attribute nk_host_ifname
(symmetric with the already-public nk_guest_ifname), rename _attach_bpf
to a public attach_bpf, and add a public detach_bpf helper that
encapsulates the tc-filter teardown bookkeeping. Switch the fixtures
to this public API. No functional change and keeps pylint happy.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Bobby Eshleman <bobbyeshleman@meta.com>
Link: https://patch.msgid.link/20260614102607.863838-3-daniel@iogearbox.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-06-15 18:58:01 -07:00
..
__init__.py selftests: drv-net: add userns devmem RX test 2026-06-05 18:10:31 -07:00
env.py selftests/net: Use public NetDrvContEnv API in nk_qlease fixtures 2026-06-15 18:58:01 -07:00
load.py tools/selftests: Use a sensible timeout value for iperf3 client 2026-04-28 06:47:18 +02:00
remote_netns.py selftests: drv-net: define endpoint structures 2024-04-23 10:13:55 -07:00
remote_ssh.py selftests: drv-net: define endpoint structures 2024-04-23 10:13:55 -07:00
remote.py selftests: drv-net: define endpoint structures 2024-04-23 10:13:55 -07:00