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.3.3.2. Custom PIO Read Write Test
You can read and write from PIO address range in bar 2 from any valid custom memory.
Parameters for Write operation
-b <bdf> -o --pio_w_addr=<address> --pio_w_val=<value to write> --bar=<bar number>
Example:
# ./software/user/cli/perfq_app# ./perfq_app -b 0000:01:00.0 -o --pio_w_addr=0x1010 --pio_w_val=0x30 --bar=2
WRITE: PIO Address = 0x1010 Value = 0x30, bar = 2
Parameters for Read operation
-b <bdf> -o --pio_r_addr=<address> --bar=<bar number>
Example:
# ./software/user/cli/perfq_app# ./perfq_app -b 0000:01:00.0 -o --pio_r_addr=0x1010 --bar=2
READ: PIO Address = 0x1010 Value = 0x30, bar = 2