Commit 6aabe91
selftests/bpf: Add selftests for meta
Add a bigger batch of test coverage to assert correct operation of
meta device and its BPF program management:
# ./vmtest.sh -- ./test_progs -t tc_meta
[...]
./test_progs -t tc_meta
[ 1.211407] bpf_testmod: loading out-of-tree module taints kernel.
[ 1.211805] bpf_testmod: module verification failed: signature and/or required key missing - tainting kernel
[ 1.271692] tsc: Refined TSC clocksource calibration: 3407.989 MHz
[ 1.274015] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x311fc9c9451, max_idle_ns: 440795361646 ns
[ 1.275241] clocksource: Switched to clocksource tsc
#255 tc_meta_basic:OK
#256 tc_meta_device:OK
#257 tc_meta_multi_links:OK
#258 tc_meta_multi_opts:OK
#259 tc_meta_neigh_links:OK
Summary: 5/0 PASSED, 0 SKIPPED, 0 FAILED
[...]
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>1 parent 6ca5924 commit 6aabe91
File tree
4 files changed
+668
-0
lines changed- tools/testing/selftests/bpf
- prog_tests
- progs
4 files changed
+668
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
7 | 11 | | |
8 | 12 | | |
9 | 13 | | |
| |||
0 commit comments