Commit 4c0aab3f authored by Roland Dreier's avatar Roland Dreier Committed by Daniel Verkamp
Browse files

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: default avatarRoland Dreier <roland@purestorage.com>
parent 4fb468e0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1373,13 +1373,13 @@ spdk_nvmf_rdma_poll(struct spdk_nvmf_conn *conn)
		if (rc == 0) {
			break;
		} 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));
			return -1;
		}

		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));
			return -1;
		}