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.4.3.2. BAM Test

  1. If the BAM support is enabled on hardware, enable the following flags in: dpdk/dpdk/drivers/net/mcdma/rte_pmd_mcdma.h
    __cflags += -UIFC_PIO_256 > 256b read/write operations on PIO BAR 
    	__cflags += -UIFC_PIO_128 > 128b read/write operations on PIO BAR
  2. Enable the below flag for 256b read or write operations in: dpdk/dpdk/drivers/net/mcdma/rte_pmd_mcdma.h
    __cflags += -DIFC_PIO_256

    Command: ./build/mcdma-test -- -b 0000:01:00.0 -o

  3. Enable the below flag for 128b read or write operations in: dpdk/dpdk/drivers/net/mcdma/rte_pmd_mcdma.h
    __cflags += -DIFC_PIO_128 
    __cflags += -UIFC_PIO_256
    Command: ./build/mcdma-test -- -b 0000:01:00.0 -o
    Figure 36. PIO 128b Write and Read Test