]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Adjust BPF selftest for xdp_adjust_tail
authorJesper Dangaard Brouer <brouer@redhat.com>
Thu, 14 May 2020 10:51:40 +0000 (12:51 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 15 May 2020 04:21:57 +0000 (21:21 -0700)
commitfcd7240694966cd1eaccde7d777f70029191d5ef
tree56bbe494fecdc792da57cc1e402957f64b245d81
parentbdff7bcb80da6e37e4fa216e97737d23aaafc856
selftests/bpf: Adjust BPF selftest for xdp_adjust_tail

Current selftest for BPF-helper xdp_adjust_tail only shrink tail.
Make it more clear that this is a shrink test case.

Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/158945350058.97035.17280775016196207372.stgit@firesoul
tools/testing/selftests/bpf/prog_tests/xdp_adjust_tail.c
tools/testing/selftests/bpf/progs/test_adjust_tail.c [deleted file]
tools/testing/selftests/bpf/progs/test_xdp_adjust_tail_shrink.c [new file with mode: 0644]