numam-spdk/lib
Darek Stojaczyk f82a175706 vhost: separate sessions from devices
Session struct will be now allocated inside the
`new_connection` rte_vhost callback. There can be
still only one connection per device, but this
change brings us one step towards supporting more.

Besides the obvious pointer changes, we'll now also
use the session pointer to check if the connection
actually exists. We used to set device vid to -1
when there was no connection but we no longer have
to do that.

Change-Id: I4d062c0b5f093fef132a6a2c9cc29458cbaad414
Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/c/437776
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2019-01-13 00:46:28 +00:00
..
bdev bdev/virtio_blk: add unmap feature support 2019-01-12 03:15:37 +00:00
blob util: added spdk_divide_round_up() 2018-12-18 17:26:49 +00:00
blobfs log: remove "trace" from internal API 2018-12-03 19:50:15 +00:00
conf conf: don't strdup name if section already exist 2018-05-17 17:13:19 +00:00
copy lib/copy: unregister copy engine on finish 2018-10-15 17:42:20 +00:00
env_dpdk vtophys: add length parameter to the vtophys function 2019-01-09 08:24:59 +00:00
event nvmf: add the transport shared buffer num configuration option. 2018-12-20 19:55:57 +00:00
ftl ftl: Gathering asynchronous NAND management events 2019-01-11 09:15:39 +00:00
ioat vtophys: add length parameter to the vtophys function 2019-01-09 08:24:59 +00:00
iscsi iscsi/rpc: free partially decoded request 2019-01-09 14:13:58 +00:00
json json_util: add debug logs to spdk_json_decode_object function 2019-01-10 14:31:37 +00:00
jsonrpc jsonrpc: process all requests in buffer 2019-01-10 14:31:37 +00:00
log app: rename traceflag cmdline option to logflag 2018-12-03 19:50:15 +00:00
lvol util: added spdk_divide_round_up() 2018-12-18 17:26:49 +00:00
nbd nbd: fixup return codes 2018-11-28 22:55:09 +00:00
net lib: fix typos in the lib directory 2018-08-24 17:15:12 +00:00
nvme vtophys: add length parameter to the vtophys function 2019-01-09 08:24:59 +00:00
nvmf nvmf: Update the subsystem state check during connect 2019-01-11 06:25:02 +00:00
reduce reduce: _allocate_vol_requests: set pointer to NULL after freed 2018-12-18 23:38:51 +00:00
rocksdb thread: Use TLS to accelerate thread look up 2018-12-14 18:54:03 +00:00
rpc rpc: add spdk_rpc_is_method_allowed 2018-12-05 00:35:35 +00:00
scsi scsi: Set TMF code prior to calling spdk_scsi_dev_queue_mgmt_task 2018-12-10 20:34:11 +00:00
sock net/vpp: fix the compilation warning. 2018-12-31 06:29:15 +00:00
thread fio_plugin: use pollers' expiration for timedwait 2018-12-23 00:58:20 +00:00
trace lib/trace: add 3 RPC method for tpoint_group_mask 2018-12-14 21:29:12 +00:00
ut_mock ut_mock: rename library from spdk_mock to ut_mock 2018-11-20 14:57:57 +00:00
util dif, dix: remove unnecessary _iov_iter_cont() check 2019-01-13 00:01:45 +00:00
vhost vhost: separate sessions from devices 2019-01-13 00:46:28 +00:00
virtio vtophys: add length parameter to the vtophys function 2019-01-09 08:24:59 +00:00
Makefile ftl: Initial implementation 2019-01-11 09:15:39 +00:00