numam-spdk/lib/iscsi
Tomasz Zawadzki 5e132b6b7a scsi: Set proper transport protocol id
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>
2017-06-01 12:10:22 -04:00
..
acceptor.c include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
acceptor.h iscsi: Add an iscsi library. 2016-08-03 14:43:40 -07:00
conn.c iscsi/conn: Fix the bug when iterates the read command subtasks. 2017-05-11 08:09:23 +08:00
conn.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
crc32c.c include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
crc32c.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
init_grp.c include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
init_grp.h iscsi: Add an iscsi library. 2016-08-03 14:43:40 -07:00
iscsi_rpc.c scsi: make spdk_scsi_dev definition private 2017-05-03 12:34:57 -07:00
iscsi_subsystem.c subsystem: make subsystem init in async manner 2017-05-31 15:30:58 -04:00
iscsi.c iscsi: replace magic numbers with SCSI constants 2017-05-23 16:29:34 -04:00
iscsi.h bdev: Rename rbuf to just buf 2017-05-09 08:14:31 -07:00
Makefile env: Make the environment library configurable. 2016-10-05 11:51:37 -07:00
md5.c include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
md5.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
param.c include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
param.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
portal_grp.c include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
portal_grp.h iscsi: fixed crash on invalid add_portal_group call 2017-03-27 15:19:38 -07:00
task.c iscsi: clean up iSCSI/SCSI task conversions 2017-05-16 16:45:22 -07:00
task.h iscsi: clean up iSCSI/SCSI task conversions 2017-05-16 16:45:22 -07:00
tgt_node.c scsi: Set proper transport protocol id 2017-06-01 12:10:22 -04:00
tgt_node.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00