Netdev List
 help / color / mirror / Atom feed
* [PATCH v2 net-next 0/6] net: tso: expand to UDP support
@ 2020-06-18  3:53 Eric Dumazet
  2020-06-18  3:53 ` [PATCH v2 net-next 1/6] octeontx2-af: change (struct qmem)->entry_sz from u8 to u16 Eric Dumazet
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Eric Dumazet @ 2020-06-18  3:53 UTC (permalink / raw)
  To: David S . Miller
  Cc: netdev, Eric Dumazet, Eric Dumazet, Jakub Kicinski,
	Willem de Bruijn, Sunil Goutham, Antoine Tenart

With QUIC getting more attention these days, it is worth
implementing UDP direct segmentation, the same we did for TCP.

Drivers will need to advertize NETIF_F_GSO_UDP_L4 so that
GSO stack does not do the (more expensive) segmentation.

Note the two first patches are stable candidates, after
tests confirm they do not add regressions.

v2: addressed Jakub feedback :
   1) Added a prep patch for octeontx2-af
   2) calls tso_start() earlier in otx2_sq_append_tso()

Eric Dumazet (6):
  octeontx2-af: change (struct qmem)->entry_sz from u8 to u16
  net: tso: double TSO_HEADER_SIZE value
  net: tso: shrink struct tso_t
  net: tso: constify tso_count_descs() and friends
  net: tso: cache transport header length
  net: tso: add UDP segmentation support

 .../ethernet/cavium/thunder/nicvf_queues.c    |  5 ++-
 drivers/net/ethernet/freescale/fec_main.c     |  5 +--
 drivers/net/ethernet/marvell/mv643xx_eth.c    |  5 +--
 drivers/net/ethernet/marvell/mvneta.c         |  5 +--
 .../net/ethernet/marvell/mvpp2/mvpp2_main.c   |  6 +--
 .../ethernet/marvell/octeontx2/af/common.h    |  2 +-
 .../marvell/octeontx2/nic/otx2_txrx.c         |  6 +--
 include/net/tso.h                             | 23 +++++-----
 net/core/tso.c                                | 44 ++++++++++++-------
 9 files changed, 55 insertions(+), 46 deletions(-)

-- 
2.27.0.290.gba653c62da-goog


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

end of thread, other threads:[~2020-06-19  3:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-18  3:53 [PATCH v2 net-next 0/6] net: tso: expand to UDP support Eric Dumazet
2020-06-18  3:53 ` [PATCH v2 net-next 1/6] octeontx2-af: change (struct qmem)->entry_sz from u8 to u16 Eric Dumazet
2020-06-18  3:53 ` [PATCH v2 net-next 2/6] net: tso: double TSO_HEADER_SIZE value Eric Dumazet
2020-06-18  3:53 ` [PATCH v2 net-next 3/6] net: tso: shrink struct tso_t Eric Dumazet
2020-06-18  3:53 ` [PATCH v2 net-next 4/6] net: tso: constify tso_count_descs() and friends Eric Dumazet
2020-06-18  3:53 ` [PATCH v2 net-next 5/6] net: tso: cache transport header length Eric Dumazet
2020-06-18  3:53 ` [PATCH v2 net-next 6/6] net: tso: add UDP segmentation support Eric Dumazet
2020-06-19  3:46 ` [PATCH v2 net-next 0/6] net: tso: expand to UDP support David Miller

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