From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by passt.top (Postfix) with ESMTPS id 6DD115A027B for ; Fri, 11 Aug 2023 14:54:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=201602; t=1691758448; bh=gvQaa1FF88iYIY1swfz5YTjktTsAPmrX/qwYJLFaVOY=; h=From:To:Cc:Subject:Date:From; b=XOoxlSnQK/octNr95yXyluStY43oexTA4ChrlBQ+A7TrVyHPasjJN9xWUpTUbScgo Y+37Brknh6vBfxR/X0tLR4WHdT/EcKzIYMhMvy9T3wjy4As8NRzAYpy6u3RPVGDdVx FzvfcqdlirHfiUEtbME+pizF48j//O1z3aU5k8Ec= Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4RMkJJ2xNyz4wZx; Fri, 11 Aug 2023 22:54:08 +1000 (AEST) From: David Gibson To: passt-dev@passt.top, Stefano Brivio Subject: [PATCH v2 0/7] Flow Table Preliminaries Date: Fri, 11 Aug 2023 22:53:58 +1000 Message-ID: <20230811125405.1364340-1-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.41.0 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: B3DHNRCBWIYVHX44AHCPRE256WJ7J4BT X-Message-ID-Hash: B3DHNRCBWIYVHX44AHCPRE256WJ7J4BT 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'm still working on bunch of things to start implementing the generalised flow table. However, I think this set of preliminary clean ups and fixes stand well enough on their own that they're ready for merge now. Based on the epoll patch series. Changes since v1: * Add missing patch moving in_epoll flag David Gibson (7): tap: Don't clobber source address in tap6_handler() tap: Pass source address to protocol handler functions tcp: More precise terms for addresses and ports tcp: Consistent usage of ports in tcp_seq_init() tcp, udp: Don't include destination address in partially precomputed csums tcp, udp: Don't pre-fill IPv4 destination address in headers tcp: Move in_epoll flag out of common connection structure icmp.c | 12 ++-- icmp.h | 3 +- passt.c | 10 ++- passt.h | 4 +- pasta.c | 2 +- tap.c | 29 ++++---- tcp.c | 194 +++++++++++++++++++++++---------------------------- tcp.h | 5 +- tcp_conn.h | 18 ++--- tcp_splice.c | 4 +- udp.c | 37 ++++------ udp.h | 5 +- util.h | 4 +- 13 files changed, 151 insertions(+), 176 deletions(-) -- 2.41.0