From: swise@opengridcomputing.com (Steve Wise)
Subject: [PATCH v5 7/8] ib_isert: log the connection reject message
Date: Wed, 26 Oct 2016 12:36:48 -0700 [thread overview]
Message-ID: <d2f84976faa9dabf8341dea25c50b48b1cf8cb4c.1477510827.git.swise@opengridcomputing.com> (raw)
In-Reply-To: <cover.1477510827.git.swise@opengridcomputing.com>
Acked-by: Sagi Grimberg <sagi at grimberg.me>
Signed-off-by: Steve Wise <swise at opengridcomputing.com>
---
drivers/infiniband/ulp/isert/ib_isert.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/infiniband/ulp/isert/ib_isert.c b/drivers/infiniband/ulp/isert/ib_isert.c
index cae9bbc..5331272 100644
--- a/drivers/infiniband/ulp/isert/ib_isert.c
+++ b/drivers/infiniband/ulp/isert/ib_isert.c
@@ -795,6 +795,8 @@ isert_cma_handler(struct rdma_cm_id *cma_id, struct rdma_cm_event *event)
*/
return 1;
case RDMA_CM_EVENT_REJECTED: /* FALLTHRU */
+ isert_info("Connection rejected: %s\n",
+ rdma_reject_msg(cma_id, event->status));
case RDMA_CM_EVENT_UNREACHABLE: /* FALLTHRU */
case RDMA_CM_EVENT_CONNECT_ERROR:
ret = isert_connect_error(cma_id);
--
2.7.0
next prev parent reply other threads:[~2016-10-26 19:36 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-26 19:40 [PATCH v5 0/8] connect reject event helpers Steve Wise
2016-10-26 19:36 ` [PATCH v5 1/8] rdma_cm: add rdma_reject_msg() helper function Steve Wise
2016-10-26 20:02 ` Bart Van Assche
2016-10-26 19:36 ` [PATCH v5 5/8] ib_iser: log the connection reject message Steve Wise
2016-10-27 12:49 ` Christoph Hellwig
2016-10-26 19:36 ` [PATCH v5 4/8] nvme-rdma: use rdma connection reject helper functions Steve Wise
2016-10-26 20:04 ` Bart Van Assche
2016-10-26 19:36 ` [PATCH v5 2/8] rdma_cm: add rdma_is_consumer_reject() helper function Steve Wise
2016-10-26 20:02 ` Bart Van Assche
2016-10-26 19:36 ` [PATCH v5 3/8] rdma_cm: add rdma_consumer_reject_data " Steve Wise
2016-10-26 20:03 ` Bart Van Assche
2016-10-26 19:36 ` Steve Wise [this message]
2016-10-27 12:50 ` [PATCH v5 7/8] ib_isert: log the connection reject message Christoph Hellwig
2016-10-26 19:36 ` [PATCH v5 8/8] nvmet_rdma: " Steve Wise
2016-10-27 12:50 ` Christoph Hellwig
2016-10-26 19:36 ` [PATCH v5 6/8] rds_rdma: " Steve Wise
2016-11-29 17:05 ` [PATCH v5 0/8] connect reject event helpers Steve Wise
2016-12-14 16:38 ` Doug Ledford
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d2f84976faa9dabf8341dea25c50b48b1cf8cb4c.1477510827.git.swise@opengridcomputing.com \
--to=swise@opengridcomputing.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).