RDMA_MIGRATE_ID(3)
π RDMA_MIGRATE_ID π
okay so bestie, welcome to the rdma_migrate_id page from the Librdmacm Programmer's Manual, section 3. yes it's a real man page, yes it's about moving a communication identifier to a whole different event channel, and yes it's lowkey iconic. sit down, grab a strawberry, we're doing this π
β¨ NAME β¨
rdma_migrate_id β move a communication identifier to a different event channel. that's it, that's the whole vibe. relocation era π¦
πΈ SYNOPSIS πΈ
#include <rdma/rdma_cma.h>
int rdma_migrate_id (struct rdma_cm_id *id, struct rdma_event_channel
*channel);
look at her. two args. no drama. π
π ARGUMENTS π
idβ an existing communication identifier that you wanna migrate. she's already got a home, we're just helping her move π«Άchannelβ the communication channel that events associated with the allocatedrdma_cm_idwill be reported on. may beNULL. yes fr fr,NULLis allowed, keep reading π
π DESCRIPTION π
migrates a communication identifier to a different event channel. that's the whole thing. short queen, no notes β¨
π₯ RETURN VALUE π₯
returns 0 on success, or -1 on error. and if an error happens? errno gets set to indicate the failure reason. so like, always check your errno, bestie, she's telling you something π
π NOTES π
okay this is the part you actually need, so listen up π
this routine migrates a communication identifier to the specified event channel and moves any pending events associated with the rdma_cm_id to the new channel. so the baggage comes with her, no cap π§³
π¨ real talk warning: users should not poll for events on therdma_cm_id's current event channel, and should not invoke other routines on therdma_cm_idwhile migrating between channels. like, do not touch her while she's mid-transformation, that's the rule π
also, this call will block while there are any unacknowledged events on the current event channel. so it might sit there for a sec. that's not a bug, that's just her being thorough π
and the plot twist: if the channel parameter is NULL, the specified rdma_cm_id will be placed into synchronous operation mode. all calls on the id will block until the operation completes. so yeah, NULL = everything goes synchronous = everything waits its turn. main character energy but make it blocking π
π SEE ALSO π
go read those too, iykyk π
librdmacm Β· 2007-11-13
and that's the page bestie!! brought to you by librdmacm, dated 2007-11-13, which means this queen has been slaying since 2007 and is still relevant. periodt πβ¨π¦
π¦ 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