lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 2 Jun 2022 09:41:03 -0700
From:   Song Liu <song@...nel.org>
To:     Hangbin Liu <liuhangbin@...il.com>
Cc:     Networking <netdev@...r.kernel.org>,
        Alexei Starovoitov <ast@...nel.org>,
        Daniel Borkmann <daniel@...earbox.net>,
        Andrii Nakryiko <andrii@...nel.org>, bpf <bpf@...r.kernel.org>,
        Jakub Kicinski <kuba@...nel.org>,
        "David S . Miller" <davem@...emloft.net>,
        Mathieu Xhonneux <m.xhonneux@...il.com>,
        William Tu <u9012063@...il.com>,
        Toshiaki Makita <toshiaki.makita1@...il.com>,
        Jesper Dangaard Brouer <brouer@...hat.com>
Subject: Re: [PATCH bpf-next] selftests/bpf: add drv mode testing for xdping

On Wed, Jun 1, 2022 at 8:25 PM Hangbin Liu <liuhangbin@...il.com> wrote:
>
> As subject, we only test SKB mode for xdping at present.
> Now add DRV mode for xdping.
>
> Signed-off-by: Hangbin Liu <liuhangbin@...il.com>

Acked-by: Song Liu <songliubraving@...com>

> ---
>  tools/testing/selftests/bpf/test_xdping.sh | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/tools/testing/selftests/bpf/test_xdping.sh b/tools/testing/selftests/bpf/test_xdping.sh
> index c2f0ddb45531..c3d82e0a7378 100755
> --- a/tools/testing/selftests/bpf/test_xdping.sh
> +++ b/tools/testing/selftests/bpf/test_xdping.sh
> @@ -95,5 +95,9 @@ for server_args in "" "-I veth0 -s -S" ; do
>         test "$client_args" "$server_args"
>  done
>
> +# Test drv mode
> +test "-I veth1 -N" "-I veth0 -s -N"
> +test "-I veth1 -N -c 10" "-I veth0 -s -N"
> +
>  echo "OK. All tests passed"
>  exit 0
> --
> 2.35.1
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