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 3: UP to TC

The ETS aspect of DCB is used to configure UP to TC mapping as a table per port.

Option A: PCP/VLAN PFC: UP to TC Mapping

ETS has a up2tc option, configurable on Linux using the lldptool utility.

For example, this command assigns packets marked with prio=2 to TC1, packets with prio=0 to TC2, and all other packet priorities to TC0.

# lldptool -T -i eth0 -V ETS-CFG up2tc=0:2,1:0,2:1,3:0,4:0,5:0,6:0,7:0

Option B: DCSP Based PFC: UP to TC Mapping

In the case of the E800 Series Adapter implementation of DSCP, UP has a one to one mapping to TC. This means that an UP value of 0 is mapped to TC 0, an UP value of 1 is mapped to TC 1, and so on.

Linux traffic shaping utilities like tc or cgroups do not work for RDMA applications because RDMA applications bypass the kernel. If running a combination of LAN and RDMA traffic, you can still use Linux traffic shaping for LAN traffic, but you must use the PCP or DSCP based mappings described in this section for RDMA traffic.