On Thu, 3 Oct 2024 16:51:03 +0200
Laurent Vivier
For vhost-user, we will need to spread TCP payload over several buffers. To re-use tcp_update_check_tcp[4|6](), provide an iovec rather than a pointer to a buffer.
This series updates also csum_iov() and pcap_iov() to add an offset of bytes to skip in the iovec array.
It's based on top of "tcp: Use tcp_payload_t rather than tcphdr" that is added in the series for convenience.
v6: update tcp.c with fix for clang-tidy error and add missing static
Laurent Vivier (5): tcp: Use tcp_payload_t rather than tcphdr pcap: Add an offset argument in pcap_iov() checksum: Add an offset argument in csum_iov() tcp: Update TCP checksum using an iovec array udp: Update UDP checksum using an iovec array
I ran tests a few times with just this series, no failures observed. Applied, sorry for the delay. -- Stefano