Multi Channel DMA Intel® FPGA IP for PCI Express* Design Example User Guide
Visible to Intel only — GUID: jwi1745541677639
Ixiasoft
Visible to Intel only — GUID: jwi1745541677639
Ixiasoft
3.5.9.5. BAS Test
For x4 BAS:
- Set the PCIe_SLOT “2” in rte_pmd_mcdma.h (p0_software/dpdk/dpdk/drivers/net/mcdma/rte_pmd_mcdma.h).
- 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.
Commands:
- To verify the write operation:
$ sudo ./build/mcdma-test -- -b 0000:01:00.0 --bar=0 \ --bas -s 512 -t
Figure 49. BAS Write Operation - To verify the read operation:
$ sudo ./build/mcdma-test -- -b 0000:01:00.0 --bar=0 \ --bas -s 512 -r
Figure 50. BAS Read Operation - To verify the write and read operations:
$ sudo ./build/mcdma-test -- -b 0000:01:00.0 --bar=0 \ --bas -s 512 -z
Figure 51. BAS Write and Read Operations - Performance test:
The log below is collected on a Gen3 x16 H-Tile.
$ sudo ./build/mcdma-test -- -b 0000:01:00.0 --bar=0 \ --bas_perf -s 16384 -z
Figure 52. Performance Test