Multi Channel DMA Intel® FPGA IP for PCI Express Design Example User Guide

ID 683517
Date 10/28/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

3.5.2.6.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