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

ID 683821
Date 1/29/2024
Document Table of Contents ifc_qdma_device_get

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