diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2024-05-24 19:36:19 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2024-05-25 20:53:11 +0300 |
commit | 95348e463eabc803341c67d562f9e0a5f0a48fe6 (patch) | |
tree | e8062791b197694f238e725e2bcb2cadfb5910f7 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 998ffeb2738e26f134dc8e63b5dcaece22573957 (diff) | |
download | linux-95348e463eabc803341c67d562f9e0a5f0a48fe6.tar.xz |
selftests/bpf: Add netkit test for pkt_type
Add a test case to assert that the skb->pkt_type which was set from the BPF
program is retained from the netkit xmit side to the peer's device at tcx
ingress location.
# ./vmtest.sh -- ./test_progs -t netkit
[...]
./test_progs -t netkit
[ 1.140780] bpf_testmod: loading out-of-tree module taints kernel.
[ 1.141127] bpf_testmod: module verification failed: signature and/or required key missing - tainting kernel
[ 1.284601] tsc: Refined TSC clocksource calibration: 3408.006 MHz
[ 1.286672] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x311fd9b189d, max_idle_ns: 440795225691 ns
[ 1.290384] clocksource: Switched to clocksource tsc
#345 tc_netkit_basic:OK
#346 tc_netkit_device:OK
#347 tc_netkit_multi_links:OK
#348 tc_netkit_multi_opts:OK
#349 tc_netkit_neigh_links:OK
#350 tc_netkit_pkt_type:OK
Summary: 6/0 PASSED, 0 SKIPPED, 0 FAILED
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/r/20240524163619.26001-4-daniel@iogearbox.net
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions