diff options
author | Steve Wise <swise@opengridcomputing.com> | 2016-10-26 12:36:48 -0700 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-12-14 11:38:28 -0500 |
commit | 1e38a366ee86ac2b7a8110775cb3353649b18b70 (patch) | |
tree | 2c7850ea91522fb4d8868076574125e6596239b4 /drivers/infiniband | |
parent | 39384f04d03e10986c783cd527555225ec592821 (diff) | |
download | blackbird-op-linux-1e38a366ee86ac2b7a8110775cb3353649b18b70.tar.gz blackbird-op-linux-1e38a366ee86ac2b7a8110775cb3353649b18b70.zip |
ib_isert: log the connection reject message
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>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/ulp/isert/ib_isert.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/ulp/isert/ib_isert.c b/drivers/infiniband/ulp/isert/ib_isert.c index 6dd43f63238e..37016f01b5a5 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); |