]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/bpf: Migrate test_xdp_meta.sh into xdp_context_test_run.c
authorBastien Curutchet <bastien.curutchet@bootlin.com>
Fri, 13 Dec 2024 15:06:21 +0000 (16:06 +0100)
committerMartin KaFai Lau <martin.lau@kernel.org>
Mon, 16 Dec 2024 21:43:01 +0000 (13:43 -0800)
commitdf539cefb0abbd16be9fbcc6ec46a5a35495800f
tree9273700d25657dac11f53305b8f89cb7f412e4cc
parent8dccbecbb9692a96cf477eb826352a7c556a31e2
selftests/bpf: Migrate test_xdp_meta.sh into xdp_context_test_run.c

test_xdp_meta.sh can't be used by the BPF CI.

Migrate test_xdp_meta.sh in a new test case in xdp_context_test_run.c.
It uses the same BPF programs located in progs/test_xdp_meta.c and the
same network topology.
Remove test_xdp_meta.sh and its Makefile entry.

Signed-off-by: Bastien Curutchet <bastien.curutchet@bootlin.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://patch.msgid.link/20241213-xdp_meta-v2-2-634582725b90@bootlin.com
tools/testing/selftests/bpf/Makefile
tools/testing/selftests/bpf/prog_tests/xdp_context_test_run.c
tools/testing/selftests/bpf/test_xdp_meta.sh [deleted file]