Re: [dpdk-dev] [PATCH v2] vhost: support virtqueue interrupt/notification suppression

2017-11-27 Thread Tiwei Bie
Hi, On Tue, Nov 28, 2017 at 04:48:26AM -0500, junjie.j.c...@intel.com wrote: [...] > @@ -195,6 +197,10 @@ struct vhost_msg { > > #define VHOST_USER_F_PROTOCOL_FEATURES 30 > > +#ifndef VIRTIO_F_EVENT_IDX > + #define VIRTIO_F_EVENT_IDX 29 > +#endif > + > /* Features supported by this bui

[dpdk-dev] [PATCH v2] vhost: support virtqueue interrupt/notification suppression

2017-11-27 Thread junjie . j . chen
From: Junjie Chen The driver can suppress interrupt when VIRTIO_F_EVENT_IDX feature bit is negotiated. The driver set vring flags to 0, and MAY use used_event in available ring to advise device interrupt util reach an index specified by used_event. The device ignore the lower bit of vring flags,