nvmf: Correct log messages when polling recv CQ
Fix copy-and-paste errors - when polling the recv CQ, we should print "Recv" instead of "Send" in log messages. Signed-off-by: Roland Dreier <roland@purestorage.com>
This commit is contained in:
parent
4fb468e0df
commit
4c0aab3f2a
@ -1373,13 +1373,13 @@ spdk_nvmf_rdma_poll(struct spdk_nvmf_conn *conn)
|
|||||||
if (rc == 0) {
|
if (rc == 0) {
|
||||||
break;
|
break;
|
||||||
} else if (rc < 0) {
|
} else if (rc < 0) {
|
||||||
SPDK_ERRLOG("Error polling Send CQ! (%d): %s\n",
|
SPDK_ERRLOG("Error polling Recv CQ! (%d): %s\n",
|
||||||
errno, strerror(errno));
|
errno, strerror(errno));
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (wc.status) {
|
if (wc.status) {
|
||||||
SPDK_ERRLOG("Send CQ error (%d): %s\n",
|
SPDK_ERRLOG("Recv CQ error (%d): %s\n",
|
||||||
wc.status, ibv_wc_status_str(wc.status));
|
wc.status, ibv_wc_status_str(wc.status));
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user