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

ID 683517
Date 12/01/2021

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

Document Table of Contents 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 -d 1 -n –pf=<pf number> --vf=<vfnumber>
    Note: To run performance test, follow the following steps:
    • Define the following parameter in software/user/common/mk/
      __cflags += -DIFC_MCDMA_FUNC_VER
    • Execute the performance test with batch size 127 and pkt-gen files as 1. For example:
      ./perfq_app -b 0000:2d:00.0 -p 64 -l 5\ 
      -r -c 8 -a 8  -n -x 127 --files=64 -f 1 -d 1
    • PF number and VF number start with 1 in command line parameters.
    • Please run the performance on PF0 with -n parameter.

Did you find the information on this page useful?

Characters remaining:

Feedback Message