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

ionic_dv_ctx_get_udma_mask - Get mask of UDMA pipeline IDs

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

ionic_dv_ctx_get_udma_mask() returns a bitmask of all UDMA pipeline IDs available on the ionic device associated with ibctx. Each set bit represents an available pipeline.

The returned mask represents the full set of pipelines supported by the device. A protection domain’s UDMA mask (set via ionic_dv_pd_set_udma_mask(3)) must be a subset of this device mask.

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

Returns a bitmask of available UDMA pipeline IDs. Returns 0 if ibctx is not an ionic device context.

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

Advanced Micro Devices, Inc.

2025-06-23 ionic