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.13. ifc_qdma_descq_queue_batch_load

Table 100.  ifc_qdma_descq_queue_batch_load
API API Description Input Parameters Return Values
int ifc_qdma_descq_queue_batch_load(struct ifc_qdma_channel *qchnl, void *req_buf, int dir, int n)

Depending on the direction, application selects the queue and prepare n numbr of descriptors but not submit the transactions. Application must use ifc_qdma_request_submit API to submit the transactions to DMA engine.

qchnl: channel context received on ifc_qchannel_get()

dir: DMA direction, one of IFC_QDMA_DIRECTION_*

r: request struct that needs to be processed

Returns the number of transactions completed.

negative otherwise