Intel® Ethernet 800 Series Linux Flow Control
Configuration Guide for RDMA Use Cases
Run Applications with the Right Priority
Set the ToS value in the application to steer it to the right traffic class.
Alternatively, for RoCEv2, you can set ToS for all traffic using the default_roce_tos parameter in configfs.
Following are some examples for setting ToS=24 (corresponding to prio 4):
LAN applications:
RDMA applications:
Set ToS for all RoCEv2 traffic: (device irdma0, port 1):
For example, a DSCP value of 24 (011 000) left-shifted by 2 bits gives an 8-bit ToS value of 96 (011 000 00) with a priority value of 3.