From: Stefano Brivio <sbrivio@redhat.com>
To: passt-dev@passt.top
Cc: David Gibson <david@gibson.dropbear.id.au>
Subject: [PATCH v22 0/2] State migration
Date: Fri, 14 Feb 2025 00:03:17 +0100 [thread overview]
Message-ID: <20250213230319.4149345-1-sbrivio@redhat.com> (raw)
Not many changes compared to v21:
- Drop Bash-only == from tests, restore functionality with dash
- Rebase: this is now based on top of "tcp: Keep updating window and
checking for socket data after FIN from guest" and "tcp, tcp_splice:
Don't set SO_SNDBUF and SO_RCVBUF to maximum values"
Still missing:
- tests with half-closed socket
- complete error handling with (maybe?) tcpi_state == 0 as indication
that we failed to dump a given flow and we just want to restore the
next one
Stefano Brivio (2):
migrate: Migrate TCP flows
test: Add migration tests
contrib/selinux/passt.te | 4 +-
flow.c | 260 ++++++++++
flow.h | 8 +
migrate.c | 19 +
passt.c | 6 +-
repair.c | 1 -
tcp.c | 918 ++++++++++++++++++++++++++++++++++++
tcp_conn.h | 103 ++++
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 +-
21 files changed, 1990 insertions(+), 17 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.43.0
next reply other threads:[~2025-02-13 23:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-13 23:03 Stefano Brivio [this message]
2025-02-13 23:03 ` [PATCH v22 1/2] migrate: Migrate TCP flows Stefano Brivio
2025-02-13 23:03 ` [PATCH v22 2/2] test: Add migration tests Stefano Brivio
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=20250213230319.4149345-1-sbrivio@redhat.com \
--to=sbrivio@redhat.com \
--cc=david@gibson.dropbear.id.au \
--cc=passt-dev@passt.top \
/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).