]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/bpf: Migrate test_xdp_vlan.sh into test_progs
authorBastien Curutchet (eBPF Foundation) <bastien.curutchet@bootlin.com>
Fri, 21 Feb 2025 10:04:58 +0000 (11:04 +0100)
committerMartin KaFai Lau <martin.lau@kernel.org>
Wed, 19 Mar 2025 23:01:33 +0000 (16:01 -0700)
commitf8df95e84cc894473cc769b0aea634caa073db64
tree8b38c463857547e780558e83ebb16cf9e0719173
parent0f9ff4cb687d014fba2a59a6f182e855a9a721ad
selftests/bpf: Migrate test_xdp_vlan.sh into test_progs

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

Migrate test_xdp_vlan.sh in prog_tests/xdp_vlan.c.
It uses the same BPF programs located in progs/test_xdp_vlan.c and the
same network topology.
Remove test_xdp_vlan*.sh and their Makefile entries.

Acked-by: Stanislav Fomichev <sdf@fomichev.me>
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/20250221-xdp_vlan-v1-2-7d29847169af@bootlin.com/
tools/testing/selftests/bpf/Makefile
tools/testing/selftests/bpf/prog_tests/xdp_vlan.c [new file with mode: 0644]
tools/testing/selftests/bpf/test_xdp_vlan.sh [deleted file]
tools/testing/selftests/bpf/test_xdp_vlan_mode_generic.sh [deleted file]
tools/testing/selftests/bpf/test_xdp_vlan_mode_native.sh [deleted file]