summaryrefslogtreecommitdiffstats
path: root/net/xdp/xdp_umem.c
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2019-01-29 01:08:30 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2019-01-29 01:08:30 +0100
commit3d2af27a84a8474e510f5d8362303bfbee946308 (patch)
tree964378787263e9b18cd77026a95edb3a304f7aff /net/xdp/xdp_umem.c
parenttools: bpftool: warn about risky prog array updates (diff)
parentselftests/bpf: add simple BPF_PROG_TEST_RUN examples for flow dissector (diff)
downloadlinux-3d2af27a84a8474e510f5d8362303bfbee946308.tar.xz
linux-3d2af27a84a8474e510f5d8362303bfbee946308.zip
Merge branch 'bpf-flow-dissector-tests'
Stanislav Fomichev says: ==================== This patch series adds support for testing flow dissector BPF programs by extending already existing BPF_PROG_TEST_RUN. The goal is to have a packet as an input and `struct bpf_flow_key' as an output. That way we can easily test flow dissector programs' behavior. I've also modified existing test_progs.c test to do a simple flow dissector run as well. * first patch introduces new __skb_flow_bpf_dissect to simplify sharing between __skb_flow_bpf_dissect and BPF_PROG_TEST_RUN * second patch adds actual BPF_PROG_TEST_RUN support * third patch adds example usage to the selftests v3: * rebased on top of latest bpf-next v2: * loop over 'kattr->test.repeat' inside of bpf_prog_test_run_flow_dissector, don't reuse bpf_test_run/bpf_test_run_one ==================== Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'net/xdp/xdp_umem.c')
0 files changed, 0 insertions, 0 deletions