All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [SPDK] [PATCH] nvmf: Correct log messages when polling recv CQ
@ 2016-09-13 15:29 Daniel Verkamp
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Verkamp @ 2016-09-13 15:29 UTC (permalink / raw)
  To: spdk

[-- Attachment #1: Type: text/plain, Size: 289 bytes --]

On 09/12/2016 02:00 PM, Roland Dreier wrote:
> From: Roland Dreier <roland(a)purestorage.com>
>
> Fix copy-and-paste errors - when polling the recv CQ, we should print
> "Recv" instead of "Send" in log messages.
[...]

Looks good - I have applied this patch.

Thanks,
-- Daniel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [SPDK] [PATCH] nvmf: Correct log messages when polling recv CQ
@ 2016-09-12 21:00 Roland Dreier
  0 siblings, 0 replies; 2+ messages in thread
From: Roland Dreier @ 2016-09-12 21:00 UTC (permalink / raw)
  To: spdk

[-- Attachment #1: Type: text/plain, Size: 939 bytes --]

From: Roland Dreier <roland(a)purestorage.com>

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(a)purestorage.com>
---
 lib/nvmf/rdma.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/nvmf/rdma.c b/lib/nvmf/rdma.c
index 367109e13fd8..9671cdca062b 100644
--- a/lib/nvmf/rdma.c
+++ b/lib/nvmf/rdma.c
@@ -1386,13 +1386,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;
 		}
-- 
2.9.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-09-13 15:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-13 15:29 [SPDK] [PATCH] nvmf: Correct log messages when polling recv CQ Daniel Verkamp
  -- strict thread matches above, loose matches on Subject: below --
2016-09-12 21:00 Roland Dreier

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.