Spdk/module
Jan Kryl 0a04c076ea nvmf: Add context parameter to new_qpair() callback
It can be useful for passing additional information about nvmf
target to a handler for new nvmf connections. Context can be
stored in globals as it is currently done in nvmf code. However
in case of multiple targets or languages where accessing global
state is challenging (i.e. Rust), this becomes inconvenient.

Change-Id: Ia6a2fdba4601531822b3e5fda7ac5ab89d46f6c5
Signed-off-by: Jan Kryl <jan.kryl@mayadata.io>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/469263
Community-CI: Broadcom SPDK FC-NVMe CI <spdk-ci.pdl@broadcom.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Seth Howell <seth.howell@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Sasha Kotchubievsky <sashakot@mellanox.com>
2019-10-17 16:29:36 +00:00
..
bdev bdev/aio: delete unnecessary code 2019-10-16 15:55:46 +00:00
blob blob_bdev: add spdk_bdev_create_bs_dev_from_desc 2019-09-18 02:59:59 +00:00
blobfs blobfs: add blobfs_mount RPC as FUSE 2019-10-15 16:25:09 +00:00
copy RPC: rename scan_ioat_copy_engine to ioat_scan_copy_engine 2019-09-19 19:24:47 +00:00
event nvmf: Add context parameter to new_qpair() callback 2019-10-17 16:29:36 +00:00
sock sock: Add a function to check if a socket is connected 2019-10-15 16:35:09 +00:00
Makefile mk : Fix compiling error. 2019-10-15 16:32:24 +00:00