selftests/bpf: run flow dissector tests in skb-less mode
Export last_dissection map from flow dissector and use a known place in tun driver to trigger BPF flow dissection. Signed-off-by:Stanislav Fomichev <sdf@google.com> Signed-off-by:
Daniel Borkmann <daniel@iogearbox.net>
Showing
- tools/testing/selftests/bpf/flow_dissector_load.c 1 addition, 1 deletiontools/testing/selftests/bpf/flow_dissector_load.c
- tools/testing/selftests/bpf/flow_dissector_load.h 14 additions, 2 deletionstools/testing/selftests/bpf/flow_dissector_load.h
- tools/testing/selftests/bpf/prog_tests/flow_dissector.c 100 additions, 2 deletionstools/testing/selftests/bpf/prog_tests/flow_dissector.c
- tools/testing/selftests/bpf/progs/bpf_flow.c 50 additions, 29 deletionstools/testing/selftests/bpf/progs/bpf_flow.c
Loading
Please register or sign in to comment