History

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.

Hangbin Liu committed 4 years ago

Commit 02f4afe1 parent 611edf11 file · +4 −0Browse files

Unified · Split

tools/testing/selftests/bpf/test_xdping.sh+4−0
@@ -95,5 +95,9 @@ for server_args in "" "-I veth0 -s -S" ; do · 94 unmodified lines
9595 test "$client_args" "$server_args"
9696 done
9797
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+
98102 echo "OK. All tests passed"
99103 exit 0

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t