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

ID 683821
Date 10/29/2021
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.3. ifc_qdma_device_get

Table 74.  ifc_qdma_device_get
API API Description Input Parameters Return Values
int ifc_qdma_device_get(int port, struct ifc_qdma_device **qdev)

Based on the port number, API returnS corresponding device context to the application. Application must maintain the device context and use it for further operations.

When the application is done with I/O, it releases the context by using ifc_qdma_device_put API.

port - port number of the device, which is returned by ifc_mcdma_port_by_name API

qdev - Address of the pointer to device context

Updates device context and returns 0 on success

negative otherwise