aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/bpf_util.h
diff options
context:
space:
mode:
authorStanislav Fomichev <sdf@google.com>2019-04-12 16:43:10 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2019-04-16 10:21:12 +0200
commita5cb33464e53482ecc645b4b7703f5b6d151095f (patch)
tree28b8b267cd408da8d001b1edca8aa25da19398d8 /tools/testing/selftests/bpf/bpf_util.h
parentselftests/bpf: two scale tests (diff)
downloadlinux-dev-a5cb33464e53482ecc645b4b7703f5b6d151095f.tar.xz
linux-dev-a5cb33464e53482ecc645b4b7703f5b6d151095f.zip
selftests/bpf: make flow dissector tests more extensible
Rewrite selftest to iterate over an array with input packet and expected flow_keys. This should make it easier to extend this test with additional cases without too much boilerplate. Signed-off-by: Stanislav Fomichev <sdf@google.com> Acked-by: Song Liu <songliubraving@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/testing/selftests/bpf/bpf_util.h')
0 files changed, 0 insertions, 0 deletions