Knowledge Base Article
How do I set the SOF and EOF on each descriptor of the Multi Channel DMA IP for PCI Express* in Intel® Quartus® Prime Pro Edition Software version 21.2?
Description
In the Intel® Quartus® Prime Pro Edition Software version 21.2 Multi-Channel DMA for PCI Express* IP, the file size is 64 descriptors in software by default. Every 64th descriptor contains an EOF set.
Resolution
To set the SOF and EOF on each descriptor, please use following steps.
- Add the following highlighted txt line in examples/mcdma-test/perfq/Makefile
CFLAGS += -O3
CFLAGS += -DPERFQ_PERF
CFLAGS += -UPERFQ_DATA
CFLAGS += -UPERFQ_LOAD_DATA
CFLAGS += -UVERIFY_FUNC
CFLAGS += -UIFC_ED_CONFIG_TID_UPDATE
CFLAGS += -DIFC_MCDMA_FUNC_VER
CFLAGS += $(WERROR_FLAGS)
- Make clean all => Build perfq_app
- Pass the file size as the parameter
./build/app/mcdma-test -- -b 0000:01:00.1 -p 64 -l 6 -r -d 1 -c 1 -a 1 -n -f 1
(In this command, -f 1 sets the SOF and EOF in every descriptor and every descriptor can be considered as packet)
Additional Information
These make file modification will be set as default in the Intel® Quartus® Prime Pro Edition Software version 21.3 software and future releases.