From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Sender: List-Post: List-Help: List-Unsubscribe: List-Subscribe: Received: from lists.oasis-open.org (oasis-open.org [10.110.1.242]) by lists.oasis-open.org (Postfix) with ESMTP id 554A4986607 for ; Wed, 28 Sep 2022 13:39:18 +0000 (UTC) Date: Wed, 28 Sep 2022 09:39:10 -0400 From: "Michael S. Tsirkin" Message-ID: <20220928093530-mutt-send-email-mst@kernel.org> References: <1663297006-64248-1-git-send-email-hengqi@linux.alibaba.com> <3c3cc916-c605-1ed2-d3ff-d8d8ce668f17@redhat.com> <20220920032824.GA125047@h68b04307.sqa.eu95> <1663903426.8765974-1-xuanzhuo@linux.alibaba.com> <20220923013341-mutt-send-email-mst@kernel.org> <619af5b3-4c38-955f-0f7f-f351f5a9527e@redhat.com> MIME-Version: 1.0 In-Reply-To: <619af5b3-4c38-955f-0f7f-f351f5a9527e@redhat.com> Subject: Re: [virtio-dev] [PATCH v8] virtio_net: support for split transport header Content-Type: text/plain; charset=us-ascii Content-Disposition: inline To: Jason Wang Cc: Xuan Zhuo , Virtio-Dev , Kangjie Xu , Heng Qi List-ID: On Mon, Sep 26, 2022 at 04:06:17PM +0800, Jason Wang wrote: > > Jason I think the issue with previous proposals is that they conflict > > with VIRTIO_F_ANY_LAYOUT. We have repeatedly found that giving the > > driver flexibility in arranging the packet in memory is benefitial. > > > Yes, but I didn't found how it can conflict the any_layout. Device can just > to not split the header when the layout doesn't fit for header splitting. > (And this seems the case even if we're using buffers). Well spec says: indicates to both the device and the driver that no assumptions were made about framing. if device assumes that descriptor boundaries are where driver wants packet to be stored that is clearly an assumption. -- MST --------------------------------------------------------------------- To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org