GTS AXI Multichannel DMA IP for PCI Express* User Guide

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

6.3.6.5. BAS Test

For x4 BAS:
  • X4 BAS supports a burst length of 32 by default. In the file perfq_app.h (p0_software/dpdk/dpdk/examples/mcdma-test/perfq/perfq_app.h):

    #define IFC_MCDMA_BAS_X4_BURST_LENGTH 32

For the Traffic Generator/Checker design example, you must disable the MSI-X parameter, IFC_QDMA_MSIX_ENABLE, in the file p0_software/dpdk/dpdk/drivers/net/mcdma/base/mcdma_ip_params.h if MSI-X is not enabled in the IP Parameter Editor GUI. By default, the DPDK Driver software parameter is enabled and MSI-X is disabled in the IP. This mismatch prevents the ifc_uio kernel module from being loaded.

Note: Refer to Design Example Variants and BAR Mappings for BAR mapping information.
Note: A BAS test failure may be observed when the request size exceeds 2 kB. A fix is planned in a future release.
Commands:
  1. $ cd dpdk-stable/build/examples/mcdma-test/perfq
  2. To verify the write operation:

    $ sudo ./build/mcdma-test -- -b 0000:08:00.0 --bar=<BAR number> --bas -s 512 -t

    Figure 45. Write Operation Results
  3. To verify the read operation:

    $ sudo ./build/mcdma-test -- -b 0000:08:00.0 --bar=<BAR number> --bas -s 512 -r

    Figure 46. Read Operation Results
  4. To verify the write and read operations:

    $ sudo ./build/mcdma-test -- -b 0000:08:00.0 --bar=<BAR number> --bas -s 512 -z

    Figure 47. Write and Read Operation Results
  5. Performance test:

    $ sudo ./build/mcdma-test -- -b 0000:08:00.0 --bar=<BAR number> --bas_perf -s 16384 -z

    Figure 48. Performance Test Results
Note: For DPDK: VF/PF cannot run BAM+BAS+MCDMA simultaneously within one VM or hypervisor. You need to run one instance of VF/PF in an independent VM.