selftests/bpf: add offload test based on netdevsim
Add a test of BPF offload control path interfaces based on just-added netdevsim driver. Perform various checks of both the stack and the expected driver behaviour. Signed-off-by:Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by:
Simon Horman <simon.horman@netronome.com> Reviewed-by:
Quentin Monnet <quentin.monnet@netronome.com> Signed-off-by:
Daniel Borkmann <daniel@iogearbox.net>
Showing
- tools/testing/selftests/bpf/Makefile 3 additions, 2 deletionstools/testing/selftests/bpf/Makefile
- tools/testing/selftests/bpf/sample_ret0.c 7 additions, 0 deletionstools/testing/selftests/bpf/sample_ret0.c
- tools/testing/selftests/bpf/test_offload.py 681 additions, 0 deletionstools/testing/selftests/bpf/test_offload.py
tools/testing/selftests/bpf/sample_ret0.c
0 → 100644
tools/testing/selftests/bpf/test_offload.py
0 → 100755
This diff is collapsed.
Please register or sign in to comment