---
name: "rdma_destroy_ep"
section: "3"
platform: "linux"
package: "rdma-core"
version: "65.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux", "freebsd"]
url: "https://new.carta.tech/rdma_destroy_ep"
---

# rdma\_destroy\_ep(3)

Release a communication identifier.

## NAME

rdma\_destroy\_ep - Release a communication identifier.

## SYNOPSIS

**#include \<rdma/rdma\_cma.h\>**

**void 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

## NOTES

rdma\_destroy\_ep will automatically destroy any QP and SRQ associated with the rdma\_cm\_id.

## SEE ALSO

[rdma\_create\_ep(3)](/rdma_create_ep/3.md)
