Re: [PATCH bpf-next v2 2/2] selftests/bpf: drop xdping tool
From: Paul Chaignon
Date: Wed Apr 22 2026 - 17:53:18 EST
On Wed, Apr 22, 2026 at 06:20:25PM +0200, Alexis Lothoré (eBPF Foundation) wrote:
> As part of a larger cleanup effort in the bpf selftests directory,
> tests and scripts are either being converted to the test_progs framework
> (so they are executed automatically in bpf CI), or removed if not
> relevant for such integration.
>
> The test_xdping.sh script (with the associated xdping.c) acts as a RTT
> measurement tool, by attaching two small xdp programs to two interfaces.
> Converting this test to test_progs may not make much sense:
> - RTT measurement does not really fit in the scope of a functional test,
> this is rather about measuring some performance level.
> - there are other existing tests in test_progs that actively validate
> XDP features like program attachment, return value processing, packet
> modification, etc
>
> Drop test_xdping.sh, the corresponding xdping.c userspace part, the
> xdping_kern.c program, and the shared header, xdping.h
>
> Signed-off-by: Alexis Lothoré (eBPF Foundation) <alexis.lothore@xxxxxxxxxxx>
> Reviewed-by: Alan Maguire <alan.maguire@xxxxxxxxxx>
Acked-by: Paul Chaignon <paul.chaignon@xxxxxxxxx>
> ---
> tools/testing/selftests/bpf/.gitignore | 1 -
> tools/testing/selftests/bpf/Makefile | 3 -
> tools/testing/selftests/bpf/progs/xdping_kern.c | 183 -----------------
> tools/testing/selftests/bpf/test_xdping.sh | 103 ----------
> tools/testing/selftests/bpf/xdping.c | 254 ------------------------
> tools/testing/selftests/bpf/xdping.h | 13 --
> 6 files changed, 557 deletions(-)
>
[...]