public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH 0/6] Introduce unified flow table, first steps
@ 2023-11-23  2:36 David Gibson
  2023-11-23  2:36 ` [PATCH 1/6] test: Make handling of shell prompts with escapes a little more reliable David Gibson
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: David Gibson @ 2023-11-23  2:36 UTC (permalink / raw)
  To: Stefano Brivio, passt-dev; +Cc: David Gibson

Here's my latest revision of some of the basics of the flow table.  So
far it's basically just a renaming of the existing TCP connection
table.  It's used for some new logging helpers, but otherwise doesn't
really function any differently.

However, this subset of the flow table work no longer bloats
flow/connection entries over a single cache line.  That removes the
most prominent drawback of earlier revisions, meaning I think this
series is ready for merge now.  Doing so will mean the later series
making more substantive changes to the flow behaviour are simpler.

David Gibson (6):
  test: Make handling of shell prompts with escapes a little more
    reliable
  flow, tcp: Generalise connection types
  flow, tcp: Move TCP connection table to unified flow table
  flow, tcp: Consolidate flow pointer<->index helpers
  flow: Make unified version of flow table compaction
  flow, tcp: Add logging helpers for connection related messages

 Makefile      |  14 +--
 flow.c        |  87 +++++++++++++++++++
 flow.h        |  60 +++++++++++++
 flow_table.h  |  45 ++++++++++
 passt.h       |   3 +
 tcp.c         | 232 +++++++++++++++++++++++---------------------------
 tcp.h         |   5 --
 tcp_conn.h    |  46 +++-------
 tcp_splice.c  |  88 +++++++++----------
 test/lib/term |   6 +-
 10 files changed, 361 insertions(+), 225 deletions(-)
 create mode 100644 flow.c
 create mode 100644 flow.h
 create mode 100644 flow_table.h

-- 
2.42.0


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

end of thread, other threads:[~2023-11-23 22:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-23  2:36 [PATCH 0/6] Introduce unified flow table, first steps David Gibson
2023-11-23  2:36 ` [PATCH 1/6] test: Make handling of shell prompts with escapes a little more reliable David Gibson
2023-11-23  2:36 ` [PATCH 2/6] flow, tcp: Generalise connection types David Gibson
2023-11-23  2:36 ` [PATCH 3/6] flow, tcp: Move TCP connection table to unified flow table David Gibson
2023-11-23  2:36 ` [PATCH 4/6] flow, tcp: Consolidate flow pointer<->index helpers David Gibson
2023-11-23  2:36 ` [PATCH 5/6] flow: Make unified version of flow table compaction David Gibson
2023-11-23  2:36 ` [PATCH 6/6] flow, tcp: Add logging helpers for connection related messages David Gibson
2023-11-23  6:58   ` Stefano Brivio
2023-11-23 22:14     ` David Gibson
2023-11-23  4:46 ` [PATCH 0/6] Introduce unified flow table, first steps 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).