Spdk/lib/nvmf
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
..
ctrlr_bdev.c nvmf: add support of hotplug for nvmf. 2017-12-15 16:14:02 -05:00
ctrlr_discovery.c nvmf: add support of hotplug for nvmf. 2017-12-15 16:14:02 -05:00
ctrlr.c nvmf: add support of hotplug for nvmf. 2017-12-15 16:14:02 -05:00
Makefile build: remove $(ENV_CFLAGS) where not necessary 2018-01-03 12:05:59 -05:00
nvmf_internal.h nvmf: Add synchronization primitives for subsystems 2018-01-03 11:58:11 -05:00
nvmf.c nvmf: Add synchronization primitives for subsystems 2018-01-03 11:58:11 -05:00
rdma.c nvmf,rdma: set cm_id = NULL 2018-01-09 15:51:50 -05:00
request.c nvmf: Remove poll group from controller 2017-12-12 15:01:17 -05:00
subsystem.c nvmf/subsystem: spdk_nvmf_valid_nqn fits nvme spec 2018-01-09 13:30:24 -05:00
transport.c nvmf: Remove poll group from controller 2017-12-12 15:01:17 -05:00
transport.h nvmf: Remove poll group from controller 2017-12-12 15:01:17 -05:00