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

ID 683517
Date 12/01/2021
Public

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

Document Table of Contents

3.5.2.5.3. 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 */
    

    Commands:

    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.