Netdev List
 help / color / mirror / Atom feed
* [PATCH net-next v4 0/2] bareudp: Enable BIG TCP packets
@ 2026-10-11 10:20 Haishuang Yan
  2026-10-11 10:20 ` [PATCH net-next v4 1/2] " Haishuang Yan
  2026-10-11 10:20 ` [PATCH net-next v4 2/2] selftests: net: big_tcp_tunnels: Cover bareudp Haishuang Yan
  0 siblings, 2 replies; 5+ messages in thread
From: Haishuang Yan @ 2026-10-11 10:20 UTC (permalink / raw)
  To: netdev
  Cc: Andrew Lunn, David S . Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Simon Horman, Shuah Khan, Alice Mikityanska,
	Daniel Borkmann, 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 commit c57b2e60d4bf ("bareudp: set the inner protocol
to the protocol of the packet"), now in net-next.

v4:
- Patch 2: do not use "A && B || C" in setup_bareudp(), which shellcheck
  flags (SC2015), and Cc Simon.
v3: https://lore.kernel.org/netdev/20261008055513.1560739-1-yanhaishuang@cmss.chinamobile.com/
- Patch 2: create the bareudp device in setup_bareudp() and return an
  error if any step fails, update the comments that only mentioned VXLAN
  and GENEVE (Sashiko).
- Repost now that the bareudp fix is in net-next.
v2: https://lore.kernel.org/netdev/20261003100939.468181-1-yanhaishuang@cmss.chinamobile.com/
- Add Acked-by from Alice to patch 1.
- 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  | 55 ++++++++++++++++---
 2 files changed, 47 insertions(+), 9 deletions(-)

-- 
2.43.0




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

end of thread, other threads:[~2026-10-16 19:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-11 10:20 [PATCH net-next v4 0/2] bareudp: Enable BIG TCP packets Haishuang Yan
2026-10-11 10:20 ` [PATCH net-next v4 1/2] " Haishuang Yan
2026-10-16 19:10   ` Simon Horman
2026-10-11 10:20 ` [PATCH net-next v4 2/2] selftests: net: big_tcp_tunnels: Cover bareudp Haishuang Yan
2026-10-16 19:11   ` Simon Horman

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