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

ID 683821
Date 7/30/2024
Public
Document Table of Contents

8.1.6.1. ifc_api_start

Table 99.  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 unswappable 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