Commit 058268e
committed
selftests/bpf: Extend netkit tests to validate set {head,tail}room
Extend the netkit selftests to specify and validate the {head,tail}room
on the netdevice:
# ./vmtest.sh -- ./test_progs -t netkit
[...]
./test_progs -t netkit
[ 1.174147] bpf_testmod: loading out-of-tree module taints kernel.
[ 1.174585] bpf_testmod: module verification failed: signature and/or required key missing - tainting kernel
[ 1.422307] tsc: Refined TSC clocksource calibration: 3407.983 MHz
[ 1.424511] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x311fc3e5084, max_idle_ns: 440795359833 ns
[ 1.428092] clocksource: Switched to clocksource tsc
torvalds#363 tc_netkit_basic:OK
torvalds#364 tc_netkit_device:OK
torvalds#365 tc_netkit_multi_links:OK
torvalds#366 tc_netkit_multi_opts:OK
torvalds#367 tc_netkit_neigh_links:OK
torvalds#368 tc_netkit_pkt_type:OK
torvalds#369 tc_netkit_scrub:OK
Summary: 7/0 PASSED, 0 SKIPPED, 0 FAILED
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Nikolay Aleksandrov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]1 parent cc529a3 commit 058268e
File tree
2 files changed
+46
-18
lines changed- tools/testing/selftests/bpf
- prog_tests
- progs
2 files changed
+46
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
21 | 27 | | |
22 | 28 | | |
23 | 29 | | |
| |||
35 | 41 | | |
36 | 42 | | |
37 | 43 | | |
38 | | - | |
| 44 | + | |
39 | 45 | | |
40 | 46 | | |
41 | 47 | | |
| |||
63 | 69 | | |
64 | 70 | | |
65 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
66 | 76 | | |
67 | 77 | | |
68 | 78 | | |
| |||
87 | 97 | | |
88 | 98 | | |
89 | 99 | | |
90 | | - | |
| 100 | + | |
91 | 101 | | |
92 | 102 | | |
93 | 103 | | |
| |||
184 | 194 | | |
185 | 195 | | |
186 | 196 | | |
187 | | - | |
188 | | - | |
| 197 | + | |
| 198 | + | |
189 | 199 | | |
190 | 200 | | |
191 | 201 | | |
| |||
299 | 309 | | |
300 | 310 | | |
301 | 311 | | |
302 | | - | |
303 | | - | |
| 312 | + | |
| 313 | + | |
304 | 314 | | |
305 | 315 | | |
306 | 316 | | |
| |||
428 | 438 | | |
429 | 439 | | |
430 | 440 | | |
431 | | - | |
432 | | - | |
| 441 | + | |
| 442 | + | |
433 | 443 | | |
434 | 444 | | |
435 | 445 | | |
| |||
543 | 553 | | |
544 | 554 | | |
545 | 555 | | |
546 | | - | |
547 | | - | |
| 556 | + | |
| 557 | + | |
548 | 558 | | |
549 | 559 | | |
550 | 560 | | |
| |||
655 | 665 | | |
656 | 666 | | |
657 | 667 | | |
658 | | - | |
659 | | - | |
| 668 | + | |
| 669 | + | |
660 | 670 | | |
661 | 671 | | |
662 | 672 | | |
| |||
733 | 743 | | |
734 | 744 | | |
735 | 745 | | |
736 | | - | |
737 | | - | |
| 746 | + | |
| 747 | + | |
738 | 748 | | |
739 | 749 | | |
740 | 750 | | |
| |||
799 | 809 | | |
800 | 810 | | |
801 | 811 | | |
802 | | - | |
| 812 | + | |
803 | 813 | | |
804 | 814 | | |
805 | 815 | | |
806 | 816 | | |
807 | 817 | | |
808 | 818 | | |
809 | 819 | | |
810 | | - | |
| 820 | + | |
| 821 | + | |
811 | 822 | | |
812 | 823 | | |
813 | 824 | | |
| |||
842 | 853 | | |
843 | 854 | | |
844 | 855 | | |
| 856 | + | |
| 857 | + | |
845 | 858 | | |
846 | 859 | | |
847 | 860 | | |
| |||
852 | 865 | | |
853 | 866 | | |
854 | 867 | | |
855 | | - | |
856 | | - | |
| 868 | + | |
| 869 | + | |
857 | 870 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| |||
104 | 106 | | |
105 | 107 | | |
106 | 108 | | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
107 | 118 | | |
108 | 119 | | |
109 | 120 | | |
| 121 | + | |
| 122 | + | |
110 | 123 | | |
111 | 124 | | |
112 | 125 | | |
| 126 | + | |
| 127 | + | |
113 | 128 | | |
114 | 129 | | |
0 commit comments