Multi Channel DMA Intel® FPGA IP for PCI Express* Design Example User Guide
Visible to Intel only — GUID: lsk1745449393308
Ixiasoft
Visible to Intel only — GUID: lsk1745449393308
Ixiasoft
3.5.8.3.2. Avalon-ST Device-side Packet Loopback (Device-side Packet Loopback)
Test example of testing a Device-side Packet Loopback design example with the following configuration: (use the following commands after completing the instructions outlined in the Prerequisites section)
Commands:
$ cd p0_software/user/cli/perfq_app
$ sudo ./perfq_app -b 0000:01:00.0 -p 32768 -l 5 -i -c 2 -d 2 -a 4
- bdf (-b 0000:01:00.0)
- 2 channels (-c 2)
- Loopback (-i)
- Payload length of 32,768 bytes in each descriptor (-p 32768)
- Time Limit (-l 5)
- Debug log enabled (-d 2)
- One thread per queue (-a 4)

Custom AVST DMA Gen4 x16 : P-Tile Hardware Test Result

Metadata Test
Metadata is the 8-byte private data that the host sends to the device in the H2D direction, and the device sends to the host in the D2H direction.
- If you have the design example generated with the metadata option enabled, modify IFC_QDMA_META_DATA, PERFQ_LOAD_DATA, and PERFQ_PERF settings as shown below in p0_software/user/common/mk/common.mk.
__cflags += -DIFC_QDMA_META_DATA
__cflags += -DPERFQ_LOAD_DATA
__cflags += -UPERFQ_PERF
- If the Linux kernel driver has been installed, build the driver and application by following the instructions in Build and Install the User Space Library and Build the Reference Application. Otherwise, the Linux kernel driver needs to be installed before building the driver and application.
- Run the metadata test using the following command:
sudo ./perfq_app -p 128 -s 128 -d 1 -i -a 2 -b 0000:01:00.0 -v -c 1