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