Spdk/test/lib
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
..
bdev env: Rename spdk_malloc/zmalloc/realloc/free to spdk_dma_(func) 2017-05-31 15:30:27 -04:00
blob io_channel: Add a message passing callback 2017-05-26 13:42:19 -04:00
blobfs ut/blobfs: fix compilation error 2017-05-31 11:30:03 -04:00
env env: Rename spdk_malloc/zmalloc/realloc/free to spdk_dma_(func) 2017-05-31 15:30:27 -04:00
event reactor: handle start_fn event after subsystem init is ready 2017-05-31 15:30:58 -04:00
ioat env: Rename spdk_malloc/zmalloc/realloc/free to spdk_dma_(func) 2017-05-31 15:30:27 -04:00
iscsi scsi: Set proper transport protocol id 2017-06-01 12:10:22 -04:00
json test/json_util: add string decode tests. 2017-05-31 17:54:20 -04:00
jsonrpc include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
log include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
nvme env: Rename spdk_malloc/zmalloc/realloc/free to spdk_dma_(func) 2017-05-31 15:30:27 -04:00
nvmf io_channel: Remove per-channel priority 2017-05-26 13:42:19 -04:00
scsi scsi: Set proper transport protocol id 2017-06-01 12:10:22 -04:00
util env: Rename spdk_malloc/zmalloc/realloc/free to spdk_dma_(func) 2017-05-31 15:30:27 -04:00
Makefile test/iscsi: build iSCSI unit tests on FreeBSD 2017-03-29 15:27:50 -07:00
test_env.c env: Rename spdk_malloc/zmalloc/realloc/free to spdk_dma_(func) 2017-05-31 15:30:27 -04:00