[openib-general] CM callbacks

Eric Barton eeb at bartonsoftware.com
Mon Jan 29 09:27:29 PST 2007


Is the following possible?

1. I listen for connection requests.

2. RDMA_CM_EVENT_CONNECT_REQUEST is delivered, I rdma_accept() successfully and
   return from the callback.

3. RDMA_CM_EVENT_DISCONNECTED is delivered.

Am I wrong to assume I can only get RDMA_CM_EVENT_DISCONNECTED after I've seen
RDMA_CM_EVENT_ESTABLISHED?  I thought I'd get one of the other callbacks
(e.g. RDMA_CM_EVENT_CONNECT_ERROR) if something went wrong before the
ESTABLISHED callback.

-- 

                Cheers,
                        Eric





More information about the general mailing list