From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by passt.top (Postfix) with ESMTPS id C83EA5A004E for ; Wed, 17 Jul 2024 06:52:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202312; t=1721191945; bh=IKHnrYvKETafsunygQ9x4a1PAcbF3xOxzyahop9a9jI=; h=From:To:Cc:Subject:Date:From; b=VAWg/7+qTiz7QqHQo2Fq68YAuuUUbGquJJWJn57tSNbeno93BcWf+eQaS3U9CdzOx 8pd5sDLBkVwU5EK4noySG0W0+rsgexqT+gAYlfopMdDo3Q/s7OF2sVogqm0gLRAWB6 kYVzJ5g8pZ9BY/QGwvJs0r/Hl/rM5tPd6Uixrp5mYhg6sueEEGlGd/InChK73x5L37 IZ7880upOTe8dljqtan9lWsUDpqsRs40gBEG6P+mUBub0zh5MSeEnImZ2LpbiKrzn5 SsPIKhMOFQtmuoP3+vwwqvCqv6Y6aGBo2RaNnsTDMGbXfoeV2Bbr6FByZfLzWEfNAc NpJmVOBtYnIcg== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4WP3T53V7Qz4w2S; Wed, 17 Jul 2024 14:52:25 +1000 (AEST) From: David Gibson To: passt-dev@passt.top, Stefano Brivio Subject: [PATCH 0/6] Of course there are more flow table preliminaries Date: Wed, 17 Jul 2024 14:52:17 +1000 Message-ID: <20240717045223.2309975-1-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.45.2 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: TNWLFLQAMND4ULGB2RS76D4Q3FS2LYDO X-Message-ID-Hash: TNWLFLQAMND4ULGB2RS76D4Q3FS2LYDO 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: This series has some further preliminaries for the flow table. Specifically this is focused on some clean ups to handling of indicies for flows and sides. We also add some additional test programs for platform requirements. This is based on the series adding UDP error handling. David Gibson (6): flow, icmp, tcp: Clean up helpers for getting flow from index flow, tcp_splice: Prefer 'sidei' for variables referring to side index flow: Introduce flow_foreach_sidei() macro tcp_splice: Use parameterised macros for per-side event/flag bits doc: Test behaviour of closing duplicate UDP sockets doc: Extend zero-recv test with methods using msghdr doc/platform-requirements/.gitignore | 1 + doc/platform-requirements/Makefile | 4 +- doc/platform-requirements/recv-zero.c | 60 +++++++-- doc/platform-requirements/udp-close-dup.c | 105 +++++++++++++++ flow.h | 16 +-- flow_table.h | 48 +++++-- icmp.c | 22 +++- tcp.c | 28 +++- tcp_conn.h | 15 +-- tcp_splice.c | 152 ++++++++++++---------- 10 files changed, 332 insertions(+), 119 deletions(-) create mode 100644 doc/platform-requirements/udp-close-dup.c -- 2.45.2