diff options
author | Willem de Bruijn <willemb@google.com> | 2018-04-26 13:42:22 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-04-26 15:09:40 -0400 |
commit | a160725780e3e086cf936722b0267408f17fceaa (patch) | |
tree | 39687034aa399cd5af63d1bcbfefa50fa293efa1 /tools/testing/selftests/net/udpgso.sh | |
parent | 83aa025f535f76733e334e3d2a4d8577c8441a7e (diff) | |
download | linux-rpi3-a160725780e3e086cf936722b0267408f17fceaa.tar.gz linux-rpi3-a160725780e3e086cf936722b0267408f17fceaa.tar.bz2 linux-rpi3-a160725780e3e086cf936722b0267408f17fceaa.zip |
selftests: udp gso
Validate udp gso, including edge cases (such as min/max gso sizes).
Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/net/udpgso.sh')
-rwxr-xr-x | tools/testing/selftests/net/udpgso.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/testing/selftests/net/udpgso.sh b/tools/testing/selftests/net/udpgso.sh new file mode 100755 index 000000000000..7977b97e060c --- /dev/null +++ b/tools/testing/selftests/net/udpgso.sh @@ -0,0 +1,16 @@ +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 +# +# Run a series of udpgso regression tests + +echo "ipv4 cmsg" +./in_netns.sh ./udpgso -4 -C + +echo "ipv4 setsockopt" +./in_netns.sh ./udpgso -4 -C -s + +echo "ipv6 cmsg" +./in_netns.sh ./udpgso -6 -C + +echo "ipv6 setsockopt" +./in_netns.sh ./udpgso -6 -C -s |