numam-spdk/lib/vhost
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
..
linux vhost: add copy of virtio headers 2017-03-23 13:51:04 -07:00
rte_vhost vhost: close remaining memory region FDs during backend cleanup 2017-05-24 11:53:47 -04:00
Makefile vhost: separated scsi layer from vhost.c 2017-05-25 18:30:44 -04:00
task.c subsystem: make subsystem init in async manner 2017-05-31 15:30:58 -04:00
task.h vhost: generalized spdk_vhost_dev struct 2017-05-25 18:30:44 -04:00
vhost_internal.h vhost: add device type field 2017-05-31 20:25:45 -04:00
vhost_iommu.c vhost: fix deadlock on VFIO registration failure 2017-05-24 11:49:11 -04:00
vhost_iommu.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
vhost_rpc.c vhost: separated scsi layer from vhost.c 2017-05-25 18:30:44 -04:00
vhost_scsi.c scsi: Set proper transport protocol id 2017-06-01 12:10:22 -04:00
vhost_scsi.h vhost: separated scsi layer from vhost.c 2017-05-25 18:30:44 -04:00
vhost.c vhost: changed dev_construct()/destruct() to dev_load()/unload() 2017-05-31 20:25:45 -04:00