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.129.124]) by passt.top (Postfix) with ESMTP id 0B8F95A0275 for ; Thu, 29 Feb 2024 09:11:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1709194301; 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=cW/ijsIA/rHbpw77OiycmL7GbNRAWSH8v3z+63EDHLI=; b=XDlf75k0uZ4MJ0rB4Bgqi95J34NGHvhU9NxuxolINiOA9DiuHKLyzUwxUwwR7POXMWo0dj LabQ/H6m26YUS515Rvgaxaz67a3Qf03noVD/7yohJs/xC8OIrx1DSCZaa+ryEHgZv+SoLZ rN53Bq259yf1b0ORYUVjecw4IB0IdaY= Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-471-PZuQTDpJPOyZ3oP9vFN-PQ-1; Thu, 29 Feb 2024 03:11:39 -0500 X-MC-Unique: PZuQTDpJPOyZ3oP9vFN-PQ-1 Received: by mail-ej1-f72.google.com with SMTP id a640c23a62f3a-a3f9b549179so50127266b.2 for ; Thu, 29 Feb 2024 00:11:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709194298; x=1709799098; 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=cW/ijsIA/rHbpw77OiycmL7GbNRAWSH8v3z+63EDHLI=; b=hDfyUfssEiIksVyNDK+1V/fwmMiDIUmDWHQXYDPM/H0M7YHFASCugHOEHuwfKuyjr9 189nq8t6McbIbWR/eAKqEIsZX4K+NhK0vUvaQhIk+gw5VtGkhIfmR0InhZr9ZqWVT6yz 0bY4q3nRXUwduPoWLKfRuPXoMpNG2oNl8kPmd9j2YAl9pZH9LMDbYLrjDa8BQ69JuvQk 1ORc9rMr5dX56+SzkWoVpUnGPbesiacJY2T6lJRQEzp+2N2Kdo/ip1KWjarHtjgOKMud 2jhM7KxIBdJ0q7oapTMQecQKdQDU+4p8T7c7XJJVVMG2s2WPwlY2bU6Fs09nW/xSNzHl ot2A== X-Forwarded-Encrypted: i=1; AJvYcCW4w4RUAyLIL+pH5K15G6iRoCfi17yZQnFGalRj7+9daRauuTi6k1YD1qJqRFAaehHatJE3kF0POwJizbFwAgjErgVJ X-Gm-Message-State: AOJu0YwAoeMUZZxoPvLLp4itThzOoFw649g/rBd3j/JEYhXLgQIjT18/ ouxVPKlJq/jKMgDqbzh35p+lK+LyBnheWhaJ8qVk0Wg4Nzsiu2U4oVzwxonHy/8QAViAFKEkkV3 t8C9aUX85+ECcFUS2l2d0LNtzMEEd2VXfclmZBH5NYiyRJ60Dvw== X-Received: by 2002:a17:906:417:b0:a44:1fcf:9b9c with SMTP id d23-20020a170906041700b00a441fcf9b9cmr994204eja.51.1709194298262; Thu, 29 Feb 2024 00:11:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IHtfApfmwFlCeM2pmYiPE6pbw6HSZd1ogIVKOF7P8O2gR+17xZnLwX1HsE165Ce0fXt0ZU2KA== X-Received: by 2002:a17:906:417:b0:a44:1fcf:9b9c with SMTP id d23-20020a170906041700b00a441fcf9b9cmr994191eja.51.1709194297918; Thu, 29 Feb 2024 00:11:37 -0800 (PST) Received: from maya.cloud.tilaa.com (maya.cloud.tilaa.com. [164.138.29.33]) by smtp.gmail.com with ESMTPSA id re8-20020a170906d8c800b00a43815bf5edsm414724ejb.133.2024.02.29.00.11.37 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Feb 2024 00:11:37 -0800 (PST) Date: Thu, 29 Feb 2024 09:11:02 +0100 From: Stefano Brivio To: David Gibson Subject: Re: [PATCH v2 0/7] Allow more use of iovecs in pcap and tap interfaces Message-ID: <20240229091102.74dc103d@elisabeth> In-Reply-To: <20240228015206.1214242-1-david@gibson.dropbear.id.au> References: <20240228015206.1214242-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: DSOABLEKAQEBTWWQP62H2QBD7JOXFUC2 X-Message-ID-Hash: DSOABLEKAQEBTWWQP62H2QBD7JOXFUC2 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: Laurent Vivier , passt-dev@passt.top 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 Wed, 28 Feb 2024 12:51:59 +1100 David Gibson wrote: > While working on other stuff I stumbled across some patches I wrote > quite a while back (part of a larger series on indefinite hiatus). > These make it easier to use the pcap and tap functions with frames > that aren't in a single contiguous buffer. > > This overlaps with some of the work in Laurent's vhost-user series, so > I've included the first of his patches and integrated it with my > changes. There will > > The first two patches have some overlap with the preliminary iovec > patches in the vhost-user series (and will certainly conflict). I do > think the pcap interface here is slightly better than the one in the > vhost-user series, although I did ack that. > > Stefano, if you've already applied / run tests for Laurent's series > then go ahead with it; I'll rework this on top of those. No, I hadn't. This one is applied now. -- Stefano