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.6.2. Transmit Packet Steering (XPS)
Transmit Packet Steering is a mechanism for selecting which transmit queue to use when transmitting a packet on a multi-queue device.
When using XPS, you can map multiple cores to a queue.
Configuration
- Disable IFC_SELECT_QUEUE_ALGO flag in driver/kmod/mcdma-netdev-driver/Makefile.
- Map Tx queues to cores:
echo cpu_mask > /sys/class/net/ifc_mcdma0/queues/tx-i cat /sys/class/net/ifc_mcdma0/queues/tx-i
ExampleMap core 0, 1, and 2 to transmit queue 5.echo 7 > /sys/class/net/ifc_mcdma0/queues/tx-5