public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH 00/11] Preliminaries for UDP flow support
@ 2024-07-04  4:58 David Gibson
  2024-07-04  4:58 ` [PATCH 01/11] util: sock_l4() determine protocol from epoll type rather than the reverse David Gibson
                   ` (10 more replies)
  0 siblings, 11 replies; 24+ messages in thread
From: David Gibson @ 2024-07-04  4:58 UTC (permalink / raw)
  To: Stefano Brivio, passt-dev; +Cc: David Gibson

The redesign of UDP flows required (or at least, suggested) a new
batch of prelininary changes that don't rely on the core of the flow
table rework.

David Gibson (11):
  util: sock_l4() determine protocol from epoll type rather than the
    reverse
  flow: Add flow_sidx_valid() helper
  udp: Pass full epoll reference through more of sock handler path
  udp: Rename IOV and mmsghdr arrays
  udp: Unify udp[46]_mh_splice
  udp: Unify udp[46]_l2_iov
  udp: Don't repeatedly initialise udp[46]_eth_hdr
  udp: Move some more of sock_handler tasks into sub-functions
  udp: Consolidate datagram batching
  contrib: Add program to document and test assumptions about
    SO_REUSEADDR
  contrib: Test behaviour of zero length datagram recv()s

 contrib/udp-behaviour/.gitignore           |   2 +
 contrib/udp-behaviour/Makefile             |  45 +++
 contrib/udp-behaviour/common.c             |  66 ++++
 contrib/udp-behaviour/common.h             |  47 +++
 contrib/udp-behaviour/recv-zero.c          |  74 +++++
 contrib/udp-behaviour/reuseaddr-priority.c | 240 ++++++++++++++
 epoll_type.h                               |  41 +++
 flow.h                                     |  11 +
 flow_table.h                               |   2 +-
 icmp.c                                     |   2 +-
 passt.h                                    |  32 --
 tcp.c                                      |  17 +-
 udp.c                                      | 361 ++++++++++-----------
 util.c                                     |  48 +--
 util.h                                     |   3 +-
 15 files changed, 735 insertions(+), 256 deletions(-)
 create mode 100644 contrib/udp-behaviour/.gitignore
 create mode 100644 contrib/udp-behaviour/Makefile
 create mode 100644 contrib/udp-behaviour/common.c
 create mode 100644 contrib/udp-behaviour/common.h
 create mode 100644 contrib/udp-behaviour/recv-zero.c
 create mode 100644 contrib/udp-behaviour/reuseaddr-priority.c
 create mode 100644 epoll_type.h

-- 
2.45.2


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

end of thread, other threads:[~2024-07-05 10:44 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-04  4:58 [PATCH 00/11] Preliminaries for UDP flow support David Gibson
2024-07-04  4:58 ` [PATCH 01/11] util: sock_l4() determine protocol from epoll type rather than the reverse David Gibson
2024-07-04 21:19   ` Stefano Brivio
2024-07-04 23:51     ` David Gibson
2024-07-04  4:58 ` [PATCH 02/11] flow: Add flow_sidx_valid() helper David Gibson
2024-07-04  4:58 ` [PATCH 03/11] udp: Pass full epoll reference through more of sock handler path David Gibson
2024-07-04 21:20   ` Stefano Brivio
2024-07-04 23:54     ` David Gibson
2024-07-04  4:58 ` [PATCH 04/11] udp: Rename IOV and mmsghdr arrays David Gibson
2024-07-04 21:20   ` Stefano Brivio
2024-07-05  0:00     ` David Gibson
2024-07-04  4:58 ` [PATCH 05/11] udp: Unify udp[46]_mh_splice David Gibson
2024-07-04  4:58 ` [PATCH 06/11] udp: Unify udp[46]_l2_iov David Gibson
2024-07-04  4:58 ` [PATCH 07/11] udp: Don't repeatedly initialise udp[46]_eth_hdr David Gibson
2024-07-04  4:58 ` [PATCH 08/11] udp: Move some more of sock_handler tasks into sub-functions David Gibson
2024-07-04  4:58 ` [PATCH 09/11] udp: Consolidate datagram batching David Gibson
2024-07-05  9:10   ` Stefano Brivio
2024-07-05  9:36     ` David Gibson
2024-07-04  4:58 ` [PATCH 10/11] contrib: Add program to document and test assumptions about SO_REUSEADDR David Gibson
2024-07-04 21:21   ` Stefano Brivio
2024-07-05  0:06     ` David Gibson
2024-07-05  8:33       ` Stefano Brivio
2024-07-05  9:49         ` David Gibson
2024-07-04  4:58 ` [PATCH 11/11] contrib: Test behaviour of zero length datagram recv()s David Gibson

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).