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

ID 683517
Date 6/09/2025
Public

Visible to Intel only — GUID: vca1745533544187

Ixiasoft

Document Table of Contents

3.5.9.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 undef other size or 
    #define IFC_PIO_128 ➤ 128b read/write operations on PIO BAR and undef other size
    
    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
      
      Figure 47. Test Results for 256-bit DPDK
    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
      
      Figure 48. PIO 128b Write and Read Test
  2. For PIO using Bypass with BAM/BAS user mode, you must undefine the following software flag:

    #undef IFC_QDMA_INTF_ST (p0_software/user/common/include/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:01:00.0 -o