mbox series

[net-next,0/3] net: gro: reduce extension header parsing overhead

Message ID f4eff69d-3917-4c42-8c6b-d09597ac4437@gmail.com (mailing list archive)
Headers show
Series net: gro: reduce extension header parsing overhead | expand

Message

Richard Gobert Dec. 21, 2023, 6:44 p.m. UTC
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(-)