mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 18:40:57 +07:00
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>
This commit is contained in:
parent
39384f04d0
commit
1e38a366ee
@ -795,6 +795,8 @@ isert_cma_handler(struct rdma_cm_id *cma_id, struct rdma_cm_event *event)
|
|||||||
*/
|
*/
|
||||||
return 1;
|
return 1;
|
||||||
case RDMA_CM_EVENT_REJECTED: /* FALLTHRU */
|
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_UNREACHABLE: /* FALLTHRU */
|
||||||
case RDMA_CM_EVENT_CONNECT_ERROR:
|
case RDMA_CM_EVENT_CONNECT_ERROR:
|
||||||
ret = isert_connect_error(cma_id);
|
ret = isert_connect_error(cma_id);
|
||||||
|
Loading…
Reference in New Issue
Block a user