IONIC_DV_...UDMA_COUNT(3)
π 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