IONIC_DV_C..._UDMA_MASK(3)
π NAME π
okay so bestie, welcome to ionic_dv_ctx_get_udma_mask β literally the function that gets you the mask of UDMA pipeline IDs. that's the whole vibe. β¨
this page is straight out of the Ionic Programmer's Manual, section 3, and we're gonna walk through it together, no cap.
π SYNOPSIS π
like, here's how you actually call it:
#include <infiniband/ionic_dv.h>
uint8_t ionic_dv_ctx_get_udma_mask(struct ibv_context *ibctx);
that #include path is infiniband/ionic_dv.h β copy it exactly, don't be creative with it, bestie. π«Ά
β¨ DESCRIPTION β¨
so ionic_dv_ctx_get_udma_mask() returns a bitmask of all the UDMA pipeline IDs available on the ionic device that's associated with ibctx. every set bit? that's one available pipeline. periodt. π
the mask you get back represents the full set of pipelines the device supports β the whole squad, the entire roster. and here's the important part, so listen up: a protection domain's UDMA mask (the one you set via ionic_dv_pd_set_udma_mask(3)) must be a subset of this device mask. no wildcards, no stretching, it's gotta fit inside the group chat. π
π¦ ARGUMENTS π¦
ibctxβ the device context you're querying. and it must be an ionic device context. like, this is not optional, this is the entry requirement. π
πΈ RETURN VALUE πΈ
returns a bitmask of available UDMA pipeline IDs β iconic, useful, exactly what you asked for. β¨
but ifibctxis not an ionic device context? you get0. that's it. that's the whole answer. zero. π
π₯ SEE ALSO π₯
go read these next, iykwim:
π AUTHORS π
Advanced Micro Devices, Inc. β they made this, we love them for it. π«Ά
and that's a wrap, bestie!! this lil gem is from the ionic manual, dated 2025-06-23 β go forth and mask those UDMA pipeline IDs responsibly πβ¨π
π¦ where this page comes from
- 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
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms