Added vdev->id field and refactored the hot vhost external event code operating on g_spdk_vhost_devices array, so that we will be able to switch from that array to a linked list with unlimited capacity more easily. This patch does not change any functionality on its own. We would very willingly reuse vdev->vid here, but it's available only on devices with active connections. Change-Id: Ife911a6ca1531aade374b99ef4502cf77f691fa2 Signed-off-by: Slawomir Mrozowicz <slawomirx.mrozowicz@intel.com> Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/389071 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
rte_vhost | ||
Makefile | ||
vhost_blk.c | ||
vhost_internal.h | ||
vhost_rpc.c | ||
vhost_scsi.c | ||
vhost.c |