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 links
Add a big batch of test coverage to assert all aspects of the tcx link API: # ./vmtest.sh -- ./test_progs -t tc_links [...] [ 1.502538] tsc: Refined TSC clocksource calibration: 3407.991 MHz [ 1.504587] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x311fcb8dbdf, max_idle_ns: 440795301826 ns [ 1.508840] clocksource: Switched to clocksource tsc [ 1.549432] bpf_testmod: loading out-of-tree module taints kernel. [ 1.551297] bpf_testmod: module verification failed: signature and/or required key missing - tainting kernel torvalds#224 tc_links_after:OK torvalds#225 tc_links_append:OK torvalds#226 tc_links_basic:OK torvalds#227 tc_links_before:OK torvalds#228 tc_links_both:OK torvalds#229 tc_links_chain_classic:OK torvalds#230 tc_links_dev_cleanup:OK torvalds#231 tc_links_first:OK torvalds#232 tc_links_invalid:OK torvalds#233 tc_links_last:OK torvalds#234 tc_links_prepend:OK torvalds#235 tc_links_replace:OK torvalds#236 tc_links_revision:OK Summary: 13/0 PASSED, 0 SKIPPED, 0 FAILED Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
- Loading branch information