Multi Channel DMA Intel® FPGA IP for PCI Express* Design Example User Guide
ID
683517
Date
1/27/2025
Public
A newer version of this document is available. Customers should click here to go to the newest version.
3.5.2.5.1. Build and Install Netdev Driver
3.5.2.5.2. Enable VFs if SRIOV is Supported
3.5.2.5.3. Configure the Number of Channels Supported on the Device
3.5.2.5.4. Configure the MTU Value
3.5.2.5.5. Configure the Device Communication
3.5.2.5.6. Configure Transmit Queue Selection Mechanism
3.5.2.5.7. Test Procedure by Using Name Space Environment
3.5.2.5.8. PIO Test
3.5.2.3.4. Testing Bitstream Configuration beyond 256 Channels (for MCDMA Custom Driver)
Note: In case, if the *.sof file generated with the number of channels > 256, please follow this procedure.
- Enable following macros in user/common/mk/common.mk
__cflags += -DIFC_MCDMA_DIDF __cflags += -UIFC_MCDMA_SINGLE_FUNC
Note: In case of AVMM, BDF is provided as an argument and you must define IFC_MCDMA_SINGLE_FUNC. __cflags += -DIFC_MCDMA_SINGLE_FUNC - Go to this location:
cd user/cli/perfq_app/
- Perform the following command:
make clean && make all
- Run the test.
Configuration:
- 1 channel (-c 1)
- Packet gen bidirectional (-z)
- Payload length of 64 bytes in each descriptor (-p 64)
- Transfer the data 5 seconds (-l 2)
- Number of threads that needs to be used (-a 4)
- Dump the progress logs every second (-d 1)
- File size (-f 64)
- Batch size (-x 64)
Note: To configure –f and –x manually, IFC_MCDMA_FUNC_VER should be defined.Command for pktgen:./perfq_app -p 64 -l 2 -z -d 1 -c 2048 -a 4 -f 508 -x 508 -n
Command for loopback:./perfq_app -p 64 -l 2 -i -d 1 -c 2048\ -a 4 -f 1 - x64
Note:
- Currently, in DIDF mode, single page is supported.
- Simultaneous process, currently cannot be supported in DIDF mode. You can run one process with 2k channels.