ionic_dv_ctx_get_udma_mask - Man Page

Get mask of UDMA pipeline IDs

Synopsis

#include <infiniband/ionic_dv.h>

uint8_t ionic_dv_ctx_get_udma_mask(struct ibv_context *ibctx);

Description

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.

Arguments

ibctx

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

Return Value

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

See Also

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

Authors

Advanced Micro Devices, Inc.

Referenced By

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

2025-06-23 Ionic Programmer’s Manual