* [PATCH bpf-next] selftests/bpf: add drv mode testing for xdping
@ 2022-06-02 3:25 Hangbin Liu
2022-06-02 16:41 ` Song Liu
2022-06-03 21:50 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: Hangbin Liu @ 2022-06-02 3:25 UTC (permalink / raw)
To: netdev
Cc: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko, bpf,
Jakub Kicinski, David S . Miller, Mathieu Xhonneux, William Tu,
Toshiaki Makita, Jesper Dangaard Brouer, Hangbin Liu
As subject, we only test SKB mode for xdping at present.
Now add DRV mode for xdping.
Signed-off-by: Hangbin Liu <liuhangbin@gmail.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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH bpf-next] selftests/bpf: add drv mode testing for xdping
2022-06-02 3:25 [PATCH bpf-next] selftests/bpf: add drv mode testing for xdping Hangbin Liu
@ 2022-06-02 16:41 ` Song Liu
2022-06-03 21:50 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Song Liu @ 2022-06-02 16:41 UTC (permalink / raw)
To: Hangbin Liu
Cc: Networking, Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko,
bpf, Jakub Kicinski, David S . Miller, Mathieu Xhonneux,
William Tu, Toshiaki Makita, Jesper Dangaard Brouer
On Wed, Jun 1, 2022 at 8:25 PM Hangbin Liu <liuhangbin@gmail.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@gmail.com>
Acked-by: Song Liu <songliubraving@fb.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
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH bpf-next] selftests/bpf: add drv mode testing for xdping
2022-06-02 3:25 [PATCH bpf-next] selftests/bpf: add drv mode testing for xdping Hangbin Liu
2022-06-02 16:41 ` Song Liu
@ 2022-06-03 21:50 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-06-03 21:50 UTC (permalink / raw)
To: Hangbin Liu
Cc: netdev, ast, daniel, andrii, bpf, kuba, davem, m.xhonneux,
u9012063, toshiaki.makita1, brouer
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@kernel.org>:
On Thu, 2 Jun 2022 11:25:07 +0800 you wrote:
> As subject, we only test SKB mode for xdping at present.
> Now add DRV mode for xdping.
>
> Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
> ---
> tools/testing/selftests/bpf/test_xdping.sh | 4 ++++
> 1 file changed, 4 insertions(+)
Here is the summary with links:
- [bpf-next] selftests/bpf: add drv mode testing for xdping
https://git.kernel.org/bpf/bpf-next/c/43496801c7bd
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-06-03 21:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-02 3:25 [PATCH bpf-next] selftests/bpf: add drv mode testing for xdping Hangbin Liu
2022-06-02 16:41 ` Song Liu
2022-06-03 21:50 ` patchwork-bot+netdevbpf
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.