[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2339263b-4348-4b00-842f-bcd2ac89c136@blackwall.org>
Date: Sat, 5 Oct 2024 16:39:06 +0300
From: Nikolay Aleksandrov <razor@...ckwall.org>
To: Daniel Borkmann <daniel@...earbox.net>, martin.lau@...ux.dev
Cc: kuba@...nel.org, jrife@...gle.com, tangchen.1@...edance.com,
bpf@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH bpf-next v2 5/5] selftests/bpf: Extend netkit tests to
validate skb meta data
On 04/10/2024 13:13, Daniel Borkmann wrote:
> Add a small netkit test to validate skb mark and priority under the
> default scrubbing as well as with mark and priority scrubbing off.
>
> # ./vmtest.sh -- ./test_progs -t netkit
> [...]
> ./test_progs -t netkit
> [ 1.419662] tsc: Refined TSC clocksource calibration: 3407.993 MHz
> [ 1.420151] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x311fcd52370, max_idle_ns: 440795242006 ns
> [ 1.420897] clocksource: Switched to clocksource tsc
> [ 1.447996] bpf_testmod: loading out-of-tree module taints kernel.
> [ 1.448447] bpf_testmod: module verification failed: signature and/or required key missing - tainting kernel
> #357 tc_netkit_basic:OK
> #358 tc_netkit_device:OK
> #359 tc_netkit_multi_links:OK
> #360 tc_netkit_multi_opts:OK
> #361 tc_netkit_neigh_links:OK
> #362 tc_netkit_pkt_type:OK
> #363 tc_netkit_scrub:OK
> Summary: 7/0 PASSED, 0 SKIPPED, 0 FAILED
>
> Signed-off-by: Daniel Borkmann <daniel@...earbox.net>
> Cc: Nikolay Aleksandrov <razor@...ckwall.org>
> ---
> .../selftests/bpf/prog_tests/tc_netkit.c | 94 +++++++++++++++++--
> .../selftests/bpf/progs/test_tc_link.c | 12 +++
> 2 files changed, 97 insertions(+), 9 deletions(-)
>
Acked-by: Nikolay Aleksandrov <razor@...ckwall.org>
Powered by blists - more mailing lists