[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <f1652194-13cf-4304-a81a-a3de91d4b839@blackwall.org>
Date: Sat, 21 Dec 2024 09:24:06 +0200
From: Nikolay Aleksandrov <razor@...ckwall.org>
To: Daniel Borkmann <daniel@...earbox.net>, martin.lau@...ux.dev
Cc: pabeni@...hat.com, kuba@...nel.org, bpf@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH bpf-next v2 3/3] selftests/bpf: Extend netkit tests to
validate set {head,tail}room
On 12/21/24 01:46, Daniel Borkmann wrote:
> 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
> #363 tc_netkit_basic:OK
> #364 tc_netkit_device:OK
> #365 tc_netkit_multi_links:OK
> #366 tc_netkit_multi_opts:OK
> #367 tc_netkit_neigh_links:OK
> #368 tc_netkit_pkt_type:OK
> #369 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>
> ---
> v2:
> - Rework to pass flags to create_netkit
>
> .../selftests/bpf/prog_tests/tc_netkit.c | 49 ++++++++++++-------
> .../selftests/bpf/progs/test_tc_link.c | 15 ++++++
> 2 files changed, 46 insertions(+), 18 deletions(-)
>
Acked-by: Nikolay Aleksandrov <razor@...ckwall.org>
Powered by blists - more mailing lists