selftests/bpf: add test for mixing generic and offload XDP
authorJakub Kicinski <jakub.kicinski@netronome.com>
Wed, 6 Feb 2019 04:03:23 +0000 (20:03 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 6 Feb 2019 14:35:42 +0000 (15:35 +0100)
commit06ea9e63cd2307213652496df089cc950f9aacc6
tree147b3f9ffac2119d49d18f624379210ae3b0963f
parentd7f356380241ad5d34756eb551fffcf351ac969b
selftests/bpf: add test for mixing generic and offload XDP

Add simple sanity check for enabling generic and offload
XDP, simply reuse the native and offload checks.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/test_offload.py