Re: [dpdk-dev] [PATCH] vhost: fix interrupt suppression for the split ring

2019-02-27 Thread Tiwei Bie
On Wed, Feb 27, 2019 at 01:38:28PM +0800, Hu, Jiayu wrote: > > -Original Message- > > From: Bie, Tiwei > > Sent: Monday, February 25, 2019 3:07 PM > > To: Hu, Jiayu > > Cc: dev@dpdk.org; maxime.coque...@redhat.com; sta...@dpdk.org > > Subject: Re: [PATCH] vhost: fix interrupt suppression f

Re: [dpdk-dev] [PATCH] vhost: fix interrupt suppression for the split ring

2019-02-26 Thread Hu, Jiayu
> -Original Message- > From: Bie, Tiwei > Sent: Monday, February 25, 2019 3:07 PM > To: Hu, Jiayu > Cc: dev@dpdk.org; maxime.coque...@redhat.com; sta...@dpdk.org > Subject: Re: [PATCH] vhost: fix interrupt suppression for the split ring > > On Fri, Feb 22, 2019 at 04:13:50PM +0800, Jiay

Re: [dpdk-dev] [PATCH] vhost: fix interrupt suppression for the split ring

2019-02-24 Thread Tiwei Bie
On Fri, Feb 22, 2019 at 04:13:50PM +0800, Jiayu Hu wrote: > The VIRTIO_RING_F_EVENT_IDX feature of split ring might > be broken, as the value of signalled_used is unpredictable > after live migration or start up. This patch fixes it by > using signalled_used_valid. Seems you also need to invalidat

[dpdk-dev] [PATCH] vhost: fix interrupt suppression for the split ring

2019-02-22 Thread Jiayu Hu
The VIRTIO_RING_F_EVENT_IDX feature of split ring might be broken, as the value of signalled_used is unpredictable after live migration or start up. This patch fixes it by using signalled_used_valid. In addition, this patch makes the VIRTIO_RING_F_EVENT_IDX implementation of split ring match kerne