Skip to content

Commit f5e2889

Browse files
bastien-curutchetAlexei Starovoitov
authored andcommitted
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) <[email protected]> Signed-off-by: Martin KaFai Lau <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
1 parent 8a6d047 commit f5e2889

File tree

3 files changed

+541
-478
lines changed

3 files changed

+541
-478
lines changed

tools/testing/selftests/bpf/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ TEST_GEN_PROGS += test_progs-cpuv4
9595
TEST_INST_SUBDIRS += cpuv4
9696
endif
9797

98-
TEST_GEN_FILES = test_lwt_ip_encap.bpf.o test_tc_edt.bpf.o
98+
TEST_GEN_FILES = test_tc_edt.bpf.o
9999
TEST_FILES = xsk_prereqs.sh $(wildcard progs/btf_dump_test_case_*.c)
100100

101101
# Order correspond to 'make run_tests' order
@@ -104,7 +104,6 @@ TEST_PROGS := test_kmod.sh \
104104
test_lirc_mode2.sh \
105105
test_xdp_vlan_mode_generic.sh \
106106
test_xdp_vlan_mode_native.sh \
107-
test_lwt_ip_encap.sh \
108107
test_tc_tunnel.sh \
109108
test_tc_edt.sh \
110109
test_xdping.sh \

0 commit comments

Comments
 (0)