Spdk/include/spdk
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
..
assert.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
barrier.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
bdev.h io_channel: Remove per-channel priority 2017-05-26 13:42:19 -04:00
bit_array.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
blob_bdev.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
blob.h io_channel: Remove per-channel priority 2017-05-26 13:42:19 -04:00
blobfs.h io_channel: Remove per-channel priority 2017-05-26 13:42:19 -04:00
conf.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
copy_engine.h io_channel: Remove per-channel priority 2017-05-26 13:42:19 -04:00
endian.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
env.h env: Rename spdk_malloc/zmalloc/realloc/free to spdk_dma_(func) 2017-05-31 15:30:27 -04:00
event.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
fd.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
gpt_spec.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
io_channel.h io_channel: Add mechanism to call a function on each channel 2017-05-26 17:41:22 -04:00
ioat_spec.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
ioat.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
iscsi_spec.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
json.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
jsonrpc.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
likely.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
log.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
mmio.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
net.h subsystem: make subsystem init in async manner 2017-05-31 15:30:58 -04:00
nvme_intel.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
nvme_spec.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
nvme.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
nvmf_spec.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
nvmf.h nvmf: allow NQN to be 223 bytes + null terminator 2017-05-18 14:36:39 -07:00
pci_ids.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
queue_extras.h Break out queue.h code pulled from FreeBSD into a separate file. 2015-09-25 12:45:04 -07:00
queue.h Add extern "C" wrapper to all public headers 2016-02-12 07:52:35 -07:00
rpc.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
scsi_spec.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
scsi.h scsi: Set proper transport protocol id 2017-06-01 12:10:22 -04:00
stdinc.h build: Automatically detect use of POSIX includes 2017-05-08 13:20:37 -07:00
string.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
trace.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
util.h blob: Use a separate md and I/O target 2017-05-22 19:27:17 -04:00
vhost.h vhost: separated scsi layer from vhost.c 2017-05-25 18:30:44 -04:00