From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fout-b5-smtp.messagingengine.com (fout-b5-smtp.messagingengine.com [202.12.124.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E02C739280F for ; Thu, 26 Feb 2026 20:16:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.148 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772136999; cv=none; b=pcaLTKRn8w0zN6s5Yg1M/hwKU5hnuG4fjkGoKGQnu7kW5wJfzBQwbMd7LTGYccoJ+HPdvVoF9EvxFpxjw3b4HTondgLDKJdt4CLmrgolJ/QKnlhSV3qtzyqb5JNy3FxuvuvN0kj68r6a0tCMOjwktB6leePJCl3zwhVTcMuuvbU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772136999; c=relaxed/simple; bh=Fi9Ai8JKWzJ7raQudfT62PlKQ0kIC6YVTanh/qV9xP0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ltSKWCYPNw627kmEHz6qvsgCPWMTIi2mNu/uCeqZwW2v4r6oLU3bvMY4BFlrhQJtuyr+PuIAzLdykFdlZvDUxL1R9KQJvZsKV84gM1dKmTz36rpVUOZsVr4b6YY4YPT4iGgFKZCQ1q6RCN/gH8wpJDTAcydwZRghlDaMOsohhMs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fastmail.im; spf=pass smtp.mailfrom=fastmail.im; dkim=pass (2048-bit key) header.d=fastmail.im header.i=@fastmail.im header.b=ugkUzpo7; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=LNjHst4Q; arc=none smtp.client-ip=202.12.124.148 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fastmail.im Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fastmail.im Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fastmail.im header.i=@fastmail.im header.b="ugkUzpo7"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="LNjHst4Q" Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfout.stl.internal (Postfix) with ESMTP id 766471D000C0; Thu, 26 Feb 2026 15:16:35 -0500 (EST) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-02.internal (MEProxy); Thu, 26 Feb 2026 15:16:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.im; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to; s=fm3; t=1772136995; x=1772223395; bh=zB8IoujtT/GJR3Nv7VvVk xLt92Z2zMMjAcqpqP7/kso=; b=ugkUzpo7NosZsic2a5Nae+i/B9MB2Vif60Mxb dtBfxQQXzqPYJ2OGEAiYvjJsE7ggP4eRnrYLeNevvFAwHk8O/htts87u7qGakZHb OqW2iTd9E7SIFrwgdDBSQqjtS2WlRcUMZ5p+G8fysOrBfA/yfOMTGpvbLGgogULF EvVkUOFnBaei2lRsBfGomnWC46DO7gclnylEzXlsU7r85a6IltHv5NSOXpjZuILe dYGZfMgG9kfpMu5SDKnqE/PN6FyVZ3u8vvzhTz8uW+J8QY8zl7UxbQ52HzUcmynG 3Q4h6mSb/UGz7kJrTvoYcoJqsPhLAVVcvWsdn4zfeYys5xO4A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1772136995; x=1772223395; bh=zB8IoujtT/GJR3Nv7VvVkxLt92Z2zMMjAcq pqP7/kso=; b=LNjHst4QJ7j28eQukajmAzK0TTNpqdEA0XdjSmFj6KNL7g4bsiz AV4HwKLD9fNaUDimiQF+g7wwIB56w9sFfROBb2jMb3ktTq0mz3aQFkY0Bq0bIcHx JJ+Rlgiu3CMHdSPcqQqKCOIytYLsxZXZoG4VZVcnzxs717xSWEyUDyzF9LKi6yYf g+QLtSsEK+DZe8AZvhOrpLX1+I1BdZsXmIs2jeyx7/dIdIToowdPGIbcS/55i9jR rKZnMtXDHaEkNsMCgMryML42ywwVZ6ZKF5/w99ZleGLvk8lQVnCnLb4DmehKh+7c oDibmYf/MI2v3lpIrEQRMLPn3NFffMDRbcw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddvgeejtdduucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomheptehlihgtvgcuofhi khhithihrghnshhkrgcuoegrlhhitggvrdhkvghrnhgvlhesfhgrshhtmhgrihhlrdhimh eqnecuggftrfgrthhtvghrnhepheduiedvieefffduueelgeehuefhleekuefffeeiheeu hfetjedtvefffefgfeegnecuffhomhgrihhnpehkvghrnhgvlhdrohhrghenucevlhhush htvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhitggvrdhkvghr nhgvlhesfhgrshhtmhgrihhlrdhimhdpnhgspghrtghpthhtohepudeipdhmohguvgepsh hmthhpohhuthdprhgtphhtthhopegurghnihgvlhesihhoghgvrghrsghogidrnhgvthdp rhgtphhtthhopegurghvvghmsegurghvvghmlhhofhhtrdhnvghtpdhrtghpthhtohepvg guuhhmrgiivghtsehgohhoghhlvgdrtghomhdprhgtphhtthhopehkuhgsrgeskhgvrhhn vghlrdhorhhgpdhrtghpthhtohepphgrsggvnhhisehrvgguhhgrthdrtghomhdprhgtph htthhopehluhgtihgvnhdrgihinhesghhmrghilhdrtghomhdprhgtphhtthhopeifihhl lhgvmhguvggsrhhuihhjnhdrkhgvrhhnvghlsehgmhgrihhlrdgtohhmpdhrtghpthhtoh epughsrghhvghrnheskhgvrhhnvghlrdhorhhgpdhrtghpthhtoheprhgriihorhessghl rggtkhifrghllhdrohhrgh X-ME-Proxy: Feedback-ID: i559e4809:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 26 Feb 2026 15:16:33 -0500 (EST) From: Alice Mikityanska To: Daniel Borkmann , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Xin Long , Willem de Bruijn , David Ahern , Nikolay Aleksandrov Cc: Shuah Khan , Stanislav Fomichev , Andrew Lunn , Simon Horman , Florian Westphal , netdev@vger.kernel.org, Alice Mikityanska Subject: [PATCH net-next v2 00/12] BIG TCP for UDP tunnels Date: Thu, 26 Feb 2026 22:15:48 +0200 Message-ID: <20260226201600.222044-1-alice.kernel@fastmail.im> X-Mailer: git-send-email 2.53.0 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Alice Mikityanska This series is a follow-up to "BIG TCP without HBH in IPv6", and it adds support for BIG TCP IPv4/IPv6 workloads in vxlan and geneve. Now that IPv6 BIG TCP doesn't require stripping the HBH in all various combinations in tunneled traffic, adding BIG TCP becomes feasible. Patches 01-03 are small fixups to some related code that I'm changing in the series. Patch 04 adds accessors for the length field in the UDP header, as suggested by Paolo in review. The usage of udp_set_len is then added in the following patches that start using length=0 in BIG TCP UDP packets. Patches 05-07 close the gaps that prevent BIG TCP packets from going through UDP tunnel code. Patch 08 re-adds proper validation of malformed packets that arrive with length=0 from the wire. Patch 09 is for proper formatting in tcpdump (set UDP len to 0 rather than a trimmed value on overflow). Patches 10-11 bump up tso_max_size for VXLAN and GENEVE. Patch 12 adds selftests. Thanks all! v2 changes: Addressed the review comments: added UDP len helpers, consolidated UDP len sanity checks in patch 08 into one, added selftests. Added fixups to related code (patch 01-03). v1: https://lore.kernel.org/netdev/20250923134742.1399800-1-maxtram95@gmail.com/ Alice Mikityanska (11): net/sched: act_csum: don't mangle UDP tunnel GSO packets udp: gso: Simplify handling length in GSO_PARTIAL geneve: Fix off-by-one comparing with GRO_LEGACY_MAX_SIZE net: Use helpers to get/set UDP len tree-wide net: Enable BIG TCP with partial GSO udp: Support gro_ipv4_max_size > 65536 udp: Support BIG TCP GSO packets where they can occur udp: Validate UDP length in udp_gro_receive udp: Set length in UDP header to 0 for big GSO packets vxlan: Enable BIG TCP packets selftests: net: Add a test for BIG TCP in UDP tunnels Daniel Borkmann (1): geneve: Enable BIG TCP packets drivers/infiniband/core/lag.c | 2 +- drivers/infiniband/sw/rxe/rxe_net.c | 4 +- drivers/net/amt.c | 6 +- drivers/net/ethernet/intel/i40e/i40e_txrx.c | 2 +- drivers/net/ethernet/intel/iavf/iavf_txrx.c | 2 +- drivers/net/ethernet/intel/ice/ice_txrx.c | 2 +- drivers/net/ethernet/intel/idpf/idpf_txrx.c | 2 +- .../marvell/octeontx2/nic/otx2_txrx.c | 2 +- .../net/ethernet/mellanox/mlx5/core/en_rx.c | 4 +- .../ethernet/mellanox/mlx5/core/en_selftest.c | 2 +- drivers/net/ethernet/sfc/falcon/selftest.c | 4 +- drivers/net/ethernet/sfc/selftest.c | 4 +- drivers/net/ethernet/sfc/siena/selftest.c | 4 +- drivers/net/ethernet/sfc/tc_encap_actions.c | 2 +- .../stmicro/stmmac/stmmac_selftests.c | 4 +- drivers/net/geneve.c | 6 +- drivers/net/netdevsim/dev.c | 2 +- drivers/net/netdevsim/psample.c | 2 +- drivers/net/netdevsim/psp.c | 8 +- drivers/net/vxlan/vxlan_core.c | 2 + drivers/net/wireguard/receive.c | 2 +- include/linux/udp.h | 16 ++ include/net/udplite.h | 4 +- include/trace/events/icmp.h | 2 +- lib/tests/blackhole_dev_kunit.c | 2 +- net/6lowpan/nhc_udp.c | 10 +- net/core/netpoll.c | 2 +- net/core/pktgen.c | 4 +- net/core/selftests.c | 4 +- net/core/skbuff.c | 10 +- net/core/tso.c | 3 +- net/ipv4/esp4.c | 2 +- net/ipv4/fou_core.c | 2 +- net/ipv4/ipconfig.c | 6 +- net/ipv4/netfilter/nf_nat_snmp_basic_main.c | 4 +- net/ipv4/route.c | 2 +- net/ipv4/udp.c | 8 +- net/ipv4/udp_offload.c | 58 +++---- net/ipv4/udp_tunnel_core.c | 2 +- net/ipv6/esp6.c | 5 +- net/ipv6/fou6.c | 2 +- net/ipv6/ip6_udp_tunnel.c | 2 +- net/ipv6/udp.c | 3 +- net/ipv6/udp_offload.c | 2 +- net/l2tp/l2tp_core.c | 2 +- net/netfilter/ipvs/ip_vs_xmit.c | 2 +- net/netfilter/nf_conntrack_proto_udp.c | 19 ++- net/netfilter/nf_log_syslog.c | 2 +- net/netfilter/nf_nat_helper.c | 2 +- net/psp/psp_main.c | 2 +- net/sched/act_csum.c | 12 +- net/xfrm/xfrm_nat_keepalive.c | 2 +- tools/testing/selftests/net/Makefile | 1 + .../testing/selftests/net/big_tcp_tunnels.sh | 145 ++++++++++++++++++ 54 files changed, 298 insertions(+), 114 deletions(-) create mode 100755 tools/testing/selftests/net/big_tcp_tunnels.sh -- 2.52.0