[PATCH 7.1.y 0/4] selftests: Fixes for BPF

From: Ricardo B. Marlière (SUSE)

Date: Thu Aug 13 2026 - 18:00:58 EST


Hi,

Please consider merging the following patches, found through openSUSE CI.

[1/4] and [2/4] are for test_xsk.sh:

https://openqa.opensuse.org/tests/6159071/logfile?filename=test_xsk_sh.tap.txt

and also test_progs (subtest ns_xsk_skb):

https://openqa.opensuse.org/tests/6159071/logfile?filename=test_progs.tap.txt#line-3186

[3/4] and [4/4] are for test_progs (subtests sockmap_basic and
sockmap_listen):

https://openqa.opensuse.org/tests/6159071/logfile?filename=test_progs.tap.txt#line-4034
https://openqa.opensuse.org/tests/6159071/logfile?filename=test_progs.tap.txt#line-4212

Signed-off-by: Ricardo B. Marlière (SUSE) <ricardo@xxxxxxxxxxxx>
---
Maciej Fijalkowski (2):
selftests/xsk: fix too-many-frags multi-buffer Tx test
selftests/xsk: account reclaimed invalid Tx descriptors

Michal Luczaj (2):
selftests/bpf: Ensure UDP sockets are bound
selftests/bpf: Adapt sockmap update error handling

.../selftests/bpf/prog_tests/sockmap_basic.c | 6 +--
.../selftests/bpf/prog_tests/sockmap_listen.c | 21 ++++-----
tools/testing/selftests/bpf/prog_tests/test_xsk.c | 50 +++++++++++++---------
3 files changed, 43 insertions(+), 34 deletions(-)
---
base-commit: e2466b32e02a49318b99520c40b397062c65c84c
change-id: 20260813-7-1-y-selftests-bpf-udp_xsk-04c781561aeb

Best regards,
--
Ricardo B. Marlière (SUSE) <ricardo@xxxxxxxxxxxx>