GTS AXI Multichannel DMA IP for PCI Express* User Guide

ID 847470
Date 8/25/2025
Public
Document Table of Contents

B.1.6.3. ifc_qdma_device_get

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