[openib-general] CMA: compliancy issue?

Michael S. Tsirkin mst at mellanox.co.il
Mon May 8 06:31:54 PDT 2006


Quoting r. Or Gerlitz <ogerlitz at voltaire.com>:
> >So CMA passes the REP to the ULP as inside RDMA_CM_EVENT_ESTABLISHED event.
> 
> no no, see the code or my parsing of it for you below.
> 
> If the ULP has created a QP via the CMA then the CMA will send RTU and 
> deliver up ESTABLISHED event, else the CMA will deliver up 
> CONNECT_RESPONSE event and only later when the ULP calls rdma_accept the 
> CMA will send the RTU.

Correct, that's what I am saying.

I want to create a QP via CMA (no sense in duplicating functionality), but I
need CMA to sent RTU *after* delivering ESTABLISHED event, not before as it does
now, and I need a way to tell CMA to reject the connection after my handler
looks at private data.

-- 
MST



More information about the general mailing list