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

ID 683517
Date 2/06/2022

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents
Give Feedback Examples

  • Testapp options (for Packet Gen/Val): ./testapp –help
  • Pio Test:
    Testapp command: sudo ./testapp --bdf 0000:01:00.0 --piotest
  • BAS Test:
    The BAS support is enabled on the hardware, enable the following flag in: user/common/include/ifc_mcdma.h
    #define IFC_MCDMA_X16	/* For PCIe x16 */
    #define IFC_MCDMA_X8	/* For PCIe x8 */


    To verify the write operation:
    ./cli/testapp/testapp --bdf 0000:01:00.0\
     --reqsize 1048576 --bas --transmit
    To verify the read operation:
    ./cli/testapp/testapp --bdf 0000:01:00.0\
     --reqsize 1048576 --bas --receive
    To verify the bi-direction operation:
    ./cli/testapp/testapp --bdf 0000:01:00.0\
     --reqsize 1048576 --bas --bidirection
    Performance test:
    ./cli/testapp/testapp --bdf 0000:01:00.0\
     --reqsize 1048576 --basperf --bidirection
  • For more example commands, check the software/user/cli/testapp/README.txt file.
Note: Reset the IP before starting the DMA by using the following command:
echo 1 > /sys/bus/pci/devices/\