summaryrefslogtreecommitdiffstats
path: root/net/xdp
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2020-10-11 01:40:05 +0200
committerAlexei Starovoitov <ast@kernel.org>2020-10-11 10:21:04 -0700
commit57a73fe7c1988ae726de23ee7c3c49ca82221751 (patch)
treee325023ab6e74e832f602e330cee75f463f3ec7f /net/xdp
parent6775dab73bdc17df0f19d9f9d7470dc54536a909 (diff)
downloadlinux-57a73fe7c1988ae726de23ee7c3c49ca82221751.tar.bz2
bpf, selftests: Make redirect_neigh test more extensible
Rename into test_tc_redirect.sh and move setup and test code into separate functions so they can be reused for newly added tests in here. Also remove the crude hack to override ifindex inside the object file via xxd and sed and just use a simple map instead. Map given iproute2 does not support BTF fully and therefore neither global data at this point. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Yonghong Song <yhs@fb.com> Link: https://lore.kernel.org/bpf/20201010234006.7075-6-daniel@iogearbox.net
Diffstat (limited to 'net/xdp')
0 files changed, 0 insertions, 0 deletions