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

Amir Vadai amirv at mellanox.co.il
Thu Jun 19 08:17:47 PDT 2008


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:ogerlitz at voltaire.com] 
Sent: ה 19 יוני 2008 18:01
To: Amir Vadai
Cc: Sean Hefty; Oren Duer; general at lists.openfabrics.org
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: amirv at mellanox.co.il

----------------------------------------------------------------------
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



More information about the general mailing list