Intel® Ethernet 800 Series Linux Flow Control
Configuration Guide for RDMA Use Cases
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
- For an application: Use the application command line.
For example:
- 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