RDMA_DESTROY_EP(3)
β¨ RDMA_DESTROY_EP β¨
okay bestie, welcome to the librdmacm programmer's manual π this one's short but it's important, it's giving cleanup era, it's giving closure (literally). π¦
πΈ NAME πΈ
rdma_destroy_ep β release a communication identifier. that's it. that's the vibe. bye bye little id, we hardly knew ye ππ
π SYNOPSIS π
#include <rdma/rdma_cma.h>
void rdma_destroy_ep (struct rdma_cm_id *id);
so you include the header, you call the function, and the function returns void β meaning it gives you nothing back. no return value. no little treat. no "here's how it went". it just does the thing and dips. π«Ά
π ARGUMENTS π
idβ the communication identifier you wanna destroy. this is thestruct rdma_cm_id *that you're sending off into the sunset. π the one getting released. the main character of this whole operation, ngl.
π DESCRIPTION π
Destroys the specified rdma_cm_id and all associated resources.
that's the whole thing bestie. one line. but it's so much more than one line if you think about it β everything attached to that identifier is getting yeeted along with it. all the associated resources? gone. freed. released. it's a full send. π₯
β NOTES β
okay this part is the actual tea β and you need to know it:
rdma_destroy_ep will automatically destroy any QP and SRQ associated with the rdma_cm_id.
like β you don't gotta do it yourself?? it handles the QP, it handles the SRQ, all of it, on its own. no cap. so don't be out here manually cleaning those up and then calling this, because that's a whole different problem bestie π just let the function do its thing. it's an independent woman. π
fr fr, this is the "one call and everything's handled" energy β QP and SRQ included, automatically, because that's just what it does.
π SEE ALSO π
rdma_create_ep(3)β the origin story. the making of. the before. you built it there, you dismantle it here. it's giving full circle. πΈ
and that's the page, bestie!! go forth and release your identifiers responsibly πβ¨
this was brought to you by the librdmacm girlies, dated 2011-06-15 β an absolute icon, still slaying after all these years ππ¦
π¦ where this page comes from
- alpine 3.24: rdma-core-doc 61.0-r0 Β· GPL-2.0-only OR BSD-2-Clause
- arch rolling: rdma-core 65.0-1 Β· GPL-2.0-or-later OR LicenseRef-OpenIB.org-BSD-MIT AND GPL-2.0-or-later OR LicenseRef-OpenIB.org-BSD-FreeBSD AND GPL-2.0-or-later OR LicenseRef-Intel-BSD-3-Clause AND GPL-2.0-or-later OR LicenseRef-PathScale-BSD-Patent-License AND CC0-1.0 AND MIT AND BSD-2-Clause AND CPL-1.0 OR BSD-2-Clause OR GPL-2.0-or-later
- centos-stream 10: rdma-core-devel 62.0-3.el10 Β· GPLv2 or BSD
- centos-stream 9: rdma-core-devel 61.0-3.el9 Β· GPLv2 or BSD
- centos-stream 9: rdma-core-devel 61.0-3.el9 Β· GPLv2 or BSD
- debian bookworm: librdmacm-dev 44.0-2 Β· BSD-MIT OR GPL-2.0-only
- debian trixie: librdmacm-dev 56.1-1 Β· BSD-MIT OR GPL-2.0-only
- fedora 43: rdma-core-devel 58.0-4.fc43 Β· GPL-2.0-only OR BSD-2-Clause AND BSD-3-Clause
- fedora 43: rdma-core-devel 58.0-4.fc43 Β· GPL-2.0-only OR BSD-2-Clause AND BSD-3-Clause
- fedora 44: rdma-core-devel 61.0-2.fc44 Β· GPL-2.0-only OR BSD-2-Clause AND BSD-3-Clause
- fedora 44: rdma-core-devel 61.0-2.fc44 Β· GPL-2.0-only OR BSD-2-Clause AND BSD-3-Clause
- fedora 44: rdma-core-devel 61.1^20260812git975bdaf-1.fc44 Β· GPL-2.0-only OR BSD-2-Clause AND BSD-3-Clause
- fedora 44: rdma-core-devel 61.1^20260812git975bdaf-1.fc44 Β· GPL-2.0-only OR BSD-2-Clause AND BSD-3-Clause
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- nixos 26.05: rdma-core 62.0
- nixpkgs unstable: rdma-core 65.0
- opensuse-leap 16.0: rdma-core-devel 56.1-160000.2.2 Β· BSD-2-Clause OR GPL-2.0-only
- opensuse-leap 16.0: rdma-core-devel 56.1-160000.2.2 Β· BSD-2-Clause OR GPL-2.0-only
- opensuse-leap 16.0: rdma-core-devel 56.1-160000.2.2 Β· BSD-2-Clause OR GPL-2.0-only
- opensuse-leap 16.0: rdma-core-devel 56.1-160000.2.2 Β· BSD-2-Clause OR GPL-2.0-only
- ubuntu jammy: librdmacm-dev 39.0-1 Β· BSD-MIT OR GPL-2.0-only
- ubuntu noble: librdmacm-dev 50.0-2build2 Β· BSD-MIT OR GPL-2.0-only
- ubuntu noble: librdmacm-dev 50.0-2ubuntu0.2 Β· BSD-MIT OR GPL-2.0-only
- ubuntu questing: librdmacm-dev 56.1-1ubuntu1
- ubuntu resolute: librdmacm-dev 61.0-2ubuntu3 Β· BSD-MIT OR GPL-2.0-only
- ubuntu stonking: librdmacm-dev 64.0-1ubuntu1 Β· BSD-MIT OR GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms