vhost: fix vhost interrupt support
authorTiwei Bie <tiwei.bie@intel.com>
Tue, 4 Sep 2018 23:55:55 +0000 (07:55 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 14 Sep 2018 18:08:41 +0000 (20:08 +0200)
commit77de7c781cb6dbbf11c00118946fb4e46347116f
treeb6275cd526932c8995d3558c147c9269b2959184
parent1db4d2330bc849a19b9f18479ae7a5a75bc01df2
vhost: fix vhost interrupt support

When VIRTIO_RING_F_EVENT_IDX is negotiated, we need to
update the avail event to enable the notification.

Fixes: 3f8ff12821e4 ("vhost: support interrupt mode")
Cc: stable@dpdk.org
Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
lib/librte_vhost/Makefile
lib/librte_vhost/meson.build
lib/librte_vhost/vhost.c
lib/librte_vhost/vhost.h