rdma_destroy_ep
Destroys the specified communication identifier and its associated resources.
Syntax
#include <rdma/rdma_cma.h>
int rdma_destroy_ep (struct rdma_cm_id *id)
Description
The rdma_destroy_ep function destroys the specified rdma_cm_id identifier and all its associated resources. The rdma_destroy_ep function automatically destroys any queue pair (QP) that is associated with the rdma_cm_id identifier.
Parameters
Item | Description |
---|---|
id | Specifies the communication identifier to destroy. |
Return Values
Returns 0 on success, or -1 on error. If an error occurs, then errno is set to indicate the reason for failure.