DOKK / manpages / debian 12 / librdmacm-dev / rdma_destroy_ep.3.en
RDMA_DESTROY_EP(3) Librdmacm Programmer's Manual RDMA_DESTROY_EP(3)

rdma_destroy_ep - Release a communication identifier.

#include <rdma/rdma_cma.h>

void rdma_destroy_ep (struct rdma_cm_id *id);

The communication identifier to destroy.

Destroys the specified rdma_cm_id and all associated resources

rdma_destroy_ep will automatically destroy any QP and SRQ associated with the rdma_cm_id.

rdma_create_ep(3)

2011-06-15 librdmacm