Thread (18 messages) flat view 18 messages, 4 authors, 2026-03-05

Re: [PATCH net-next v2 3/4] selftests: net: move common xdp.py functions into lib

From: Joe Damato <hidden>
Date: 2026-03-03 18:48:10
Also in: bpf, linux-kselftest, lkml

On Mon, Mar 02, 2026 at 08:43:51PM -0600, Chris J Arges wrote:
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 <redacted>
---
 .../selftests/drivers/net/lib/py/__init__.py  |  2 +
 tools/testing/selftests/drivers/net/xdp.py    | 95 +++++--------------
 .../testing/selftests/net/lib/py/__init__.py  |  2 +
 tools/testing/selftests/net/lib/py/bpf.py     | 68 +++++++++++++
 4 files changed, 95 insertions(+), 72 deletions(-)
 create mode 100644 tools/testing/selftests/net/lib/py/bpf.py
Took a quick look and it didn't seem like anything changed in this patch from
the last revision I reviewed:

Reviewed-by: Joe Damato <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help