[openib-general] RDMA_CM_EVENT_UNREACHABLE(-ETIMEDOUT)

Sean Hefty mshefty at ichips.intel.com
Thu Aug 3 09:19:36 PDT 2006


Or Gerlitz wrote:
> Is it correct that with the gen2 code, the remote **CM** will reconnect 
> on that case?

I don't think so.  The QP needs to move into timewait, so a new connection 
request is needed with a different QPN.

> I see in cm.c :: cm_rej_handler() that when the state is IB_CM_REQ_SENT 
> and the reject reason is IB_CM_REJ_STALE_CONN you just move the cm_id 
> into timewait state, which will cause a retry on the REQ, correct?

The cm_id moves into timewait, but that shouldn't cause a retry.  The CM should 
notify the ULP of the reject.  The QP cannot be re-used until the cm_id exits 
the timewait state.

- Sean




More information about the general mailing list