numam-spdk/lib
Darek Stojaczyk 0e46c8f638 vhost: allow allocating per-session context data
Sessions are allocated internally by the core vhost
library whenever DPDK accepts a new connection, so
the only reasonable way to store additional per-sesion
data is to tell the core vhost library how much extra
memory it needs to allocate. Hence, we add a new field
to the vhost device backend struct.

Change-Id: Id6c8285505b2e610e28e5d985aceb271ed232555
Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/c/437778
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
2019-01-15 18:48:14 +00:00
..
bdev bdev/error: remove an unnecessary "enabled" flag 2019-01-15 16:43:20 +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 env: move VALUE_2MB defines into a new internal header 2019-01-13 00:47:26 +00:00
event app: add option to read json configuration files during startup 2019-01-14 04:48:18 +00:00
ftl ftl: Gathering asynchronous NAND management events 2019-01-11 09:15:39 +00:00
ioat memory: replace all hardcoded 0x200000 with a define 2019-01-13 00:47:26 +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 nvme_rdma: multi-element sgl support for inline reqs 2019-01-15 17:25:35 +00:00
nvmf rdma: process pending reqs before destroying qp 2019-01-15 18:11:41 +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 thread: Eliminate use of pthread_self and thread_ids 2019-01-15 16:53:12 +00:00
trace lib/trace: add 3 RPC method for tpoint_group_mask 2018-12-14 21:29:12 +00:00
ut_mock thread: Eliminate use of pthread_self and thread_ids 2019-01-15 16:53:12 +00:00
util util/string: sprintf_append_realloc to concatenate strings with realloc 2019-01-14 21:22:56 +00:00
vhost vhost: allow allocating per-session context data 2019-01-15 18:48:14 +00:00
virtio memory: replace all hardcoded 0x200000 with a define 2019-01-13 00:47:26 +00:00
Makefile ftl: Initial implementation 2019-01-11 09:15:39 +00:00