projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f03953
)
ib_iser: log the connection reject message
author
Steve Wise
<swise@opengridcomputing.com>
Wed, 26 Oct 2016 19:36:47 +0000
(12:36 -0700)
committer
Doug Ledford
<dledford@redhat.com>
Wed, 14 Dec 2016 16:38:28 +0000
(11:38 -0500)
Acked-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/iser/iser_verbs.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/ulp/iser/iser_verbs.c
b/drivers/infiniband/ulp/iser/iser_verbs.c
index a4b791dfaa1db4d2aa5158b5d4e4fc23bd3799ba..8ae7a3beddb728ee22825e28382b37bc467bbe94 100644
(file)
--- a/
drivers/infiniband/ulp/iser/iser_verbs.c
+++ b/
drivers/infiniband/ulp/iser/iser_verbs.c
@@
-890,11
+890,14
@@
static int iser_cma_handler(struct rdma_cm_id *cma_id, struct rdma_cm_event *eve
case RDMA_CM_EVENT_ESTABLISHED:
iser_connected_handler(cma_id, event->param.conn.private_data);
break;
+ case RDMA_CM_EVENT_REJECTED:
+ iser_info("Connection rejected: %s\n",
+ rdma_reject_msg(cma_id, event->status));
+ /* FALLTHROUGH */
case RDMA_CM_EVENT_ADDR_ERROR:
case RDMA_CM_EVENT_ROUTE_ERROR:
case RDMA_CM_EVENT_CONNECT_ERROR:
case RDMA_CM_EVENT_UNREACHABLE:
- case RDMA_CM_EVENT_REJECTED:
iser_connect_error(cma_id);
break;
case RDMA_CM_EVENT_DISCONNECTED: