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=202602 header.b=Q3Wy5n72; dkim-atps=neutral Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by passt.top (Postfix) with ESMTPS id 5F6DE5A0272 for ; Mon, 16 Mar 2026 06:46:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202602; t=1773639991; bh=fsgaBIGya6I0qGsRch2Iv/11khuOSaE1bfATol8iESg=; h=From:To:Cc:Subject:Date:From; b=Q3Wy5n72UAi5xZ0MxBQJo0MTDKGblifS6v6seBvcA1YhnPp3fRgeewOO/zKqcHkEc dvXIBCcM9BDtHYQ8ml70D9F+1pVaJ3wOq46Xq6ImT4d8PeyK4hBzPcP0LQoMbYgciW zx2Jin4jNDyhE//t2AzXwzcgvMsFdSyXfqwdeK3jLAuQAKKRmfv0qli/9NEPKSV7My aONMS4L75P03rA7MuxNKlfxxBQzSGq6KqoOOhYRuAHlkVEVTIdB99gRJpMkm/Z47Er Ta5fFoy3oIuUJj4gTktSpP03p80QBw/gjtUSkYOaApfuAE/LSo6vtzrWQC8qsV179a pLBdR7zY9+WHQ== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4fZ3xM4XvMz4wC6; Mon, 16 Mar 2026 16:46:31 +1100 (AEDT) From: David Gibson To: passt-dev@passt.top, Stefano Brivio Subject: [PATCH 0/5] RFC: Stub dynamic update implementation Date: Mon, 16 Mar 2026 16:46:24 +1100 Message-ID: <20260316054629.239002-1-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.53.0 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: 3CNOQA2PVAOPX7MRPBGUPBFQSFFEVEFX X-Message-ID-Hash: 3CNOQA2PVAOPX7MRPBGUPBFQSFFEVEFX 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: I've taken Stefano's draft implementation of dynamic updates, and polished it up to have a stub implementation of the dynamic update protocol. So far it doesn't actually do anything, beyond establishing the connection and checking versions. I'm continuing to work on the actual guts of it. Patches 1..3/5 are trivial cleanups I happened across while working on this. Feel free to apply if you like. 4/5 clears up a more specific problem that caused problems sharing code between client and server. 5/5 is the implementation proper. David Gibson (5): Makefile: Use $^ to avoid duplication in static checker rules doc: Fix formatting of (DEPRECATED) notes in man page pif: Remove unused PIF_NAMELEN treewide: Spell ASSERT() as assert() pesto: Introduce stub configuration interface and tool .gitignore | 2 + Makefile | 36 +++++++----- conf.c | 154 +++++++++++++++++++++++++++++++++++++++++++++++++-- conf.h | 2 + epoll_type.h | 4 ++ flow.c | 80 +++++++++++++------------- flow_table.h | 2 +- fwd.c | 14 ++--- icmp.c | 14 ++--- inany.h | 4 +- iov.c | 2 +- isolation.c | 2 +- lineread.c | 4 +- netlink.c | 2 +- packet.c | 4 +- passt.1 | 9 ++- passt.c | 10 +++- passt.h | 6 ++ pesto.1 | 47 ++++++++++++++++ pesto.c | 111 +++++++++++++++++++++++++++++++++++++ pesto.h | 34 ++++++++++++ pesto_util.c | 62 +++++++++++++++++++++ pesto_util.h | 19 +++++++ pif.c | 4 +- pif.h | 2 - tap.c | 6 +- tcp.c | 24 ++++---- tcp_splice.c | 10 ++-- tcp_vu.c | 8 +-- udp.c | 22 ++++---- udp_flow.c | 4 +- udp_vu.c | 4 +- util.c | 42 +------------- util.h | 15 ++--- vhost_user.c | 8 +-- virtio.c | 4 +- vu_common.c | 4 +- 37 files changed, 599 insertions(+), 182 deletions(-) create mode 100644 pesto.1 create mode 100644 pesto.c create mode 100644 pesto.h create mode 100644 pesto_util.c create mode 100644 pesto_util.h -- 2.53.0