Loading lib/nvme/nvme_rdma.c +4 −2 Original line number Diff line number Diff line Loading @@ -1151,9 +1151,11 @@ nvme_rdma_ctrlr_scan(const struct spdk_nvme_transport_id *discovery_trid, rc = nvme_fabrics_get_log_discovery_page(discovery_ctrlr, buffer, sizeof(buffer)); if (rc < 0) { SPDK_ERRLOG("nvme_fabrics_get_log_discovery_page error\n"); SPDK_TRACELOG(SPDK_TRACE_NVME, "nvme_fabrics_get_log_discovery_page error\n"); nvme_ctrlr_destruct(discovery_ctrlr); return -1; /* It is not a discovery_ctrlr info and try to directly connect it */ rc = nvme_ctrlr_probe(discovery_trid, NULL, probe_cb, cb_ctx); return rc; } log_page = (struct spdk_nvmf_discovery_log_page *)buffer; Loading test/nvmf/host/identify.sh +1 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,7 @@ bdevs="$bdevs $($rpc_py construct_malloc_bdev $MALLOC_BDEV_SIZE $MALLOC_BLOCK_SI $rpc_py construct_nvmf_subsystem Virtual nqn.2016-06.io.spdk:cnode1 'transport:RDMA traddr:192.168.100.8 trsvcid:4420' '' -s SPDK00000000000001 -n "$bdevs" $rootdir/examples/nvme/identify/identify -a "$NVMF_FIRST_TARGET_IP" -s "$NVMF_PORT" -n nqn.2014-08.org.nvmexpress.discovery -t all $rootdir/examples/nvme/identify/identify -a "$NVMF_FIRST_TARGET_IP" -s "$NVMF_PORT" -n nqn.2016-06.io.spdk:cnode1 -t all sync $rpc_py delete_nvmf_subsystem nqn.2016-06.io.spdk:cnode1 Loading Loading
lib/nvme/nvme_rdma.c +4 −2 Original line number Diff line number Diff line Loading @@ -1151,9 +1151,11 @@ nvme_rdma_ctrlr_scan(const struct spdk_nvme_transport_id *discovery_trid, rc = nvme_fabrics_get_log_discovery_page(discovery_ctrlr, buffer, sizeof(buffer)); if (rc < 0) { SPDK_ERRLOG("nvme_fabrics_get_log_discovery_page error\n"); SPDK_TRACELOG(SPDK_TRACE_NVME, "nvme_fabrics_get_log_discovery_page error\n"); nvme_ctrlr_destruct(discovery_ctrlr); return -1; /* It is not a discovery_ctrlr info and try to directly connect it */ rc = nvme_ctrlr_probe(discovery_trid, NULL, probe_cb, cb_ctx); return rc; } log_page = (struct spdk_nvmf_discovery_log_page *)buffer; Loading
test/nvmf/host/identify.sh +1 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,7 @@ bdevs="$bdevs $($rpc_py construct_malloc_bdev $MALLOC_BDEV_SIZE $MALLOC_BLOCK_SI $rpc_py construct_nvmf_subsystem Virtual nqn.2016-06.io.spdk:cnode1 'transport:RDMA traddr:192.168.100.8 trsvcid:4420' '' -s SPDK00000000000001 -n "$bdevs" $rootdir/examples/nvme/identify/identify -a "$NVMF_FIRST_TARGET_IP" -s "$NVMF_PORT" -n nqn.2014-08.org.nvmexpress.discovery -t all $rootdir/examples/nvme/identify/identify -a "$NVMF_FIRST_TARGET_IP" -s "$NVMF_PORT" -n nqn.2016-06.io.spdk:cnode1 -t all sync $rpc_py delete_nvmf_subsystem nqn.2016-06.io.spdk:cnode1 Loading