ionic_dv_ctx_get_udma_count3
Get number of udma pipelines
Usage
-
#include <infiniband/ionic_dv.h> uint8_t ionic_dv_ctx_get_udma_count(struct ibv_context *ibctx);
Overview
ionic_dv_ctx_get_udma_count() returns the number of UDMA pipelines available on the ionic device associated with ibctx.
UDMA pipelines are independent data paths through the device. Queues can be assigned to specific pipelines using ionic_dv_pd_set_udma_mask(3) on a protection domain before creating the queues.
Arguments
- ibctx
-
The device context to query. Must be an ionic device context.
Return value
Returns the number of UDMA pipelines available on the device. Returns 0 if ibctx is not an ionic device context.