public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH 0/7] TCP buffer handling cleanups (including vhost)
@ 2024-11-27  3:54 David Gibson
  2024-11-27  3:54 ` [PATCH 1/7] iov: iov tail helpers David Gibson
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: David Gibson @ 2024-11-27  3:54 UTC (permalink / raw)
  To: Stefano Brivio, passt-dev; +Cc: David Gibson

Here's a current version of my IOV tail and some cleanups to TCP
buffer handling based on it.  Now rebased on top of v14 of the
vhost-user patches.

This was aimed at sharing more code between the "buffer" and
vhost-user paths, but that turned out to be trickier than I
anticipated, so it hasn't really been accomplished.  Nonetheless I
think these are reasonable cleanups on their own merits, and may yet
make sharing some more code between the paths easier in future.

David Gibson (7):
  iov: iov tail helpers
  iov, checksum: Replace csum_iov() with csum_iov_tail()
  tcp: Pass TCP header and payload separately to
    tcp_update_check_tcp[46]()
  tcp: Pass TCP header and payload separately to tcp_fill_headers[46]()
  tcp: Merge tcp_update_check_tcp[46]()
  tcp: Merge tcp_fill_headers[46]() with each other
  tcp_vu: Remove unnecessary tcp_vu_update_check() function

 checksum.c     |  58 +++++--------
 checksum.h     |   8 +-
 iov.c          |  91 ++++++++++++++++++++
 iov.h          |  76 ++++++++++++++++
 tap.c          |   6 +-
 tcp.c          | 229 +++++++++++++------------------------------------
 tcp_buf.c      |  33 ++++---
 tcp_internal.h |  21 ++---
 tcp_vu.c       | 120 ++++++++++----------------
 udp.c          |   7 +-
 udp_vu.c       |   9 +-
 11 files changed, 338 insertions(+), 320 deletions(-)

-- 
2.47.0


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

end of thread, other threads:[~2024-11-28 13:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-27  3:54 [PATCH 0/7] TCP buffer handling cleanups (including vhost) David Gibson
2024-11-27  3:54 ` [PATCH 1/7] iov: iov tail helpers David Gibson
2024-11-27  3:54 ` [PATCH 2/7] iov, checksum: Replace csum_iov() with csum_iov_tail() David Gibson
2024-11-27  3:54 ` [PATCH 3/7] tcp: Pass TCP header and payload separately to tcp_update_check_tcp[46]() David Gibson
2024-11-27  3:54 ` [PATCH 4/7] tcp: Pass TCP header and payload separately to tcp_fill_headers[46]() David Gibson
2024-11-27  3:54 ` [PATCH 5/7] tcp: Merge tcp_update_check_tcp[46]() David Gibson
2024-11-27  3:54 ` [PATCH 6/7] tcp: Merge tcp_fill_headers[46]() with each other David Gibson
2024-11-27  3:54 ` [PATCH 7/7] tcp_vu: Remove unnecessary tcp_vu_update_check() function David Gibson
2024-11-28 13:03 ` [PATCH 0/7] TCP buffer handling cleanups (including vhost) 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).