[openib-general] re cma upcalls serialization / disconnected event question

Or Gerlitz ogerlitz at voltaire.com
Mon May 1 04:31:33 PDT 2006


Hi Sean,

Can a ULP assume that cma callbacks for to the same CMA ID 
are serialized? 

Also and related to this, is it correct that ***always** before 
DISCONNECTED event there will be one of {ESTABLISHED, REJECTED, 
CONNECT_ERROR}?

I am talking on the active side and assuming there's no notification
on CONNECT_RESPONSE.

thanks,

Or.

/*
 * Upon receiving a device removal event, users must destroy the associated
 * RDMA identifier and release all resources allocated with the device.
 */
enum rdma_cm_event_type {
	RDMA_CM_EVENT_ADDR_RESOLVED,
	RDMA_CM_EVENT_ADDR_ERROR,
	RDMA_CM_EVENT_ROUTE_RESOLVED,
	RDMA_CM_EVENT_ROUTE_ERROR,
	RDMA_CM_EVENT_CONNECT_REQUEST,
	RDMA_CM_EVENT_CONNECT_RESPONSE,
	RDMA_CM_EVENT_CONNECT_ERROR,
	RDMA_CM_EVENT_UNREACHABLE,
	RDMA_CM_EVENT_REJECTED,
	RDMA_CM_EVENT_ESTABLISHED,
	RDMA_CM_EVENT_DISCONNECTED,
	RDMA_CM_EVENT_DEVICE_REMOVAL,
};





More information about the general mailing list