From: David Gibson <david@gibson.dropbear.id.au>
To: Stefano Brivio <sbrivio@redhat.com>, passt-dev@passt.top
Cc: David Gibson <david@gibson.dropbear.id.au>
Subject: [PATCH 0/8] RFC: Generalize flow tracking, part 1
Date: Fri, 28 Jul 2023 19:48:23 +1000 [thread overview]
Message-ID: <20230728094831.4097571-1-david@gibson.dropbear.id.au> (raw)
This is a first draft of the first part of implementing a more general
flow table (connection tracking) as described at:
https://pad.passt.top/p/NewForwardingModel
This is by no means complete. So far it doesn't really do anything
new, it just reorganizes the TCP connection table to be closer to the
more general flow table.
Still it's ready for preliminary review.
David Gibson (8):
tap: Don't clobber source address in tap6_handler()
tap: Pass source address to protocol handler functions
tcp: More precise terms for addresses and ports
tcp, udp: Don't include destination address in partially precomputed
csums
tcp, udp: Don't pre-fill IPv4 destination address in headers
tcp: Track guest-side correspondent address
tcp, flow: Introduce struct demiflow
tcp, flow: Perform TCP hash calculations based on demiflow structure
flow.h | 66 +++++++++++++++
icmp.c | 12 ++-
icmp.h | 3 +-
passt.c | 10 +--
passt.h | 4 +-
pasta.c | 2 +-
siphash.c | 1 +
tap.c | 29 ++++---
tcp.c | 227 ++++++++++++++++++++-------------------------------
tcp.h | 5 +-
tcp_conn.h | 9 +-
tcp_splice.c | 2 +
udp.c | 37 +++------
udp.h | 5 +-
util.h | 4 +-
15 files changed, 209 insertions(+), 207 deletions(-)
create mode 100644 flow.h
--
2.41.0
next reply other threads:[~2023-07-28 9:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-28 9:48 David Gibson [this message]
2023-07-28 9:48 ` [PATCH 1/8] tap: Don't clobber source address in tap6_handler() David Gibson
2023-07-28 9:48 ` [PATCH 2/8] tap: Pass source address to protocol handler functions David Gibson
2023-07-28 9:48 ` [PATCH 3/8] tcp: More precise terms for addresses and ports David Gibson
2023-07-28 9:48 ` [PATCH 4/8] tcp, udp: Don't include destination address in partially precomputed csums David Gibson
2023-07-28 9:48 ` [PATCH 5/8] tcp, udp: Don't pre-fill IPv4 destination address in headers David Gibson
2023-07-28 9:48 ` [PATCH 6/8] tcp: Track guest-side correspondent address David Gibson
2023-07-28 9:48 ` [PATCH 7/8] tcp, flow: Introduce struct demiflow David Gibson
2023-07-28 9:48 ` [PATCH 8/8] tcp, flow: Perform TCP hash calculations based on demiflow structure David Gibson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230728094831.4097571-1-david@gibson.dropbear.id.au \
--to=david@gibson.dropbear.id.au \
--cc=passt-dev@passt.top \
--cc=sbrivio@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).