5e132b6b7a
This patch adds property of transport protocol id to spdk_scsi_dev. This allows to change it depending on which appliation is using the device. Previously only iSCSI was used for all. Setting protocol id is done at the time when device is added to vhost controller (vhost) or target node (iSCSI). Please note that for SPDK vhost SAS protocol id is used, as that is what kernel vhost reports as well. Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: I455a856c5d7796a749b6650fee0218d526e094ed Reviewed-on: https://review.gerrithub.io/362864 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> |
||
---|---|---|
.. | ||
linux | ||
rte_vhost | ||
Makefile | ||
task.c | ||
task.h | ||
vhost_internal.h | ||
vhost_iommu.c | ||
vhost_iommu.h | ||
vhost_rpc.c | ||
vhost_scsi.c | ||
vhost_scsi.h | ||
vhost.c |