mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/2] bareudp: Enable BIG TCP packets
@ 2026-10-03 10:09 Haishuang Yan
  2026-10-03 10:09 ` [PATCH net-next v2 1/2] " Haishuang Yan
  2026-10-03 10:09 ` [PATCH net-next v2 2/2] selftests: net: big_tcp_tunnels: Cover bareudp Haishuang Yan
  0 siblings, 2 replies; 5+ messages in thread
From: Haishuang Yan @ 2026-10-03 10:09 UTC (permalink / raw)
  To: netdev
  Cc: Alice Mikityanska, Daniel Borkmann, Andrew Lunn,
	David S . Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Shuah Khan, linux-kselftest, linux-kernel, Haishuang Yan

This series allows BIG TCP on bareudp, the same way as on vxlan and
geneve, and extends the big_tcp_tunnels.sh selftest to cover it.

Patch 1 bumps tso_max_size of bareudp devices to GSO_MAX_SIZE.

Patch 2 adds bareudp to big_tcp_tunnels.sh. bareudp only works in
external mode, so the test attaches the tunnel metadata with a tc
tunnel_key action on egress.

Patch 2 depends on "bareudp: set the inner protocol to the protocol of
the packet", posted to net:

https://lore.kernel.org/netdev/20261002153039.462663-1-yanhaishuang@cmss.chinamobile.com/

Until that fix reaches net-next, the bareudp cases of the selftest with
veth tx checksum offload disabled fail for IPv6 over IPv4 and for both
families over IPv6, because software GSO drops the packets. Everything
else passes without the fix.

v2:
- New patch 2, as Alice asked for selftest coverage.

v1: https://lore.kernel.org/netdev/20261001042336.224343-1-yanhaishuang@cmss.chinamobile.com/

Haishuang Yan (2):
  bareudp: Enable BIG TCP packets
  selftests: net: big_tcp_tunnels: Cover bareudp

 drivers/net/bareudp.c                         |  1 +
 .../testing/selftests/net/big_tcp_tunnels.sh  | 45 ++++++++++++++++---
 2 files changed, 39 insertions(+), 7 deletions(-)

-- 
2.43.0




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-10-04 14:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-03 10:09 [PATCH net-next v2 0/2] bareudp: Enable BIG TCP packets Haishuang Yan
2026-10-03 10:09 ` [PATCH net-next v2 1/2] " Haishuang Yan
2026-10-03 10:09 ` [PATCH net-next v2 2/2] selftests: net: big_tcp_tunnels: Cover bareudp Haishuang Yan
2026-10-04 10:11   ` netdev-bot+sashiko
2026-10-04 14:48     ` Haishuang Yan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®