rdmaaccept
rdma_accept is a function in the RDMA Connection Manager (RDMA CM) API used to accept a pending inbound connection request on a server-side RDMA communication identifier (struct rdma_cm_id). It is part of the user-space RDMA API provided by libraries such as libibverbs/rdma-core and is used with InfiniBand, RoCE, and iWARP devices. The function fits into the typical server-side handshake: the server listens for connection attempts, receives a connect request event, and then calls rdma_accept to negotiate parameters and complete the connection.
Usage and flow: In a typical workflow, an application creates an RDMA CM ID, binds and listens,
Parameters: rdma_accept takes two arguments: the RDMA CM ID corresponding to the pending connection, and an
Return value and error handling: the call returns 0 on success or a negative errno on failure,