summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/Makefile
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2023-03-08 00:31:32 +0300
committerFlorian Westphal <fw@strlen.de>2023-03-08 16:25:42 +0300
commit6bb382bcf742de5c17209848325653059c995a04 (patch)
tree4b8ce1fc6c4db9c5af78315227b15ca4e9afa0d1 /tools/testing/selftests/net/Makefile
parenteaafdaa3e92234b877b645431957549a1f87e2bf (diff)
downloadlinux-6bb382bcf742de5c17209848325653059c995a04.tar.xz
selftests: add a selftest for big tcp
This test runs on the client-router-server topo, and monitors the traffic on the RX devices of router and server while sending BIG TCP packets with netperf from client to server. Meanwhile, it changes 'tso' on the TX devs and 'gro' on the RX devs. Then it checks if any BIG TCP packets appears on the RX devs with 'ip/ip6tables -m length ! --length 0:65535' for each case. Note that we also add tc action ct in link1 ingress to cover the ipv6 jumbo packets process in nf_ct_skb_network_trim() of nf_conntrack_ovs. Signed-off-by: Xin Long <lucien.xin@gmail.com> Reviewed-by: Aaron Conole <aconole@redhat.com> Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tools/testing/selftests/net/Makefile')
-rw-r--r--tools/testing/selftests/net/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/net/Makefile b/tools/testing/selftests/net/Makefile
index 6cd8993454d7..099741290184 100644
--- a/tools/testing/selftests/net/Makefile
+++ b/tools/testing/selftests/net/Makefile
@@ -48,6 +48,7 @@ TEST_PROGS += l2_tos_ttl_inherit.sh
TEST_PROGS += bind_bhash.sh
TEST_PROGS += ip_local_port_range.sh
TEST_PROGS += rps_default_mask.sh
+TEST_PROGS += big_tcp.sh
TEST_PROGS_EXTENDED := in_netns.sh setup_loopback.sh setup_veth.sh
TEST_PROGS_EXTENDED += toeplitz_client.sh toeplitz.sh
TEST_GEN_FILES = socket nettest