Commit f7afa70b authored by Daniel Verkamp's avatar Daniel Verkamp
Browse files

nvmf: print status string if ibv_poll_cq() fails



Change-Id: I016cd53fa94db64f4f058f022665df44b760a5cf
Signed-off-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
parent 4fbe54f1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -956,8 +956,8 @@ nvmf_check_rdma_completions(struct spdk_nvmf_conn *conn)
		cq_count += rc;

		if (wc.status) {
			SPDK_TRACELOG(SPDK_TRACE_RDMA, "CQ completion error status %d, exiting handler\n",
				      wc.status);
			SPDK_TRACELOG(SPDK_TRACE_RDMA, "CQ completion error status %d (%s), exiting handler\n",
				      wc.status, ibv_wc_status_str(wc.status));
			break;
		}