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> |
||
---|---|---|
.. | ||
acceptor.c | ||
acceptor.h | ||
conn.c | ||
conn.h | ||
crc32c.c | ||
crc32c.h | ||
init_grp.c | ||
init_grp.h | ||
iscsi_rpc.c | ||
iscsi_subsystem.c | ||
iscsi.c | ||
iscsi.h | ||
Makefile | ||
md5.c | ||
md5.h | ||
param.c | ||
param.h | ||
portal_grp.c | ||
portal_grp.h | ||
task.c | ||
task.h | ||
tgt_node.c | ||
tgt_node.h |