rdmagetcmevent
rdma_get_cm_event is a function in the librdmacm library used to retrieve a completion manager (CM) event from a specified event channel. It blocks until a CM event becomes available or an error occurs, returning the event through a pointer parameter. The function is typically used in the management loop of RDMA applications to respond to changes in connection state or CM activity.
To use it, an application first creates an event channel with rdma_create_event_channel and then initiates an
The events delivered by rdma_get_cm_event are represented by a struct rdma_cm_event, which includes the event type
This function is a core part of the RDMA Connection Manager API and is used in user-space