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

2018-01-09 Thread Yuanhan Liu
On Tue, Jan 09, 2018 at 07:34:17AM +, Yao, Lei A wrote: > > > > -Original Message- > > From: Chen, Junjie J > > Sent: Tuesday, January 9, 2018 7:04 PM > > To: y...@fridaylinux.org; maxime.coque...@redhat.com; Wang, Xiao W > > ; Bie, Tiwei ; Yao, Lei A > > > > Cc: dev@dpdk.org; Chen,

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

2018-01-09 Thread Maxime Coquelin
On 01/09/2018 12:03 PM, Junjie Chen wrote: 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

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

2018-01-08 Thread Yao, Lei A
> -Original Message- > From: Chen, Junjie J > Sent: Tuesday, January 9, 2018 7:04 PM > To: y...@fridaylinux.org; maxime.coque...@redhat.com; Wang, Xiao W > ; Bie, Tiwei ; Yao, Lei A > > Cc: dev@dpdk.org; Chen, Junjie J > Subject: [PATCH v7] vhost: support virtqueue interrupt/notificatio

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

2018-01-08 Thread 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, and send an interrup