Multi Channel DMA Intel® FPGA IP for PCI Express* Design Example User Guide
ID
683517
Date
11/04/2024
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.5.5. Configure the Device Communication
Configuration for PF-PF communication by using debugfs interface
Loopback ED has the provision to switch the packets from one channel to another channel.
cd /sys/kernel/debug/ifc_mcdma_config/
Configure from PF0 to PF1
echo src_chnl_no > src_chnl echo dst_chnl_no > dst_chnl echo 1 > update
Configure from PF1 to PF0
echo src_chnl_no > src_chnl echo dst_chnl_no > dst_chnl echo 1 > update
For example:
- Configure the communication from channel number 64 to channel number 0.
echo 64 > src_chnl echo 0 > dst_chnl echo 1 > update
- Configure the communication from channel number 0 to channel number 64.
echo 0 > src_chnl echo 64 > dst_chnl echo 1 > update
Display the configuration
cat show