IONIC_DV_...UDMA_COUNT(3)

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

πŸ’… NAME πŸ’…

ionic_dv_ctx_get_udma_count β€” bestie, this one gets you the number of UDMA pipelines ✨


πŸŽ€ SYNOPSIS πŸŽ€

#include <infiniband/ionic_dv.h>

uint8_t ionic_dv_ctx_get_udma_count(struct ibv_context *ibctx);

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so ionic_dv_ctx_get_udma_count() literally just returns the number of UDMA pipelines available on the ionic device that's associated with ibctx. that's it, that's the whole vibe 🫢

and what even are UDMA pipelines? so glad you asked β€” they're independent data paths through the device, like each one is its own little main character lane πŸ”₯ queues can be assigned to specific pipelines using ionic_dv_pd_set_udma_mask(3) on a protection domain before creating the queues. important timing note, bestie β€” before, not after πŸ’€


🌸 ARGUMENTS 🌸

  • ibctx β€” the device context you're querying. gotta be an ionic device context, no exceptions, iykyk.

⭐ RETURN VALUE ⭐

returns the number of UDMA pipelines available on the device πŸ’– and if ibctx isn't an ionic device context? you get 0. not an error code, not a vibe check fail, just 0. πŸ™ˆ


🌈 SEE ALSO 🌈

ionicdv(7), ionic_dv_ctx_get_udma_mask(3), ionic_dv_pd_get_udma_mask(3), ionic_dv_pd_set_udma_mask(3)


πŸ‘‘ AUTHORS πŸ‘‘

Advanced Micro Devices, Inc. β€” icons only, periodt πŸ’œ


slay, that's the whole page ✨ this was the Ionic Programmer's Manual, page IONIC_DV_...UDMA_COUNT(3), brought to you by ionic and dated 2025-06-23 β€” go forth and count those pipelines, bestie πŸŽ€πŸ¦‹

πŸ“¦ 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