public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH v23 0/4] State migration
@ 2025-02-14  9:08 David Gibson
  2025-02-14  9:08 ` [PATCH v23 1/4] flow: Flow table traversing macros David Gibson
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: David Gibson @ 2025-02-14  9:08 UTC (permalink / raw)
  To: Stefano Brivio, passt-dev; +Cc: David Gibson

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


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

end of thread, other threads:[~2025-02-14  9:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-14  9:08 [PATCH v23 0/4] State migration David Gibson
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

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).