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

ionic_dv_pd_get_udma_mask - Get UDMA pipeline mask of a protection domain

#include <infiniband/ionic_dv.h>
uint8_t ionic_dv_pd_get_udma_mask(struct ibv_pd *ibpd);

ionic_dv_pd_get_udma_mask() returns the current UDMA pipeline mask associated with the protection domain or parent domain ibpd.

The returned mask indicates which UDMA pipelines are enabled for queues created under this protection domain. It may have been set by a prior call to ionic_dv_pd_set_udma_mask(3), or it may be the default mask inherited from the device context.

The protection domain or parent domain to query. Must be an ionic protection domain.

Returns the UDMA pipeline mask of the protection domain. Returns 0 if ibpd is not an ionic protection domain.

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

Advanced Micro Devices, Inc.

2025-06-23 ionic