Re: [virtio-dev] Re: [PATCH v7] virtio_net: support split header

2022-09-28 Thread Xuan Zhuo
On Tue, 27 Sep 2022 17:35:09 -0400, "Michael S. Tsirkin" wrote: > On Wed, Sep 14, 2022 at 11:34:43AM +0800, Jason Wang wrote: > > > > 在 2022/9/9 20:38, Xuan Zhuo 写道: > > > On Fri, 9 Sep 2022 07:15:02 -0400, "Michael S. Tsirkin" > > > wrote: > > > > On Fri, Sep 09, 2022 at 03:41:54PM +0800, Heng

Re: [virtio-dev] Re: [PATCH v7] virtio_net: support split header

2022-09-27 Thread Heng Qi
在 2022/9/28 上午5:35, Michael S. Tsirkin 写道: On Wed, Sep 14, 2022 at 11:34:43AM +0800, Jason Wang wrote: 在 2022/9/9 20:38, Xuan Zhuo 写道: On Fri, 9 Sep 2022 07:15:02 -0400, "Michael S. Tsirkin" wrote: On Fri, Sep 09, 2022 at 03:41:54PM +0800, Heng Qi wrote: 在 2022/9/5 上午4:27, Michael S. Tsir

Re: [virtio-dev] Re: [PATCH v7] virtio_net: support split header

2022-09-27 Thread Michael S. Tsirkin
On Wed, Sep 14, 2022 at 11:34:43AM +0800, Jason Wang wrote: > > 在 2022/9/9 20:38, Xuan Zhuo 写道: > > On Fri, 9 Sep 2022 07:15:02 -0400, "Michael S. Tsirkin" > > wrote: > > > On Fri, Sep 09, 2022 at 03:41:54PM +0800, Heng Qi wrote: > > > > > > > > 在 2022/9/5 上午4:27, Michael S. Tsirkin 写道: > > > >

Re: [virtio-dev] Re: [PATCH v7] virtio_net: support split header

2022-09-13 Thread Jason Wang
在 2022/9/9 20:38, Xuan Zhuo 写道: On Fri, 9 Sep 2022 07:15:02 -0400, "Michael S. Tsirkin" wrote: On Fri, Sep 09, 2022 at 03:41:54PM +0800, Heng Qi wrote: 在 2022/9/5 上午4:27, Michael S. Tsirkin 写道: On Fri, Sep 02, 2022 at 03:36:25PM +0800, Heng Qi wrote: We need to clarify that the purpose of

Re: [virtio-dev] Re: [PATCH v7] virtio_net: support split header

2022-09-13 Thread Heng Qi
On Fri, Sep 09, 2022 at 08:47:57PM +0800, Xuan Zhuo wrote: > > hi >Qi also sent another same email today. Due to some email client problems, >this email has some confusion in the format, so we can discuss >under another one. > >https://lists.oasis-open.org/archives/virtio-dev/2022

[virtio-dev] Re: [PATCH v7] virtio_net: support split header

2022-09-09 Thread Xuan Zhuo
hi Qi also sent another same email today. Due to some email client problems, this email has some confusion in the format, so we can discuss under another one. https://lists.oasis-open.org/archives/virtio-dev/202209/msg00066.html Thanks --

[virtio-dev] Re: [PATCH v7] virtio_net: support split header

2022-09-09 Thread Xuan Zhuo
On Fri, 9 Sep 2022 07:15:02 -0400, "Michael S. Tsirkin" wrote: > On Fri, Sep 09, 2022 at 03:41:54PM +0800, Heng Qi wrote: > > > > > > 在 2022/9/5 上午4:27, Michael S. Tsirkin 写道: > > > On Fri, Sep 02, 2022 at 03:36:25PM +0800, Heng Qi wrote: > > > > We need to clarify that the purpose of header split

[virtio-dev] Re: [PATCH v7] virtio_net: support split header

2022-09-09 Thread Michael S. Tsirkin
On Fri, Sep 09, 2022 at 03:41:54PM +0800, Heng Qi wrote: > > > 在 2022/9/5 上午4:27, Michael S. Tsirkin 写道: > > On Fri, Sep 02, 2022 at 03:36:25PM +0800, Heng Qi wrote: > > > We need to clarify that the purpose of header splitting is to make all > > > payloads > > > can be independently in a page,

