Commit a1607257 authored by Willem de Bruijn's avatar Willem de Bruijn Committed by David S. Miller

selftests: udp gso

Validate udp gso, including edge cases (such as min/max gso sizes).
Signed-off-by: default avatarWillem de Bruijn <willemb@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 83aa025f
......@@ -8,3 +8,4 @@ reuseport_bpf_numa
reuseport_dualstack
reuseaddr_conflict
tcp_mmap
udpgso
......@@ -5,12 +5,13 @@ CFLAGS = -Wall -Wl,--no-as-needed -O2 -g
CFLAGS += -I../../../../usr/include/
TEST_PROGS := run_netsocktests run_afpackettests test_bpf.sh netdevice.sh rtnetlink.sh
TEST_PROGS += fib_tests.sh fib-onlink-tests.sh in_netns.sh pmtu.sh
TEST_PROGS += fib_tests.sh fib-onlink-tests.sh in_netns.sh pmtu.sh udpgso.sh
TEST_GEN_FILES = socket
TEST_GEN_FILES += psock_fanout psock_tpacket msg_zerocopy
TEST_GEN_FILES += tcp_mmap
TEST_GEN_PROGS = reuseport_bpf reuseport_bpf_cpu reuseport_bpf_numa
TEST_GEN_PROGS += reuseport_dualstack reuseaddr_conflict
TEST_GEN_PROGS += udpgso
include ../lib.mk
......
This diff is collapsed.
#!/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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment