aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorSteve Wise <swise@opengridcomputing.com>2016-10-26 15:36:47 -0400
committerDoug Ledford <dledford@redhat.com>2016-12-14 11:38:28 -0500
commit97540bb90acfab268b256a58c3e51cd06b2d1654 (patch)
tree2025cc0187544063c0d2199e6e05c6dc045bda13 /drivers/infiniband
parent7f03953c2f28cdb9c31f3f1410ba5be1f385a693 (diff)
ib_iser: 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/iser/iser_verbs.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/iser/iser_verbs.c b/drivers/infiniband/ulp/iser/iser_verbs.c
index a4b791dfaa1d..8ae7a3beddb7 100644
--- 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
890 case RDMA_CM_EVENT_ESTABLISHED: 890 case RDMA_CM_EVENT_ESTABLISHED:
891 iser_connected_handler(cma_id, event->param.conn.private_data); 891 iser_connected_handler(cma_id, event->param.conn.private_data);
892 break; 892 break;
893 case RDMA_CM_EVENT_REJECTED:
894 iser_info("Connection rejected: %s\n",
895 rdma_reject_msg(cma_id, event->status));
896 /* FALLTHROUGH */
893 case RDMA_CM_EVENT_ADDR_ERROR: 897 case RDMA_CM_EVENT_ADDR_ERROR:
894 case RDMA_CM_EVENT_ROUTE_ERROR: 898 case RDMA_CM_EVENT_ROUTE_ERROR:
895 case RDMA_CM_EVENT_CONNECT_ERROR: 899 case RDMA_CM_EVENT_CONNECT_ERROR:
896 case RDMA_CM_EVENT_UNREACHABLE: 900 case RDMA_CM_EVENT_UNREACHABLE:
897 case RDMA_CM_EVENT_REJECTED:
898 iser_connect_error(cma_id); 901 iser_connect_error(cma_id);
899 break; 902 break;
900 case RDMA_CM_EVENT_DISCONNECTED: 903 case RDMA_CM_EVENT_DISCONNECTED: