Subject: Re: [PATCH net-next v3 4/5] selftests: net: move common xdp.py functions into lib

From: Joe Damato <[email-masked]>
Date: Mon, 9 Mar 2026 17:54:39 -0700

On Fri, Mar 06, 2026 at 05:00:19PM -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 <[email-masked]>
> ---
>  .../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

Looks unchanged from the v2?

Reviewed-by: Joe Damato <[email-masked]>