> I'm debugging some disconnect related race in iser - and wanted to check > with you something re the CM/RDMA-CM state machine: I see that when a > disconnected is initiated by the passive side (iser target) of a > connection, such that the active side (iser initiator) gets > RDMA_CM_EVENT_DISCONNECTED, later we call rdma_disconnect (e.g to move > the QP into error state, send DREP, etc) - SOMETIMES the active side > gets also RDMA_CM_EVENT_TIMEWAIT_EXIT event, AFAIK this should happen > if the rdma-cm ID isn't destroyed within X time, correct? if yes, so > what is that X? if this description isn't accurate what would be the > correct phrasing for the condition to get the timewait event?
After disconnecting, the QP should enter the timewait state for twice the packet lifetime. -- 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
