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 DA2AD5A004E for ; Fri, 14 Jun 2024 03:51:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202312; t=1718329872; bh=1udwY7gvfUnBr2FPsPO5bb6AjRCE4exs2GOmzkeE6r4=; h=From:To:Cc:Subject:Date:From; b=KWGokGtrHZtdh/7hLuTDd4v/4nfBE4LNzhVp8Ap91z8UqAPNcqWj2JQJX3gkQscD+ btJcGzAAz0xFth9ci6Kvv6WHZy9/11k06Xtx7KyPdwwY7joXMVIajaQV+zkNqMT9V7 J/T3IDwbJ0UcHP1N5zRUTHZl21Wukff++QmmjGQUKmlZZl/xVZrIg0WPu8FYU54s+K piLunFjB1vPl7HOIUf5mY+Y0yBxsengtzz4efftut8pVr4NCZFdffv8PMgeMG6okJU kYmY7Ka+XOTCCkAAad9Ct1XEPRSYlEVyS7crxCTyVnI9fHDOl9rrDWtqmH+E+zcgom sPAroOtxNu83w== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4W0j1D2C0Qz4wc5; Fri, 14 Jun 2024 11:51:12 +1000 (AEST) From: David Gibson To: Stefano Brivio , passt-dev@passt.top Subject: [PATCH v2 0/4] Even more flow table preliminaries Date: Fri, 14 Jun 2024 11:51:04 +1000 Message-ID: <20240614015108.2761502-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: S2ZDTS4ZLO2WA47VKZLR36CQ7YUIAKPQ X-Message-ID-Hash: S2ZDTS4ZLO2WA47VKZLR36CQ7YUIAKPQ 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 hoped that the last batch was the last, but I was wrong. Working on UDP flow has shown up a few more things that make sense to do before taking the leap into full flow table implementation. Here's what I have so far, though there could be even more. Changes since v1: * Assorted minor style and comment changes based on Stefano's review. David Gibson (4): util: Split construction of bind socket address from the rest of sock_l4() udp: Fold checking of splice flag into udp_mmh_splice_port() udp: Rework how we divide queued datagrams between sending methods udp: Move management of udp[46]_localname into udp_splice_send() udp.c | 176 +++++++++++++++++++++++++++++++++------------------------ util.c | 123 +++++++++++++++++++++++----------------- 2 files changed, 171 insertions(+), 128 deletions(-) -- 2.45.2