nvmf: Correct log messages when polling recv CQ
Roland Dreier
PATCH 1/1 nvmf: Correct log messages when polling recv CQ
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(-)
lib/nvmf/rdma.c +2 -2
@@ -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 ; }
Signature · 1 line
2.9.3
Daniel Verkamp
Quoted 4 lines · Roland Dreier
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