Re: [virtio-dev] Re: [PATCH v7] virtio_net: support split header

2022-09-09 Thread Heng Qi
On Sun, Sep 04, 2022 at 04:27:38PM -0400, Michael S. Tsirkin wrote: > On Fri, Sep 02, 2022 at 03:36:25PM +0800, Heng Qi wrote: > > We need to clarify that the purpose of header splitting is to make all > > payloads > > can be independently in a page, which is beneficial for the zerocopy > > implem

[virtio-dev] Re: [PATCH v7] virtio_net: support split header

2022-09-09 Thread Heng Qi
在 2022/9/5 上午4:27, Michael S. Tsirkin 写道: On Fri, Sep 02, 2022 at 03:36:25PM +0800, Heng Qi wrote: We need to clarify that the purpose of header splitting is to make all payloads can be independently in a page, which is beneficial for the zerocopy implemented by the upper layer. absolutely,

Re: [virtio-dev] Re: [PATCH v7] virtio_net: support split header

2022-09-08 Thread Michael S. Tsirkin
On Mon, Sep 05, 2022 at 05:43:27PM +0800, Xuan Zhuo wrote: > On Mon, 5 Sep 2022 16:37:57 +0800, Heng Qi wrote: > > > > 在 2022/9/5 下午3:52, Xuan Zhuo 写道: > > > On Sun, 4 Sep 2022 16:31:59 -0400, "Michael S. Tsirkin" > > > wrote: > > >> On Fri, Sep 02, 2022 at 04:58:16PM +0800, Heng Qi wrote: > > >

[virtio-dev] Re: [PATCH v7] virtio_net: support split header

2022-09-05 Thread Jason Wang
在 2022/9/5 04:27, Michael S. Tsirkin 写道: On Fri, Sep 02, 2022 at 03:36:25PM +0800, Heng Qi wrote: We need to clarify that the purpose of header splitting is to make all payloads can be independently in a page, which is beneficial for the zerocopy implemented by the upper layer. absolutely, pl

[virtio-dev] Re: [PATCH v7] virtio_net: support split header

2022-09-05 Thread Jason Wang
在 2022/9/2 16:26, Heng Qi 写道: 在 2022/9/2 下午2:21, Jason Wang 写道: On Tue, Aug 16, 2022 at 5:35 PM Heng Qi wrote: From: Xuan Zhuo The purpose of this feature is to split the header and the payload of the packet. |receive buffer| |

Re: [virtio-dev] Re: [PATCH v7] virtio_net: support split header

2022-09-05 Thread Jason Wang
在 2022/9/5 17:43, Xuan Zhuo 写道: On Mon, 5 Sep 2022 16:37:57 +0800, Heng Qi wrote: 在 2022/9/5 下午3:52, Xuan Zhuo 写道: On Sun, 4 Sep 2022 16:31:59 -0400, "Michael S. Tsirkin" wrote: On Fri, Sep 02, 2022 at 04:58:16PM +0800, Heng Qi wrote: When VIRTIO_NET_F_SPLIT_TRANSPORT_HEADER is negotiated

[virtio-dev] Re: [PATCH v7] virtio_net: support split header

2022-09-05 Thread Xuan Zhuo
On Mon, 5 Sep 2022 16:37:57 +0800, Heng Qi wrote: > > 在 2022/9/5 下午3:52, Xuan Zhuo 写道: > > On Sun, 4 Sep 2022 16:31:59 -0400, "Michael S. Tsirkin" > > wrote: > >> On Fri, Sep 02, 2022 at 04:58:16PM +0800, Heng Qi wrote: > >>> When VIRTIO_NET_F_SPLIT_TRANSPORT_HEADER is negotiated, > >>> the driv

[virtio-dev] Re: [PATCH v7] virtio_net: support split header

