summaryrefslogtreecommitdiff
path: root/tools/testing
diff options
context:
space:
mode:
authorHaishuang Yan <yanhaishuang@cmss.chinamobile.com>2026-10-11 18:20:22 +0800
committerJakub Kicinski <kuba@kernel.org>2026-10-16 18:32:45 -0700
commit1240de9e51201eaf7057f63b9ce5db15380cbbbe (patch)
treee658667dedac5e297c1c47a8adfbd773a9aa193f /tools/testing
parent3d0ae2a0b7d7ae346019061c7df1dad1ab2e17cd (diff)
bareudp: Enable BIG TCP packets
Commit f3d0f753f066 ("vxlan: Enable BIG TCP packets") and commit 03ebe91b0f61 ("geneve: Enable BIG TCP packets") allowed BIG TCP on vxlan and geneve, after the preceding patches of that series made the common UDP tunnel transmit path handle GSO packets larger than 64KB. bareudp transmits through the same helpers, udp_tunnel_handle_offloads() followed by udp_tunnel_xmit_skb() or udp_tunnel6_xmit_skb(), and does not fill in any length field itself. Bump tso_max_size up to GSO_MAX_SIZE so that the admin can use BIG TCP with bareudp too. The default gso_max_size and gso_ipv4_max_size stay at 64KB, so nothing changes unless they are raised explicitly. iperf3 TCP over bareudp (ethertype ipv4, IPv4 outer) between two netns connected by veth, MTU 1600 on veth, 3 runs of 20 seconds each. This was measured in a QEMU TCG guest, so only the relative numbers are meaningful: gso_max_size/gso_ipv4_max_size 65536: 4380.6, 4404.2, 4354.5 Mbit/s, average 4379.8 Mbit/s gso_max_size/gso_ipv4_max_size 196608: 5509.4, 5454.7, 5497.4 Mbit/s, average 5487.2 Mbit/s (+25%) With 196608, about 90k to 100k packets larger than 64KB were transmitted on the bareudp device per run, none with 65536. Without this patch, setting gso_max_size to 196608 is rejected. Acked-by: Alice Mikityanska <alice.kernel@fastmail.im> Signed-off-by: Haishuang Yan <yanhaishuang@cmss.chinamobile.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20261011102023.1603595-2-yanhaishuang@cmss.chinamobile.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions