IONIC_DV_CTX_GET_UDMA_COUNT(3) Ionic Programmer’s Manual IONIC_DV_CTX_GET_UDMA_COUNT(3)

ionic_dv_ctx_get_udma_count - Get number of UDMA pipelines

#include <infiniband/ionic_dv.h>
uint8_t ionic_dv_ctx_get_udma_count(struct ibv_context *ibctx);

ionic_dv_ctx_get_udma_count() returns the number of UDMA pipelines available on the ionic device associated with ibctx.

UDMA pipelines are independent data paths through the device. Queues can be assigned to specific pipelines using ionic_dv_pd_set_udma_mask(3) on a protection domain before creating the queues.

The device context to query. Must be an ionic device context.

Returns the number of UDMA pipelines available on the device. Returns 0 if ibctx is not an ionic device context.

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

Advanced Micro Devices, Inc.

2025-06-23 ionic