GTS AXI Multichannel DMA IP for PCI Express* User Guide

ID 847470
Date 8/25/2025
Public
Document Table of Contents

6.3.5.4.2. AXI-S Packet Generate/Check

  1. Update the static channel mapping in p0_software/user/cli/perfq_app/perfq_app.h by modifying the following parameters:

    /* 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. Complete the instructions outlined in Prerequisites and run the perfq_app application command:

    $ sudo ./perfq_app -b 0000:08:00.0 -p 32768 -d 2 -c 1 -a 2 \
    -l 5 -z -–pf=<pf number> --vf=<vfnumber>
    Figure 37. Test Results for PF0

    Note: If you run DMA on a PF only, then "--vf " might not be required. However, if you run DMA on a VF, then "--pf" and "--vf" both might be needed as you need to know from which PF the VF was spawned. The PF number and VF number start with 1 in the command line parameters. For example, --pf=1 is pointing to PF0 and --pf=2 is pointing to PF1. The same applies for VFs.

    Configuration:
    • bdf (-b 0000:01:00.0)
    • One channel (-c 1)
    • Bidirectional (-z)
    • Payload length of 32,768 bytes in each descriptor (-p 32768)
    • Time Limit (-l 5)
    • Dump every 2 seconds (-d 2)
    • One thread per queue (-a 2)