Re: [RFC 0/3] virtio_ring: define flags as shifts consistently

From: Michael S. Tsirkin
Date: Fri Dec 07 2018 - 13:11:59 EST


On Fri, Dec 07, 2018 at 04:48:39PM +0800, Tiwei Bie wrote:
> This is a follow up of the discussion in this thread:
> https://patchwork.ozlabs.org/patch/1001015/#2042353

How was this tested? I'd suggest building virtio
before and after the changes, stripped binary
should be exactly the same.


> Tiwei Bie (3):
> virtio_ring: define flags as shifts consistently
> virtio_ring: add VIRTIO_RING_NO_LEGACY
> virtio_ring: use new vring flags
>
> drivers/virtio/virtio_ring.c | 100 ++++++++++++++++++-------------
> include/uapi/linux/virtio_ring.h | 61 +++++++++++++------
> 2 files changed, 103 insertions(+), 58 deletions(-)
>
> --
> 2.17.1