>    server:  rdma_create_id,rdma_bind_addr, rdma_listen(cb->cm_id, 3);
>Then  the  client connects the  server, the  connection is sucessful. Then
>nothing is done on the server but  the client is rebooted . After the client
>starts, it  connnets the server again. Errors come here. Sometime this
>connnection can be successful, and fails othertime. When it fails,the client
>receives RDMA_CM_EVENT_REJECTED event,and the server does't received
>RDMA_CM_EVENT_CONNECT_REQUEST event as the successful connection.
>I don't how this happens.Can someone help me ?Thanks!

The server side may be rejecting the connection request as a duplicate.  The
event.status may provide some additional insight.  It should contain one of the
enum ib_cm_rej_reason values given in ib_cm.h (assuming that you're using IB and
not iWarp).  If the status is 'IB_CM_REJ_STALE_CONN' (= 10), then retrying the
connection with a new QP may succeed.

- Sean

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to