This event might be usefull for other ULPs. The reason I needed it in SDP, is because the QP could be destroyed only when the timewait finish. And for that I need a timewait exit event.
- Amir -----Original Message----- From: Or Gerlitz [mailto:[EMAIL PROTECTED] Sent: ה 19 יוני 2008 18:01 To: Amir Vadai Cc: Sean Hefty; Oren Duer; [email protected] Subject: Re: [ofa-general] cma: add support for TIMEWAIT_EXIT event (second try) 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. -- Amir Vadai Mellanox Technologies LTD. SW Phone: +972 (3) 625 9500 (ext.539) Mobile: +972 (52) 632 4714 E-mail: [EMAIL PROTECTED] ---------------------------------------------------------------------- Emails belong on computers, trees belong in forests; if you must print this, do it on recycled paper. http://www.greenpeace.org/international/ ---------------------------------------------------------------------- Disclaimer added by CodeTwo Exchange Rules http://www.codetwo.com _______________________________________________ general mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
