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

ID 683517
Date 10/28/2022
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.3.3.4. Packet Gen Test

  1. Configuration in user/cli/perfq_app/perfq_app.h

    In the case of static channel mapping, modify the following parameters (ignore these parameters in the case of dynamic channel mapping):

    /* Number of PFs */
    #define IFC_QDMA_PFS <number of PFs>
    /* Channels available per PF */
    #define IFC_QDMA_PER_PF_CHNLS <number of channels per PF>
    /* Channels available per VF */
    #define IFC_QDMA_PER_VF_CHNLS <number of channels per VF>
    /* Number of VFs per PF */
    #define IFC_QDMA_PER_PF_VFS <number of VFs per PF>
  2. Continue the procedure in the steps in Software Setup for building and installing MCDMA.
  3. Run the perfq_app application command:
     $ ./perfq_app -b 0000:01:00.0 -p 32768 -d 2 -c 1\
    -a 2 -l 5 -z -n –pf=<pf number> --vf=<vfnumber>
    Note: If you run DMA on PF only, then "--vf " might not be required. However, if you run DMA on VF, then "--pf" and "--vf" both might be needed as you need to know from which PF the VF was spawned.
    Note: The hardware test was run with Gen3 x16. Test with Gen4 x16 may be added in a future release.
    Note:
    • PF number and VF number start with 1 in command line parameters.
    • Please run the performance on PF0 with -n parameter.