Intel® Ethernet 800 Series Linux Flow Control

Configuration Guide for RDMA Use Cases

ID 635330
Date 07/13/2023
Version 1.3
Document Table of Contents

Step 4: Set ToS in the Application (or for All RoCEv2 Traffic)

ToS is an 8-bit field in the IPv4/6 header. It can be set in two different ways on the 800 Series:

  • For an application: Use the application command line.

    For example:

    • LAN applications: ping -Q 16; iperf3 -S 16; netperf -Y 16
    • RDMA applications: ucmatose -t 16; ib_write_bw -t 16
  • For all RoCEv2 traffic on an interface: Use default_​roce_​tos in configfs.

    For example, set ToS 16 on device irdma0, port 1:

    # mkdir /sys/kernel/config/rdma_cm/irdma0 # echo 16 > /sys/kernel/config/rdma_cm/irdma0/ports/1/default_roce_tos