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

ID 683821
Date 7/30/2024
Public
Document Table of Contents

8.1.6.10. ifc_qdma_completion_poll

Table 108.  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