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

ID 683821
Date 7/14/2023
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.1. ifc_api_start

Table 92.  ifc_api_start
API API Description Input Parameters Return Values
void ifc_app_start(void)
This function is called at the time of application initialization. Probe and prepare the application for DMA transactions.
  • maps the enabled device memory to user space
  • memory allocation from huge page file system

hugepagefs allows user space to get continuous and unswapable memory, which you can use for DMA operations.

Set default huge page size as 1 GB at boot time and allocate the required memory from huge pages.

void

0 on success

negative otherwise