[Devel] [PATCH hci-8.1 v2 0/1] selftests/bpf: run the xsk veth tests in a network namespace of their own
Eva Kurchatova
eva.kurchatova at virtuozzo.com
Thu Oct 22 05:47:46 MSK 2026
Changes in v2:
- -f is checked as the sysctl is, 1 to 45 and digits only, so a value
that would wrap the fragment count or the packet array is refused.
- -f goes into the namespace only when the host's sysctl file could be
read; a bare -f made getopts complain.
- No network namespace skips the tests, as no veth support does, rather
than failing them.
- The -f description says the option tells the tests the kernel's limit
and changes nothing in the kernel.
- The -d hint names the namespace in a usable form.
- test_exit() exits 1 for a skip as it does for the veth one; as the
script has it.
Link to v1: http://lore.virtuozzo.com/kernel/20261020041218.1659392-1-eva.kurchatova@virtuozzo.com/T/#t
Eva Kurchatova (1):
selftests/bpf: run the xsk veth tests in a network namespace of their
own
tools/testing/selftests/bpf/test_xsk.sh | 32 ++++++++++++++++++++++--
tools/testing/selftests/bpf/xskxceiver.c | 17 +++++++++++--
2 files changed, 45 insertions(+), 4 deletions(-)
--
2.56.0
More information about the Devel
mailing list