netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/4] net: gro: cleanups and fast path refinement
@ 2024-03-01 19:37 Eric Dumazet
  2024-03-01 19:37 ` [PATCH net-next 1/4] net: gro: rename skb_gro_header_hard() Eric Dumazet
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Eric Dumazet @ 2024-03-01 19:37 UTC (permalink / raw)
  To: David S . Miller, Jakub Kicinski, Paolo Abeni
  Cc: Richard Gobert, netdev, eric.dumazet, Eric Dumazet

Current GRO stack has a 'fast path' for a subset of drivers,
users of napi_frags_skb().

With TCP zerocopy/direct uses, header split at receive is becoming
more important, and GRO fast path is disabled.

This series makes GRO (a bit) more efficient for almost all use cases.

Eric Dumazet (4):
  net: gro: rename skb_gro_header_hard()
  net: gro: change skb_gro_network_header()
  net: gro: enable fast path for more cases
  tcp: gro: micro optimizations in tcp[4]_gro_complete()

 drivers/net/geneve.c   |  2 +-
 include/net/gro.h      | 34 ++++++++++++++++------------------
 net/core/gro.c         | 25 +++++++++++++++++--------
 net/ipv4/fou_core.c    |  2 +-
 net/ipv4/gre_offload.c |  2 +-
 net/ipv4/tcp_offload.c | 19 ++++++++++---------
 6 files changed, 46 insertions(+), 38 deletions(-)

-- 
2.44.0.278.ge034bb2e1d-goog


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

end of thread, other threads:[~2024-03-05 12:50 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-01 19:37 [PATCH net-next 0/4] net: gro: cleanups and fast path refinement Eric Dumazet
2024-03-01 19:37 ` [PATCH net-next 1/4] net: gro: rename skb_gro_header_hard() Eric Dumazet
2024-03-01 19:37 ` [PATCH net-next 2/4] net: gro: change skb_gro_network_header() Eric Dumazet
2024-03-04  8:28   ` Paolo Abeni
2024-03-04  9:06     ` Eric Dumazet
2024-03-04 10:29       ` Paolo Abeni
2024-03-04 13:04       ` Richard Gobert
2024-03-04 13:14         ` Eric Dumazet
2024-03-01 19:37 ` [PATCH net-next 3/4] net: gro: enable fast path for more cases Eric Dumazet
2024-03-01 19:37 ` [PATCH net-next 4/4] tcp: gro: micro optimizations in tcp[4]_gro_complete() Eric Dumazet
2024-03-04 10:30 ` [PATCH net-next 0/4] net: gro: cleanups and fast path refinement Paolo Abeni
2024-03-05 12:50 ` patchwork-bot+netdevbpf

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).