From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by passt.top (Postfix) with ESMTP id 77F1C5A026D for ; Thu, 14 Mar 2024 17:41:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1710434492; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/V1H71qskBoCmq45XVneXWnKKUP56DKABu5dJ8MpIjM=; b=gV7yoRQ6gRzErajm8l9LgahGzkcGq+EcG0oW2Zza+IeU4WrTc9jiNnbwBAaNwAo54CXlqg wc04xJZ+WcNQi6JQu+vXzTNxQfnzFRSAYmYqmaskzCvX5Ke3bXyem9eQnG2BK9jP8MlAIn KQJ9iMwj0sh6ZJgfDeQP+6O7zauyzCo= Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-532-OFrMtTI_N--NIkWswu8V4A-1; Thu, 14 Mar 2024 12:41:31 -0400 X-MC-Unique: OFrMtTI_N--NIkWswu8V4A-1 Received: by mail-ej1-f71.google.com with SMTP id a640c23a62f3a-a4531df8727so38011166b.2 for ; Thu, 14 Mar 2024 09:41:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710434490; x=1711039290; h=content-transfer-encoding:mime-version:organization:references :in-reply-to:message-id:subject:cc:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=/V1H71qskBoCmq45XVneXWnKKUP56DKABu5dJ8MpIjM=; b=JGAyvhZXXFO6cl16lBLkTU30ZxUIV1ED9mMztkqhHaVExnE1YkVF4Eaz/4fKyMiW2e OFKU1pSVfcr4OBGMcSGHgyu6nWKVB9BAlbECdGxPBMZxO1Xpn5Wn7rmFy54Qd1lQQr8a TYddAedYD4mJfceezAFRfO+pdbZciZrMSJfB8YoSnLJX7kHqFvjIluulu7Rr/L3jLMIZ +CGKfNgUEb3NOUQ9ICOOezjcVudaXURV0/+mX79txIMIqezuMbbCXujEfVsicZZ7a1Dx IaJ4+wJMF6CAeVeYRdDF5Dc75EOplx2wMz0QQ24+o/0N/pivZDRHYTh5gLq7Lc1rvDZI NiRw== X-Gm-Message-State: AOJu0Yw585VMjlKH6zT4nvLCyTDgi09qjcVfEXBJYw+GshF3ia4iYCVB nKUySl476KNBqb6dCBkfakFDfZeI8NMLittXDPtZe4ccFO1fVFwgOP/CtTxp7wDVXMI0VQVXBmA l7BVxIVP9dWoS6aaQChWAz1JFISSi4IcTNBRJT3Vnz8yl8+gT3w== X-Received: by 2002:a17:907:784f:b0:a44:4c9e:8809 with SMTP id lb15-20020a170907784f00b00a444c9e8809mr1713613ejc.32.1710434489717; Thu, 14 Mar 2024 09:41:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHTt8mF9LTFP8fN3worNpymfMyYJs/rlwO2H8sOCkQ3hdHYAeZ1u2aWcnI/NE0RrdU3IrELsw== X-Received: by 2002:a17:907:784f:b0:a44:4c9e:8809 with SMTP id lb15-20020a170907784f00b00a444c9e8809mr1713601ejc.32.1710434489209; Thu, 14 Mar 2024 09:41:29 -0700 (PDT) Received: from maya.cloud.tilaa.com (maya.cloud.tilaa.com. [164.138.29.33]) by smtp.gmail.com with ESMTPSA id q21-20020a1709066b1500b00a461e206c00sm848441ejr.20.2024.03.14.09.41.28 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Mar 2024 09:41:28 -0700 (PDT) Date: Thu, 14 Mar 2024 17:40:54 +0100 From: Stefano Brivio To: David Gibson Subject: Re: [PATCH 0/4] Some improvements to the tap send path Message-ID: <20240314174054.0ff52474@elisabeth> In-Reply-To: <20240308065325.2181322-1-david@gibson.dropbear.id.au> References: <20240308065325.2181322-1-david@gibson.dropbear.id.au> Organization: Red Hat X-Mailer: Claws Mail 4.2.0 (GTK 3.24.36; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: VFBBIW46NJDA5FCZ6Q2W4SGP7EJW63XG X-Message-ID-Hash: VFBBIW46NJDA5FCZ6Q2W4SGP7EJW63XG X-MailFrom: sbrivio@redhat.com 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: passt-dev@passt.top, Laurent Vivier 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: On Fri, 8 Mar 2024 17:53:21 +1100 David Gibson wrote: > 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} Applied, with your new version of the comment to 'rembufs' in 1/4. -- Stefano