summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/udpgso_bench.sh
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2018-11-07 14:38:37 +0300
committerDavid S. Miller <davem@davemloft.net>2018-11-08 03:23:05 +0300
commit3327a9c46352f111697d93d6134e7bf37c6bffca (patch)
tree49e779a4dbf7f0641b0a983253bbc3aa342782a7 /tools/testing/selftests/net/udpgso_bench.sh
parente87f53b4fab72f95952c17f672088e082e8e79ab (diff)
downloadlinux-3327a9c46352f111697d93d6134e7bf37c6bffca.tar.xz
selftests: add functionals test for UDP GRO
Extends the existing udp programs to allow checking for proper GRO aggregation/GSO size, and run the tests via a shell script, using a veth pair with XDP program attached to trigger the GRO code path. rfc v3 -> v1: - use ip route to attach the xdp helper to the veth rfc v2 -> rfc v3: - add missing test program options documentation - fix sporatic test failures (receiver faster than sender) Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/net/udpgso_bench.sh')
-rwxr-xr-xtools/testing/selftests/net/udpgso_bench.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/net/udpgso_bench.sh b/tools/testing/selftests/net/udpgso_bench.sh
index 99e537ab5ad9..0f0628613f81 100755
--- a/tools/testing/selftests/net/udpgso_bench.sh
+++ b/tools/testing/selftests/net/udpgso_bench.sh
@@ -34,7 +34,7 @@ run_udp() {
run_in_netns ${args}
echo "udp gso"
- run_in_netns ${args} -S
+ run_in_netns ${args} -S 0
}
run_tcp() {