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

Download
ID 683517
Date 4/29/2022
Public
Document Table of Contents

3.5.2.6.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
    
    Example
    Map core 0, 1, and 2 to transmit queue 5.
    echo 7 > /sys/class/net/ifc_mcdma0/queues/tx-5

Did you find the information on this page useful?

Characters remaining:

Feedback Message