GTS AXI Multichannel DMA IP for PCI Express* User Guide
6.3.6.5. BAS Test
- 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.
- $ cd dpdk-stable/build/examples/mcdma-test/perfq
- 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 - 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 - 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 - Performance test:
$ sudo ./build/mcdma-test -- -b 0000:08:00.0 --bar=<BAR number> --bas_perf -s 16384 -z
Figure 48. Performance Test Results