public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH v2 00/10] Small improvements to IOV handling
@ 2024-05-01  6:53 David Gibson
  2024-05-01  6:53 ` [PATCH v2 01/10] checksum: Use proto_ipv6_header_psum() for ICMPv6 as well David Gibson
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: David Gibson @ 2024-05-01  6:53 UTC (permalink / raw)
  To: Stefano Brivio, passt-dev; +Cc: Laurent Vivier, David Gibson

Laurent's changes to split TCP buffers into various components with
IOVs is now merged.  This series has a batch of small cleanups to make
the handling of this slightly nicer.  These are preliminaries to doing
something similar with the UDP buffers.

Note that patch 10/10 might interfere with the experiments to work out
what is going wrong with the odd batching / performance issues we've
seen.  We can leave it off for the time being if that's a problem.

Changes since v1:
 * Added new patch removing some unused structures
 * Added two new patches cleaning up some endianness confusion
 * Added a bunch of missing cases to standardisation of length
   variable names
 * Assorted minor revisions based on Stefano's review

David Gibson (10):
  checksum: Use proto_ipv6_header_psum() for ICMPv6 as well
  tap: Split tap specific and L2 (ethernet) headers
  tap: Remove unused structs tap_msg, tap_l4_msg
  treewide: Remove misleading and redundant endianness notes
  checksum: Make csum_ip4_header() take a host endian length
  treewide: Standardise variable names for various packet lengths
  tcp: Simplify packet length calculation when preparing headers
  tap, tcp: (Re-)abstract TAP specific header handling
  iov: Helper macro to construct iovs covering existing variables or
    fields
  tcp: Update tap specific header too in tcp_fill_headers[46]()

 arp.c      |   6 +-
 checksum.c |  68 ++++++++++-----------
 checksum.h |  12 ++--
 dhcp.c     |   6 +-
 icmp.c     |  12 ++--
 iov.h      |   3 +
 ndp.c      |   6 +-
 passt.h    |  28 ++-------
 pcap.c     |  14 ++---
 pcap.h     |   2 +-
 tap.c      | 146 ++++++++++++++++++++++----------------------
 tap.h      |  60 ++++++++++++------
 tcp.c      | 176 +++++++++++++++++++++++------------------------------
 udp.c      |  52 ++++++++--------
 14 files changed, 290 insertions(+), 301 deletions(-)

-- 
2.44.0


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

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

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-01  6:53 [PATCH v2 00/10] Small improvements to IOV handling David Gibson
2024-05-01  6:53 ` [PATCH v2 01/10] checksum: Use proto_ipv6_header_psum() for ICMPv6 as well David Gibson
2024-05-01  6:53 ` [PATCH v2 02/10] tap: Split tap specific and L2 (ethernet) headers David Gibson
2024-05-01  6:53 ` [PATCH v2 03/10] tap: Remove unused structs tap_msg, tap_l4_msg David Gibson
2024-05-01  6:53 ` [PATCH v2 04/10] treewide: Remove misleading and redundant endianness notes David Gibson
2024-05-01  6:53 ` [PATCH v2 05/10] checksum: Make csum_ip4_header() take a host endian length David Gibson
2024-05-01  6:53 ` [PATCH v2 06/10] treewide: Standardise variable names for various packet lengths David Gibson
2024-05-01  6:53 ` [PATCH v2 07/10] tcp: Simplify packet length calculation when preparing headers David Gibson
2024-05-01  6:53 ` [PATCH v2 08/10] tap, tcp: (Re-)abstract TAP specific header handling David Gibson
2024-05-01  6:53 ` [PATCH v2 09/10] iov: Helper macro to construct iovs covering existing variables or fields David Gibson
2024-05-01  6:53 ` [PATCH v2 10/10] tcp: Update tap specific header too in tcp_fill_headers[46]() David Gibson
2024-05-02 14:52 ` [PATCH v2 00/10] Small improvements to IOV handling 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).