[ofa-general] cma: add support for TIMEWAIT_EXIT event (second try)

Or Gerlitz ogerlitz at voltaire.com
Thu Jun 19 08:01:21 PDT 2008


Amir Vadai wrote:
> SDP needs to be notified when CM exits the TIMEWAIT state.
> CM does notify the CMA but CMA doesn't pass it to the upper layer.
>
> Below is a patch for the CMA code. I wasn't sure if it is ok to set
> CMA_DISCONNECT in the IB_CM_TIMEWAIT_EXIT instead of doing it in the
> IB_CM_DREQ_RECEIVED/IB_CM_DREP_RECEIVED as it is done today. Instead
> I changed the check at the beginning of cma_ib_handler() as you can
> see in the patch.
>   
So how many events would now be seen by the rdma-cm consumer? maybe it 
would be better to have this event delivered only to PS_SDP IDs?

Or.





More information about the general mailing list