Re: [PATCH 5/5] virtio: enable VIRTIO_F_RING_PACKED for all devices

2020-05-29 Thread Stefan Hajnoczi
On Fri, May 29, 2020 at 03:15:59PM +0800, Jason Wang wrote: > > On 2020/5/23 上午1:17, Stefan Hajnoczi wrote: > > The packed virtqueue layout was introduced in VIRTIO 1.1. It is a single > > ring instead of a split avail/used ring design. There are CPU cache > > advantages to this layout and it is

Re: [PATCH 5/5] virtio: enable VIRTIO_F_RING_PACKED for all devices

2020-05-29 Thread Jason Wang
On 2020/5/23 上午1:17, Stefan Hajnoczi wrote: The packed virtqueue layout was introduced in VIRTIO 1.1. It is a single ring instead of a split avail/used ring design. There are CPU cache advantages to this layout and it is also suited better to hardware implementation. The vhost-net backend has

Re: [PATCH 5/5] virtio: enable VIRTIO_F_RING_PACKED for all devices

2020-05-26 Thread Dr. David Alan Gilbert
* Stefan Hajnoczi (stefa...@redhat.com) wrote: > The packed virtqueue layout was introduced in VIRTIO 1.1. It is a single > ring instead of a split avail/used ring design. There are CPU cache > advantages to this layout and it is also suited better to hardware > implementation. > > The vhost-net

[PATCH 5/5] virtio: enable VIRTIO_F_RING_PACKED for all devices

2020-05-22 Thread Stefan Hajnoczi
The packed virtqueue layout was introduced in VIRTIO 1.1. It is a single ring instead of a split avail/used ring design. There are CPU cache advantages to this layout and it is also suited better to hardware implementation. The vhost-net backend has already supported packed virtqueues for some