numam-spdk/lib
Ziye Yang 678fe32898 nvmf,rdma: set cm_id = NULL
Purpose: If the qp creates in a failure state,
we should set cm_id = NULL, then we do not need to
destroy the qp which is not created.

Also this patch add return value check while calling
spdk_nvmf_rdma_qpair_initialize.

Change-Id: I084c186738fcf6079cb36666f68e10b906e77145
Signed-off-by: Ziye Yang <optimistyzy@gmail.com>
Reviewed-on: https://review.gerrithub.io/394016
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2018-01-09 15:51:50 -05:00
..
bdev bdev: eliminate memset in spdk_bdev_get_io 2018-01-05 12:44:31 -05:00
blob blob: add thin_provision opt for spdk_bs_create_blob_ext 2018-01-09 14:57:04 -05:00
blobfs blobfs: release the lock before send the flush request when try to write file. 2018-01-09 13:57:56 -05:00
conf conf: Remove use of perror() for strdup() failure 2017-12-15 16:13:27 -05:00
copy build: remove $(ENV_CFLAGS) where not necessary 2018-01-03 12:05:59 -05:00
cunit include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
env_dpdk env: export spdk_env_get_last_core function. 2017-12-23 15:08:24 -05:00
event build: remove $(ENV_CFLAGS) where not necessary 2018-01-03 12:05:59 -05:00
ioat build: remove $(ENV_CFLAGS) where not necessary 2018-01-03 12:05:59 -05:00
iscsi scsi, iscsi: move task->parent to iSCSI task 2018-01-05 00:01:37 -05:00
json astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
jsonrpc util: add spdk_strerror() wrapper with TLS support 2018-01-04 15:00:09 -05:00
log log: rename SPDK_TRACE_* to SPDK_LOG_* 2017-12-07 12:23:19 -05:00
lvol lvol: add a wrapper function for calling spdk_bs_init 2018-01-05 17:21:08 -05:00
nbd nbd: relocate 2 mop-up ioctls 2018-01-04 15:30:59 -05:00
net util: add spdk_strerror() wrapper with TLS support 2018-01-04 15:00:09 -05:00
nvme nvme/pcie: limit max completions based on queue size 2018-01-05 12:45:28 -05:00
nvmf nvmf,rdma: set cm_id = NULL 2018-01-09 15:51:50 -05:00
rocksdb astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
rpc build: remove $(ENV_CFLAGS) where not necessary 2018-01-03 12:05:59 -05:00
scsi scsi: remove lun_db 2018-01-09 13:56:00 -05:00
trace util: add spdk_strerror() wrapper with TLS support 2018-01-04 15:00:09 -05:00
ut_mock test/mock: add pthread_self 2017-09-19 17:15:15 -04:00
util util: make spdk_io_channel_get_ctx() inline 2018-01-09 12:46:35 -05:00
vhost vhost_scsi: removed duplicated check against VHOST_IOVS_MAX 2018-01-09 14:55:45 -05:00
virtio util: add spdk_strerror() wrapper with TLS support 2018-01-04 15:00:09 -05:00
Makefile virtio: add new library virtio 2017-12-26 13:03:29 -05:00