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

Maxime Coquelin maxime.coquelin at redhat.com
Wed Mar 20 08:36:04 CET 2019



On 3/17/19 7:38 AM, Jiayu Hu wrote:
> The VIRTIO_RING_F_EVENT_IDX feature of split ring might
> be broken, as the value of signalled_used is invalid
> after live migration, start up and virtio driver reload.
> 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 kernel backend to suppress
> more interrupts.
> 
> Fixes: e37ff954405a ("vhost: support virtqueue interrupt/notification suppression")
> Cc:stable at dpdk.org
> 
> Signed-off-by: Jiayu Hu<jiayu.hu at intel.com>
> ---
> change in v2:
> - fix virtio-net driver reload
> 
>   lib/librte_vhost/vhost.h      | 12 ++++++++----
>   lib/librte_vhost/vhost_user.c |  2 ++
>   2 files changed, 10 insertions(+), 4 deletions(-)


Applied to dpdk-next-virtio/master branch.

Thanks,
Maxime


More information about the dev mailing list