Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
selftests/bpf: Add mprog API tests for BPF tcx opts
Add a big batch of test coverage to assert all aspects of the tcx opts attach, detach and query API: # ./vmtest.sh -- ./test_progs -t tc_opts [...] + /etc/rcS.d/S50-startup ./test_progs -t tc_opts [ 11.645647] bpf_testmod: loading out-of-tree module taints kernel. [ 11.647546] bpf_testmod: module verification failed: signature and/or required key missing - tainting kernel [ 11.710400] tsc: Refined TSC clocksource calibration: 3407.988 MHz [ 11.712352] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x311fc932722, max_idle_ns: 440795381586 ns [ 11.715657] clocksource: Switched to clocksource tsc torvalds#237 tc_opts_after:OK torvalds#238 tc_opts_append:OK torvalds#239 tc_opts_basic:OK torvalds#240 tc_opts_before:OK torvalds#241 tc_opts_both:OK torvalds#242 tc_opts_chain_classic:OK torvalds#243 tc_opts_dev_cleanup:OK torvalds#244 tc_opts_first:OK torvalds#245 tc_opts_invalid:OK torvalds#246 tc_opts_last:OK torvalds#247 tc_opts_mixed:OK torvalds#248 tc_opts_prepend:OK torvalds#249 tc_opts_replace:OK torvalds#250 tc_opts_revision:OK Summary: 14/0 PASSED, 0 SKIPPED, 0 FAILED Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
- Loading branch information