public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH v2 0/7] Rework UDP buffers
@ 2024-05-01  8:31 David Gibson
  2024-05-01  8:31 ` [PATCH v2 1/7] test: Allow sftp via vsock-ssh in tests David Gibson
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: David Gibson @ 2024-05-01  8:31 UTC (permalink / raw)
  To: Stefano Brivio, passt-dev; +Cc: David Gibson

Laurent recently reworked the TCP buffer handling to be split into
various pieces tracked by iovecs.  We'll want that for various future
changes.  This series makes a similar split for UDP buffers, which
we'll want in order to allow dual-stack UDP sockets, amongst other
things.

This is based on my earlier series of cleanups for the TCP buffer
handling.

Changes since v1:
 * Rebase on v2 of the TCP iov and buffer handling cleanups
 * Rename udp_payload and udp_meta structures to _t for more
   consistency with tcp.c
 * Other minor changes based on Stefano's review

David Gibson (7):
  test: Allow sftp via vsock-ssh in tests
  udp: Split tap-bound UDP packets into multiple buffers using io vector
  udp: Combine initialisation of IPv4 and IPv6 iovs
  udp: Explicitly set checksum in guest-bound UDP headers
  udp: Share payload buffers between IPv4 and IPv6
  udp: Use the same buffer for the L2 header for all frames
  udp: Single buffer for IPv4, IPv6 headers and metadata

 tap.h            |  38 ------
 test/passt.mbuto |   6 +-
 udp.c            | 299 +++++++++++++++++++++++------------------------
 3 files changed, 152 insertions(+), 191 deletions(-)

-- 
2.44.0


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

end of thread, other threads:[~2024-05-02 14:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-01  8:31 [PATCH v2 0/7] Rework UDP buffers David Gibson
2024-05-01  8:31 ` [PATCH v2 1/7] test: Allow sftp via vsock-ssh in tests David Gibson
2024-05-01  8:31 ` [PATCH v2 2/7] udp: Split tap-bound UDP packets into multiple buffers using io vector David Gibson
2024-05-01  8:31 ` [PATCH v2 3/7] udp: Combine initialisation of IPv4 and IPv6 iovs David Gibson
2024-05-01  8:31 ` [PATCH v2 4/7] udp: Explicitly set checksum in guest-bound UDP headers David Gibson
2024-05-01  8:31 ` [PATCH v2 5/7] udp: Share payload buffers between IPv4 and IPv6 David Gibson
2024-05-01  8:31 ` [PATCH v2 6/7] udp: Use the same buffer for the L2 header for all frames David Gibson
2024-05-01  8:31 ` [PATCH v2 7/7] udp: Single buffer for IPv4, IPv6 headers and metadata David Gibson
2024-05-02 14:52 ` [PATCH v2 0/7] Rework UDP buffers Stefano Brivio

Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

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 IMAP folder(s).