2022-09-05 Thread Heng Qi
在 2022/9/5 下午3:52, Xuan Zhuo 写道: On Sun, 4 Sep 2022 16:31:59 -0400, "Michael S. Tsirkin" wrote: On Fri, Sep 02, 2022 at 04:58:16PM +0800, Heng Qi wrote: When VIRTIO_NET_F_SPLIT_TRANSPORT_HEADER is negotiated, the driver requires that the buffers submitted to receiveq MUST be composed of at le

[virtio-dev] Re: [PATCH v7] virtio_net: support split header

2022-09-05 Thread Xuan Zhuo
On Sun, 4 Sep 2022 16:31:59 -0400, "Michael S. Tsirkin" wrote: > On Fri, Sep 02, 2022 at 04:58:16PM +0800, Heng Qi wrote: > > When VIRTIO_NET_F_SPLIT_TRANSPORT_HEADER is negotiated, > > the driver requires that the buffers submitted to receiveq > > MUST be composed of at least two descriptors, > >

[virtio-dev] Re: [PATCH v7] virtio_net: support split header

2022-09-04 Thread Michael S. Tsirkin
On Fri, Sep 02, 2022 at 04:58:16PM +0800, Heng Qi wrote: > When VIRTIO_NET_F_SPLIT_TRANSPORT_HEADER is negotiated, > the driver requires that the buffers submitted to receiveq > MUST be composed of at least two descriptors, > which means that each buffer the device gets is a descriptor chain, > eve

[virtio-dev] Re: [PATCH v7] virtio_net: support split header

2022-09-04 Thread Michael S. Tsirkin
On Fri, Sep 02, 2022 at 03:36:25PM +0800, Heng Qi wrote: > We need to clarify that the purpose of header splitting is to make all > payloads > can be independently in a page, which is beneficial for the zerocopy > implemented by the upper layer. absolutely, pls add motivation. > If the driver do

[virtio-dev] Re: [PATCH v7] virtio_net: support split header

2022-09-02 Thread Heng Qi
在 2022/9/2 下午2:41, Michael S. Tsirkin 写道: On Fri, Sep 02, 2022 at 02:21:04PM +0800, Jason Wang wrote: On Tue, Aug 16, 2022 at 5:35 PM Heng Qi wrote: From: Xuan Zhuo The purpose of this feature is to split the header and the payload of the packet. |receive buffer

[virtio-dev] Re: [PATCH v7] virtio_net: support split header

2022-09-02 Thread Heng Qi
在 2022/9/2 下午2:21, Jason Wang 写道: On Tue, Aug 16, 2022 at 5:35 PM Heng Qi wrote: From: Xuan Zhuo The purpose of this feature is to split the header and the payload of the packet. |receive buffer| | 0th descriptor

[virtio-dev] Re: [PATCH v7] virtio_net: support split header

2022-09-02 Thread Heng Qi
在 2022/9/2 下午2:21, Jason Wang 写道: On Tue, Aug 16, 2022 at 5:35 PM Heng Qi wrote: From: Xuan Zhuo The purpose of this feature is to split the header and the payload of the packet. |receive buffer| | 0th descriptor

[virtio-dev] Re: [PATCH v7] virtio_net: support split header

2022-09-01 Thread Michael S. Tsirkin
On Tue, Aug 16, 2022 at 05:34:55PM +0800, Heng Qi wrote: > From: Xuan Zhuo > > The purpose of this feature is to split the header and the payload of > the packet. > > |receive buffer| > | 0th descriptor | 1

[virtio-dev] Re: [PATCH v7] virtio_net: support split header

2022-09-01 Thread Michael S. Tsirkin
On Fri, Sep 02, 2022 at 02:21:04PM +0800, Jason Wang wrote: > On Tue, Aug 16, 2022 at 5:35 PM Heng Qi wrote: > > > > From: Xuan Zhuo > > > > The purpose of this feature is to split the header and the payload of > > the packet. > > > > |receive buffer

[virtio-dev] Re: [PATCH v7] virtio_net: support split header

2022-09-01 Thread Jason Wang
On Tue, Aug 16, 2022 at 5:35 PM Heng Qi wrote: > > From: Xuan Zhuo > > The purpose of this feature is to split the header and the payload of > the packet. > > |receive buffer| > | 0th descriptor | 1th descri