netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] net: gro: reduce extension header parsing overhead
@ 2023-12-21 18:44 Richard Gobert
  2023-12-21 18:55 ` [PATCH net-next 1/3] net: gso: add HBH extension header offload support Richard Gobert
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Richard Gobert @ 2023-12-21 18:44 UTC (permalink / raw)
  To: davem, dsahern, edumazet, kuba, pabeni, shuah, netdev,
	linux-kernel, linux-kselftest

This series attempts to reduce parsing overhead of IPv6 extension headers
in GRO and GSO, by removing extension header specific code and enabling
the frag0 fast path.
 
The following changes were made:
- Specific unnecessary HBH conditionals were removed by adding HBH offload
  to inet6_offloads
- Added a utility function to support frag0 fast path in ipv6_gro_receive
- Added self-test for IPv6 packets with extension headers in GRO

Richard

Richard Gobert (3):
  net: gso: add HBH extension header offload support
  net: gro: parse ipv6 ext headers without frag0 invalidation
  selftests/net: fix GRO coalesce test and add ext header coalesce test

 net/ipv6/exthdrs_offload.c        | 11 +++++
 net/ipv6/ip6_offload.c            | 76 ++++++++++++++++++++----------
 tools/testing/selftests/net/gro.c | 78 ++++++++++++++++++++++++++++---
 3 files changed, 134 insertions(+), 31 deletions(-)

-- 
2.36.1



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

end of thread, other threads:[~2023-12-28 17:05 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-21 18:44 [PATCH net-next 0/3] net: gro: reduce extension header parsing overhead Richard Gobert
2023-12-21 18:55 ` [PATCH net-next 1/3] net: gso: add HBH extension header offload support Richard Gobert
2023-12-26 20:24   ` Willem de Bruijn
2023-12-21 18:57 ` [PATCH net-next 2/3] net: gro: parse ipv6 ext headers without frag0 Richard Gobert
2023-12-26 21:59   ` Willem de Bruijn
2023-12-28 16:46     ` Richard Gobert
2023-12-21 18:58 ` [PATCH net-next 3/3] selftests/net: fix GRO coalesce test and add ext Richard Gobert
2023-12-23  5:52   ` kernel test robot
2023-12-26 21:16   ` Willem de Bruijn
2023-12-28 17:06     ` Richard Gobert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).