public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
From: Stefano Brivio <sbrivio@redhat.com>
To: passt-dev@passt.top
Cc: David Gibson <david@gibson.dropbear.id.au>
Subject: [PATCH v19 0/2] A-bit-less-draft state migration
Date: Thu, 13 Feb 2025 00:41:17 +0100	[thread overview]
Message-ID: <20250212234120.2356791-1-sbrivio@redhat.com> (raw)

Compared to v18:

- add save and restore of permitted SACK and timestamps

- return ENOBUFS if pending queues are too large, not ENOMEM

- print SO_PEEK_OFF state from v18 9/9

- fix headers of rampstream_in and rampstream_out tests

- filter out non-established TCP flows

- fix SELinux rule for queue ioctl(): it's getattr, not ioctl

Still missing:

- reasonable error handling, and "empty flows" if target
  expects them but we fail to fetch them

- tests with half-closed sockets

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                       | 916 ++++++++++++++++++++++++++++++++++++
 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                    |  29 ++
 21 files changed, 1984 insertions(+), 16 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


             reply	other threads:[~2025-02-12 23:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-12 23:41 Stefano Brivio [this message]
2025-02-12 23:41 ` [PATCH v19 1/2] migrate: Migrate TCP flows Stefano Brivio
2025-02-12 23:41 ` [PATCH v19 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=20250212234120.2356791-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).