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 7B7295A0271 for ; Fri, 8 Mar 2024 07:53:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202312; t=1709880807; bh=xM4hRYry36KjiBw8rjaAwiJk+SZu+hE0pMTHtksHm2Q=; h=From:To:Cc:Subject:Date:From; b=ah56v4VQXzL4FlE1jr3lcoYDHv8cXMRMxp/HTttOxMkD5rQ+cVGfhgFip9U/RAJ0r ES3kLEabMyaQj9goNnri1AA77zK34Mymo4C5+1R8fofQmSh06VbXwF9ONPdAG0fy3N FiqTIeGduP0e+pinZJ32T5KzEbMGU+ghFd/5b00eIhsouLqxb8zb/7cKzq1yAcNMbU g+Bfkm26MzoUo/A64RQl+L53qy6kDwMJIlxsFFt67WQLbgpdPuaXV9kie6HubIthTI wiofkW9PJHhWZj4ijwgC0A6D4P7BQf3rN7hZObR4sM11WPcqcIhgMKVpxiEq5tmMFe tWA8ELhGLYt2g== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4TrcMC4pbSz4wc4; Fri, 8 Mar 2024 17:53:27 +1100 (AEDT) From: David Gibson To: Stefano Brivio , passt-dev@passt.top Subject: [PATCH 0/4] Some improvements to the tap send path Date: Fri, 8 Mar 2024 17:53:21 +1100 Message-ID: <20240308065325.2181322-1-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.44.0 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: 4GRCLTH7GCRGP5GVYI6KLAL4KBPCWXHC X-Message-ID-Hash: 4GRCLTH7GCRGP5GVYI6KLAL4KBPCWXHC 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: Laurent Vivier , 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 a handful of small improvements to the tap send path. See individual commit messages for the details. I expect this will conflict with Laurent's upcoming work. I hope the conflicts won't be too bad, and indeed will set us up for less duplication there in the end. This is based on Laurent's patch fixing pcap_multiple() not to capture frames we failed to send. David Gibson (4): tap: Extend tap_send_frames() to allow multi-buffer frames tap: Simplify some casts in the tap "slow path" functions tap: Implement tap_send() "slow path" in terms of fast path tap: Rename tap_iov_{base,len} arp.c | 4 +- tap.c | 158 +++++++++++++++++++++++++++++++--------------------------- tap.h | 19 +++---- tcp.c | 20 ++++---- udp.c | 10 ++-- 5 files changed, 111 insertions(+), 100 deletions(-) -- 2.44.0