Rdma_cm_id's are conceptually equivalent to a socket for RDMA
communication. The difference is that RDMA communication requires
explicitly binding to a specified RDMA device before communication
can occur, and most operations are asynchronous in nature. Asynchronous
communication events on an rdma_cm_id are reported through the associated
event channel. If the channel parameter is NULL, the rdma_cm_id will
be placed into synchronous operation. While operating synchronously,
calls that result in an event will block until the operation completes.
The event will be returned to the user through the rdma_cm_id structure,
and be available for access until another rdma_cm call is made.
Users must release the rdma_cm_id by calling rdma_destroy_id.