Make use of new rte_vhost API. vdev->vid is now set via new/destroy_connection(), new/destroy_device sets vdev->lcore. lcore != -1 implies vid != -1, hence some lcore checks have been replaced with vid checks. Change-Id: I08f4932ee7e6aeb3eba4874f2e94ad407764d9c2 Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/372075 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Pawel Wodkowski <pawelx.wodkowski@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
rte_vhost | ||
Makefile | ||
test_plan.md | ||
vhost_blk.c | ||
vhost_internal.h | ||
vhost_rpc.c | ||
vhost_scsi.c | ||
vhost.c |