IONIC_DV_C..._UDMA_MASK(3)

πŸ“¦
version 65.0 Β· 3 versions
, in arch rolling

πŸ’… 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 if ibctx is not an ionic device context? you get 0. 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