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 v23 0/4] State migration
Date: Fri, 14 Feb 2025 20:08:02 +1100 [thread overview]
Message-ID: <20250214090806.2261034-1-david@gibson.dropbear.id.au> (raw)
Brain dead today, didn't make much progress on bugs. In particular
migrate/iperf3_bidir6 still fails for me with an EAGAIN trying to
restore the sndq (the sent but not acked part, in repair mode).
I did, however, do a substantial restructure of how we handle flow
migration, which should make it easier to tweak our "pre" and "post"
steps for each flow. I *think* disabling/re-enabling nonblocking mode
on our sockets in the new freeze/thaw handlers will fix the EAGAIN
problem, but I ran out of time before trying it.
David Gibson (2):
flow: Flow table traversing macros
flow, migrate: Flow migration skeleton
Stefano Brivio (2):
migrate: Migrate TCP flows
test: Add migration tests
contrib/selinux/passt.te | 4 +-
flow.c | 309 +++++++++++-
flow.h | 13 +
flow_table.h | 52 ++
migrate.c | 47 +-
migrate.h | 2 +
passt.c | 6 +-
repair.c | 1 -
tcp.c | 918 ++++++++++++++++++++++++++++++++++++
tcp_conn.h | 99 ++++
test/lib/layout | 55 ++-
test/lib/setup | 138 +++++-
test/lib/test | 48 ++
test/migrate/basic | 59 +++
test/migrate/bidirectional | 64 +++
test/migrate/iperf3_bidir6 | 58 +++
test/migrate/iperf3_in4 | 50 ++
test/migrate/iperf3_in6 | 58 +++
test/migrate/iperf3_out4 | 50 ++
test/migrate/iperf3_out6 | 58 +++
test/migrate/rampstream_in | 10 +-
test/migrate/rampstream_out | 6 +-
test/run | 34 +-
23 files changed, 2108 insertions(+), 31 deletions(-)
create mode 100644 test/migrate/basic
create mode 100644 test/migrate/bidirectional
create mode 100644 test/migrate/iperf3_bidir6
create mode 100644 test/migrate/iperf3_in4
create mode 100644 test/migrate/iperf3_in6
create mode 100644 test/migrate/iperf3_out4
create mode 100644 test/migrate/iperf3_out6
--
2.48.1
next reply other threads:[~2025-02-14 9:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-14 9:08 David Gibson [this message]
2025-02-14 9:08 ` [PATCH v23 1/4] flow: Flow table traversing macros David Gibson
2025-02-14 9:08 ` [PATCH v23 2/4] flow, migrate: Flow migration skeleton David Gibson
2025-02-14 9:08 ` [PATCH v23 3/4] migrate: Migrate TCP flows David Gibson
2025-02-14 9:08 ` [PATCH v23 4/4] test: Add migration tests 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=20250214090806.2261034-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).