rdma_destroy_id - Release a communication identifier.
#include <rdma/rdma_cma.h> int rdma_destroy_id (struct rdma_cm_id *id);
id The communication identifier to destroy.
Destroys the specified rdma_cm_id and cancels any outstanding asynchronous operation.
Users must free any associated QP with the rdma_cm_id before calling this routine and ack an related events.
rdma_create_id(3), rdma_destroy_qp(3), rdma_ack_cm_event(3)