From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by passt.top (Postfix) with ESMTPS id 66E325A0272 for ; Tue, 22 Aug 2023 07:30:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=201602; t=1692682203; bh=eXOabMyJV9Tu1p1sNkDU93XhGTxyrGY5PmQjp7OeM3E=; h=From:To:Cc:Subject:Date:From; b=UwYQbgNFFhyzxFf3pjkJS0P6YNFHYmeJJ21UXnNHpgBlUjsLq54vf6y0K2WmWM+ot EPcZ2qNTM3x/NxtGV9aJP2vWohl8fjTNueUgc7U2RQvAfqU3NvcHybeh4PiBs+eGoz e87py0OGKOruA5aJCwaiTI/71ulTsE8I9bGHsRH0= Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4RVHwq35jTz4wxy; Tue, 22 Aug 2023 15:30:03 +1000 (AEST) From: David Gibson To: Stefano Brivio , passt-dev@passt.top Subject: [PATCH v4 0/9] Flow Table Preliminaries Date: Tue, 22 Aug 2023 15:29:51 +1000 Message-ID: <20230822053000.1118063-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: WLAMJ4XATHXV3BKYRYFQNTKTCQRKVKGA X-Message-ID-Hash: WLAMJ4XATHXV3BKYRYFQNTKTCQRKVKGA 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. Sorry for the quick resend, noticed a dumb error in the last patch. Changes since v3: * Remove the now unused tcp.splice_conn_count Changes since v2: * Fix a formatting error in the in_epoll patch * Add patch for inany.h include guards * Add patch to remove broken pressure estimates for tcp_defer_handler() Changes since v1: * Add missing patch moving in_epoll flag David Gibson (9): 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 inany: Add missing double include guard to inany.h tcp: Remove broken pressure calculations for tcp_defer_handler() icmp.c | 12 ++- icmp.h | 3 +- inany.h | 5 ++ passt.c | 10 +-- passt.h | 4 +- pasta.c | 2 +- tap.c | 29 ++++---- tcp.c | 203 ++++++++++++++++++++++----------------------------- tcp.h | 7 +- tcp_conn.h | 18 +++-- tcp_splice.c | 6 +- udp.c | 37 ++++------ udp.h | 5 +- util.h | 4 +- 14 files changed, 156 insertions(+), 189 deletions(-) -- 2.41.0