]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: net: move common xdp.py functions into lib
authorChris J Arges <carges@cloudflare.com>
Wed, 25 Mar 2026 20:09:51 +0000 (15:09 -0500)
committerJakub Kicinski <kuba@kernel.org>
Sun, 29 Mar 2026 21:09:08 +0000 (14:09 -0700)
commit4ce06406958b67fdddcc2e6948237dd6ff6ba112
tree5537be3601f8393ca361af5db1c00d5b09c2a338
parent5ec22d5f2afcf2f9d7d631dcc2f848dda64a4933
selftests: net: move common xdp.py functions into lib

This moves a few functions which can be useful to other python programs
that manipulate XDP programs. This also refactors xdp.py to use the
refactored functions.

Signed-off-by: Chris J Arges <carges@cloudflare.com>
Link: https://patch.msgid.link/20260325201139.2501937-6-carges@cloudflare.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/drivers/net/lib/py/__init__.py
tools/testing/selftests/drivers/net/xdp.py
tools/testing/selftests/net/lib/py/__init__.py
tools/testing/selftests/net/lib/py/bpf.py [new file with mode: 0644]