Spdk/lib/vhost
Dariusz Stojaczyk 808a2b05c2 vhost: fix overflow of avail entries count
Virtio 1.0 says that the effective capacity of vrings
is equal to the virtqueue size. When avail ring was full,
we detected it as empty.

Change-Id: I72f5d45cdc14db6b934ce7780e603a3de3131594
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/396804
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2018-01-29 12:40:00 -05:00
..
rte_vhost vhost_lib: enable virtio configuration space feature 2018-01-24 16:48:48 -05:00
Makefile env: Automatically register new memory with the IOMMU 2017-09-01 15:25:24 -04:00
vhost_blk.c vhost_blk: set proper vring_used_elem->len 2018-01-11 12:01:53 -05:00
vhost_internal.h util: extend cpumask to hold more than 64 cpus 2018-01-25 18:51:50 -05:00
vhost_rpc.c util: extend cpumask to hold more than 64 cpus 2018-01-25 18:51:50 -05:00
vhost_scsi.c scsi: remove lun name 2018-01-11 18:37:34 -05:00
vhost.c vhost: fix overflow of avail entries count 2018-01-29 12:40:00 -05:00