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

ID 683517
Date 2/06/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.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