Spdk/lib/vhost
Darek Stojaczyk f94be73dc9 vhost: explicitly set VRING_USED_F_NO_NOTIFY
We used to call a dpdk function to do it, but using
a function for something that simple doesn't make sense.
The function also does its internal queue lookup by vid
and queue number, which could potentially fail, return an
error and technically require SPDK to handle it.

The function makes some sense for vhost-net applications
which don't touch vrings directly but rely on rte_vhost's
API for enqueueing/dequeuing mbufs. SPDK touches DPDK's
rings directly for the entire I/O handling, so it might
just as well for initialization.

This serves as cleanup.

Change-Id: Ifb44fa22ea5fc3633aa85f075aa1a5cd02f5423c
Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/466745
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2019-09-09 05:41:56 +00:00
..
rte_vhost vhost: remove unnecessary membarrier on I/O completion 2019-08-23 22:34:02 +00:00
Makefile vhost: install external msg handling hooks to rte_vhost 2019-03-13 14:26:20 +00:00
rte_vhost_compat.c vhost: remove spdk_ prefix from private functions 2019-09-09 01:39:41 +00:00
vhost_blk.c vhost: make poll group refcount per-session 2019-09-09 01:39:41 +00:00
vhost_internal.h vhost: add a separate cpl cb to foreach_session() 2019-09-09 01:39:41 +00:00
vhost_nvme.c vhost: make poll group refcount per-session 2019-09-09 01:39:41 +00:00
vhost_rpc.c vhost: remove spdk_ prefix from private functions 2019-09-09 01:39:41 +00:00
vhost_scsi.c vhost: make poll group refcount per-session 2019-09-09 01:39:41 +00:00
vhost.c vhost: explicitly set VRING_USED_F_NO_NOTIFY 2019-09-09 05:41:56 +00:00