]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/bpf: Migrate test_xdp_redirect.c to test_xdp_do_redirect.c
authorBastien Curutchet (eBPF Foundation) <bastien.curutchet@bootlin.com>
Fri, 10 Jan 2025 09:21:11 +0000 (10:21 +0100)
committerMartin KaFai Lau <martin.lau@kernel.org>
Sat, 11 Jan 2025 01:29:05 +0000 (17:29 -0800)
commit3e99fa9fab1951400599cf67abb11a9c90564e48
tree27c306ed77057f6a9e5dbb7726a2c92c63c76804
parenta94df601091ffcee576925973b51ce8838851d26
selftests/bpf: Migrate test_xdp_redirect.c to test_xdp_do_redirect.c

prog_tests/xdp_do_redirect.c is the only user of the BPF programs
located in progs/test_xdp_do_redirect.c and progs/test_xdp_redirect.c.
There is no need to keep both files with such close names.

Move test_xdp_redirect.c contents to test_xdp_do_redirect.c and remove
progs/test_xdp_redirect.c

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/20250110-xdp_redirect-v2-3-b8f3ae53e894@bootlin.com
tools/testing/selftests/bpf/prog_tests/xdp_do_redirect.c
tools/testing/selftests/bpf/progs/test_xdp_do_redirect.c
tools/testing/selftests/bpf/progs/test_xdp_redirect.c [deleted file]