.\" Automatically generated by Pandoc 2.9.2.1
.\"
.TH "IONIC_DV_CTX_GET_UDMA_COUNT" "3" "2025-06-23" "ionic" "Ionic Programmer\[cq]s Manual"
.hy
.SH NAME
.PP
ionic_dv_ctx_get_udma_count - Get number of UDMA pipelines
.SH SYNOPSIS
.IP
.nf
\f[C]
#include <infiniband/ionic_dv.h>

uint8_t ionic_dv_ctx_get_udma_count(struct ibv_context *ibctx);
\f[R]
.fi
.SH DESCRIPTION
.PP
\f[B]ionic_dv_ctx_get_udma_count()\f[R] returns the number of UDMA
pipelines available on the ionic device associated with \f[I]ibctx\f[R].
.PP
UDMA pipelines are independent data paths through the device.
Queues can be assigned to specific pipelines using
\f[B]ionic_dv_pd_set_udma_mask\f[R](3) on a protection domain before
creating the queues.
.SH ARGUMENTS
.TP
\f[I]ibctx\f[R]
The device context to query.
Must be an ionic device context.
.SH RETURN VALUE
.PP
Returns the number of UDMA pipelines available on the device.
Returns 0 if \f[I]ibctx\f[R] is not an ionic device context.
.SH SEE ALSO
.PP
\f[B]ionicdv\f[R](7), \f[B]ionic_dv_ctx_get_udma_mask\f[R](3),
\f[B]ionic_dv_pd_get_udma_mask\f[R](3),
\f[B]ionic_dv_pd_set_udma_mask\f[R](3)
.SH AUTHORS
.PP
Advanced Micro Devices, Inc.
