GTS AXI Multichannel DMA IP for PCI Express* User Guide

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

6.3.6.4. BAM Test

  1. If the BAM is enabled in the design example, set the following flags in p0_software/dpdk/dpdk/drivers/net/mcdma/rte_pmd_mcdma.h:

    #define IFC_PIO_256 ➤ 256b read/write operations on PIO BAR and undefine other sizes or

    #define IFC_PIO_128 ➤ 128b read/write operations on PIO BAR and undefine other sizes

    1. To enable 256-bit read or write operations, set the software flags as shown below in p0_software/dpdk/dpdk/drivers/net/mcdma/rte_pmd_mcdma.h:

      #define IFC_PIO_256

      #undef IFC_PIO_128

    2. To enable 128-bit read or write operations, set the software flags as shown below in p0_software/dpdk/dpdk/drivers/net/mcdma/rte_pmd_mcdma.h:

      #undef IFC_PIO_256

      #define IFC_PIO_128

  2. You must undefine the following software flag:

    #undef IFC_QDMA_INTF_ST (p0_software/dpdk/dpdk/drivers/net/mcdma/base/mcdma_ip_params.h)

  3. Follow the instructions outlined in Prerequisites to build and install the driver.
  4. Run the test using the following commands:

    $ cd dpdk-stable/build/examples/mcdma-test/perfq

    $ sudo ./build/mcdma-test -- -b 0000:08:00.0 -o

    Figure 43. 256-bit Operation Results
    Figure 44. 128-bit Operation Results