Re: [RFC 3/3] virtio_ring: use new vring flags

2018-12-09 Thread Michael S. Tsirkin
On Sat, Dec 08, 2018 at 09:47:29PM +0800, Tiwei Bie wrote: > On Fri, Dec 07, 2018 at 01:10:48PM -0500, Michael S. Tsirkin wrote: > > On Fri, Dec 07, 2018 at 04:48:42PM +0800, Tiwei Bie wrote: > > > Switch to using the _SPLIT_ and _PACKED_ variants of vring flags > > > in split ring and packed ring

Re: [RFC 3/3] virtio_ring: use new vring flags

2018-12-08 Thread Tiwei Bie
On Fri, Dec 07, 2018 at 01:10:48PM -0500, Michael S. Tsirkin wrote: > On Fri, Dec 07, 2018 at 04:48:42PM +0800, Tiwei Bie wrote: > > Switch to using the _SPLIT_ and _PACKED_ variants of vring flags > > in split ring and packed ring respectively. > > > > Signed-off-by: Tiwei Bie > > --- > > @@ -50

Re: [RFC 3/3] virtio_ring: use new vring flags

2018-12-07 Thread Michael S. Tsirkin
On Fri, Dec 07, 2018 at 04:48:42PM +0800, Tiwei Bie wrote: > Switch to using the _SPLIT_ and _PACKED_ variants of vring flags > in split ring and packed ring respectively. > > Signed-off-by: Tiwei Bie > --- > @@ -502,7 +505,8 @@ static inline int virtqueue_add_split(struct virtqueue > *_vq, >