RDMA_DEST...T_CHANNEL(3)
π RDMA_DEST...T_CHANNEL π
okay bestie, so this is a page from the Librdmacm Programmer's Manual and it's literally about closing an event communication channel. it's giving "cleanup era". no cap.
β¨ NAME β¨
rdma_destroy_event_channel β close an event communication channel. that's it, that's the whole job. she's a closer. π
πΈ SYNOPSIS πΈ
#include <rdma/rdma_cma.h>
void rdma_destroy_event_channel (struct rdma_event_channel *channel);
so you pull in <rdma/rdma_cma.h> and then you call her. she returns nothing, she takes one thing. simple. iconic. π
π¦ ARGUMENTS π¦
channelβ the communication channel you wanna destroy. yes, the actual one. the one you made earlier. we're saying bye to her. π«Ά
π DESCRIPTION π
okay so what this function does is release all resources associated with an event channel, and it also closes the associated file descriptor. that's the whole vibe. you hand her the channel, she frees the stuff, she closes the fd, everybody goes home. lowkey the most satisfying part of any program, ngl. πβ¨
π RETURN VALUE π
None. she returns nothing. not void-ish "check me", not an error code, nothing. None. periodt. π
β NOTES β
bestie listen. this is the important part and I need you locked in. π¨
before you call this function, you have to make sure:
- all
rdma_cm_id's associated with the event channel are destroyed first, and - all returned events have been acked.
that's a must-must, not a should. do it in the wrong order and it's not gonna be cute. π
π SEE ALSO π
your lil reading list, bestie:
iykyk. go read them. πΈ
mwah π this has been librdmacm, dated 2007-05-15, and honestly? she's been serving since 2007 and she's still that girl. stay slay, ack your events, destroy your ids. bye bestie!! πβ¨π¦π
π¦ 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
- 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