Spdk/include/spdk
Dariusz Stojaczyk d237aba3b9 vhost: separated scsi layer from vhost.c
Implemented vhost abstraction layer in preparations for vhost-blk.
Generalized vhost interface and separated vhost-scsi code.

Code placement:
vhost.h
 * vhost_startup() & shutdown()
 * public generic controller API

vhost_internal.h
 * includes rte_vhost.h from DPDK
 * struct spdk_vhost_dev (it has to be inherited by vhost_scsi)
 * vhost_dev management
   * register/unregister() to be used in new_device()/destroy_device()
   * construct/destruct() to be used on permanent creation/destruction.
 * reactor core management

vhost_scsi.h
 * spdk_vhost_scsi_dev management
   * reading VhostScsi section of vhost config file
   * creating/removing controllers
   * adding/removing devices to controllers

vhost_scsi.c
 * virtio scsi logic
 * new_device(), destroy_device()

Change-Id: Iaf661b14eba034593bef24853c525935d9b18e46
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/361963
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
2017-05-25 18:30:44 -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 bdev: add spdk_io_channel parameter to spdk_bdev_reset 2017-05-24 11:42:15 -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 blob: Add a separate config parameter for channel ops 2017-05-18 14:36:11 -07:00
blobfs.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
conf.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
copy_engine.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
endian.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
env.h env: remove element size from spdk_ring_create 2017-05-25 13:52:49 -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: Remove unique flag 2017-05-22 19:27:17 -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 include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07: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: pass management function as a parameter 2017-05-18 13:47:42 -07: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