1RDMA_DESTROY_ID(3) Librdmacm Programmer's Manual RDMA_DESTROY_ID(3)
2
3
4
6 rdma_destroy_id - Release a communication identifier.
7
9 #include <rdma/rdma_cma.h>
10
11 int rdma_destroy_id (struct rdma_cm_id *id);
12
14 id The communication identifier to destroy.
15
17 Destroys the specified rdma_cm_id and cancels any outstanding asynchro‐
18 nous operation.
19
21 Returns 0 on success, or -1 on error. If an error occurs, errno will
22 be set to indicate the failure reason.
23
25 Users must free any associated QP with the rdma_cm_id before calling
26 this routine and ack all related events.
27
29 rdma_create_id(3), rdma_destroy_qp(3), rdma_ack_cm_event(3)
30
31
32
33librdmacm 2010-07-19 RDMA_DESTROY_ID(3)