Spdk/lib/scsi
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
..
dev.c scsi: Set proper transport protocol id 2017-06-01 12:10:22 -04:00
lun_db.c scsi: remove delete_lun RPC call and move claimed flag 2017-03-13 11:27:22 -07:00
lun.c io_channel: Remove per-channel priority 2017-05-26 13:42:19 -04:00
Makefile bdev: add API to translate to SCSI status 2017-05-04 09:11:42 -07:00
port.c scsi: make spdk_scsi_port definition private 2017-05-04 09:05:53 -07:00
scsi_bdev.c scsi: Set proper transport protocol id 2017-06-01 12:10:22 -04:00
scsi_internal.h scsi: Set proper transport protocol id 2017-06-01 12:10:22 -04:00
scsi_rpc.c scsi: remove delete_lun RPC call and move claimed flag 2017-03-13 11:27:22 -07:00
scsi.c subsystem: make subsystem init in async manner 2017-05-31 15:30:58 -04:00
task.c env: Rename spdk_malloc/zmalloc/realloc/free to spdk_dma_(func) 2017-05-31 15:30:27 -04:00