]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
selftests/bpf: Move test_lwt_ip_encap to test_progs
authorBastien Curutchet (eBPF Foundation) <bastien.curutchet@bootlin.com>
Tue, 4 Mar 2025 09:24:51 +0000 (10:24 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 15 Mar 2025 18:48:57 +0000 (11:48 -0700)
commitf5e288943e2cfc3ec4264e7192b389f7114139c6
tree326c8c6eb1b6cd4f13325eb9346dca293c957edd
parent8a6d047c8d19809c60e94661288546636ab66c42
selftests/bpf: Move test_lwt_ip_encap to test_progs

test_lwt_ip_encap.sh isn't used by the BPF CI.

Add a new file in the test_progs framework to migrate the tests done by
test_lwt_ip_encap.sh. It uses the same network topology and the same BPF
programs located in progs/test_lwt_ip_encap.c.
Rework the GSO part to avoid using nc and dd.

Remove test_lwt_ip_encap.sh and its Makefile entry.

Signed-off-by: Bastien Curutchet (eBPF Foundation) <bastien.curutchet@bootlin.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://patch.msgid.link/20250304-lwt_ip-v1-1-8fdeb9e79a56@bootlin.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/Makefile
tools/testing/selftests/bpf/prog_tests/lwt_ip_encap.c [new file with mode: 0644]
tools/testing/selftests/bpf/test_lwt_ip_encap.sh [deleted file]