NAME¶
rdma_destroy_ep - Release a communication identifier.
SYNOPSIS¶
#include <rdma/rdma_cma.h>
int rdma_destroy_ep (struct rdma_cm_id *id);
ARGUMENTS¶
- id
- The communication identifier to destroy.
DESCRIPTION¶
Destroys the specified rdma_cm_id and all associated resources
RETURN VALUE¶
Returns 0 on success, or -1 on error. If an error occurs, errno will be set to
indicate the failure reason.
NOTES¶
rdma_destroy_ep will automatically destroy any QP and SRQ associated with the
rdma_cm_id.
SEE ALSO¶
rdma_create_ep(3)