nvmf: print status string if ibv_poll_cq() fails

Change-Id: I016cd53fa94db64f4f058f022665df44b760a5cf
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
Daniel Verkamp 2016-06-30 14:54:59 -07:00
parent 4fbe54f10e
commit f7afa70bcb

View File

@ -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;
}