From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=none (p=none dis=none) header.from=gibson.dropbear.id.au Authentication-Results: passt.top; dkim=pass (2048-bit key; secure) header.d=gibson.dropbear.id.au header.i=@gibson.dropbear.id.au header.a=rsa-sha256 header.s=202502 header.b=cOthizUV; dkim-atps=neutral Received: from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by passt.top (Postfix) with ESMTPS id 881E45A0639 for ; Fri, 14 Feb 2025 14:08:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202502; t=1739538527; bh=RYA/9BVePjzJgdJCHZO8Tm6oqvo/6o8IU0KTEUmpOOU=; h=From:To:Cc:Subject:Date:From; b=cOthizUV94pG6JnDxa6qkEpfDLcN1lgv1ubKrmzMG+bZk0jWOlzf48Vk+3k+AlloJ /by4/tSDNpNTdHOGjIIftJeG68L+/VmXYv04zKYcLVC9kQtDi9qwLRU4cZviLtJ1UE n3nO1DBG9H0MRAitoKkNbrLBJTiqdw43VuTZ3a5IwY15Hc2e78zBY6kRrCaLI9MKNK o/G2yAdHt84f65uIRUJ7QBf1SFUe3kmi70sXltUA/loIsKs5iCVJqgoikUWCU9ii5T E5g1tueMmionmGjjdY6KBpdiLBMBGFYtEgGIijnr5RQvRIXrklfBJmaQavPS88BRyo /fkeb6MVHLPHw== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4YvXRz6Z80z4x2J; Sat, 15 Feb 2025 00:08:47 +1100 (AEDT) From: David Gibson To: Stefano Brivio , passt-dev@passt.top Subject: [PATCH v24 0/5] State migration Date: Sat, 15 Feb 2025 00:08:40 +1100 Message-ID: <20250214130845.3475757-1-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.48.1 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: M653EXAK6Q2ESHDJAW3TVWMXRLEQHI5Y X-Message-ID-Hash: M653EXAK6Q2ESHDJAW3TVWMXRLEQHI5Y X-MailFrom: dgibson@gandalf.ozlabs.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: David Gibson X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Rebased / integrated Stefano's patch for allowing us to carry on by sacrificing some flows in more cases. David Gibson (3): vhost_user: Clear ring address on GET_VRING_BASE 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 | 335 ++++++++++++- flow.h | 13 + flow_table.h | 54 ++ migrate.c | 61 ++- migrate.h | 2 + passt.c | 6 +- repair.c | 1 - tcp.c | 950 ++++++++++++++++++++++++++++++++++++ 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 +- vhost_user.c | 1 + 24 files changed, 2176 insertions(+), 38 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