Re: [virtio-dev] VM memory protection and zero-copy transfers.

2022-09-09 Thread Stefan Hajnoczi
On Fri, Sep 09, 2022 at 08:52:02AM +, Afsa, Baptiste wrote: > Hello, > > I ran some benchmarks to compare the performances achieved by the swiotlb > approach and our dynamic memory granting solution while using different buffer > sizes. Without any surprise, the swiotlb approach performs much

[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

[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 > >

[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,