Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

selftests/bpf: Add drv mode testing for xdping

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>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Song Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20220602032507.464453-1-liuhangbin@gmail.com

authored by

Hangbin Liu and committed by
Andrii Nakryiko
02f4afeb 611edf1b

+4
+4
tools/testing/selftests/bpf/test_xdping.sh
··· 95 95 test "$client_args" "$server_args" 96 96 done 97 97 98 + # Test drv mode 99 + test "-I veth1 -N" "-I veth0 -s -N" 100 + test "-I veth1 -N -c 10" "-I veth0 -s -N" 101 + 98 102 echo "OK. All tests passed" 99 103 exit 0