GTS AXI Multichannel DMA IP for PCI Express* User Guide

ID 847470
Date 8/25/2025
Public
Document Table of Contents

B.1.6.10. ifc_qdma_completion_poll

Table 89.   ifc_qdma_completion_poll

API

API Description

Input Parameters

Return Values

int

ifc_qdma_completion_poll (struct ifc_qdma_channel * qchnl , int direction, void *pkt, int quota)

Check if any previously queued and pending request got completed. If completed, the number of completed transactions are returned to called so that the application submits those transactions.

qchnl: channel context

dir: DMA direction, one of IFC_QDMA_DIRECTION_*

pkts: address where completed requests are to be copied.

quota: maximum number of requests to search.

0 on success

negative otherwise