---
name: "ionic_dv_pd_get_udma_mask"
section: "3"
platform: "linux"
package: "rdma-core"
version: "65.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/ionic_dv_pd_get_udma_mask"
---

# ionic\_dv\_pd\_get\_udma\_mask(3)

Get UDMA pipeline mask of a protection domain

## NAME

ionic\_dv\_pd\_get\_udma\_mask - Get UDMA pipeline mask of a protection domain

## SYNOPSIS

-

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

## DESCRIPTION

**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)](/ionic_dv_pd_set_udma_mask/3.md), or it may be the default mask inherited from the device context.

## ARGUMENTS

- *ibpd*

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

## RETURN VALUE

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

## SEE ALSO

[**ionicdv**(7)](/ionicdv/7.md), [**ionic\_dv\_pd\_set\_udma\_mask**(3)](/ionic_dv_pd_set_udma_mask/3.md), [**ionic\_dv\_ctx\_get\_udma\_mask**(3)](/ionic_dv_ctx_get_udma_mask/3.md), [**ionic\_dv\_ctx\_get\_udma\_count**(3)](/ionic_dv_ctx_get_udma_count/3.md)

## AUTHORS

Advanced Micro Devices, Inc.
