Multi Channel DMA Intel® FPGA IP for PCI Express User Guide

ID 683821
Date 4/20/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

8.1.6.10. ifc_qdma_completion_poll

Table 97.  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 to be copied

quota: maximum number of requests to search

0 on success

negative otherwise