numam-dpdk/lib/librte_vhost
Huawei Xie 159793ac86 vhost: fix virtio freeze due to missed interrupt
Update of used->idx and read of avail->flags could be reordered.
Memory fence should be used to ensure the order, otherwise guest could see
a stale used->idx value after it toggles the interrupt suppression flag.
After guest sets the interrupt suppression flag, it will check if there
is more buffer to process through used->idx. If it sees a stale value,
it will exit the processing while host won't send interrupt to guest.

Signed-off-by: Huawei Xie <huawei.xie@intel.com>
Reviewed-by: Luke Gorrie <luke@snabb.co>
2015-05-13 12:16:47 +02:00
..
eventfd_link vhost: fix file struct leakage 2015-03-26 22:33:41 +01:00
libvirt vhost: move from examples to dedicated library 2014-10-13 19:10:09 +02:00
vhost_cuse vhost: support ifname for vhost-user 2015-02-24 01:38:16 +01:00
vhost_user vhost: fix build 2015-03-20 23:01:42 +01:00
Makefile vhost: add build option for vhost-user 2015-03-17 00:46:01 +01:00
rte_vhost_version.map lib: provide initial versioning 2015-02-03 16:56:58 +01:00
rte_virtio_net.h vhost: remove inclusion of mbuf header 2015-05-11 15:36:37 +02:00
vhost_rxtx.c vhost: fix virtio freeze due to missed interrupt 2015-05-13 12:16:47 +02:00
vhost-net.h lib: fix C++11 compilation 2015-02-24 02:46:52 +01:00
virtio-net.c vhost: check file descriptor before closing 2015-03-09 12:46:46 +01:00
virtio-net.h vhost: implement cuse memory table 2015-02-24 01:38:14 +01:00