Supermicro Enterprise Advanced SONiC v4.5.0 — 6.3 RoCEv2 Configuration and Verification

Enterprise Advanced SONiC: Use Case: AI Fabric 6.3 RoCEv2 Configuration and Verification RDMA over Converged Ethernet version 2 (RoCEv2) enables direct memory access between servers without CPU overhead, delivering the ultra-low latency and high throughput required for GPU cluster interconnects and high-performance storage fabrics. Supermicro Enterprise Advanced SONiC provides a streamlined RoCEv2 enablement command that automatically configures lossless buffer allocation, Priority Flow Control (PFC), WRED/ECN marking, and QoS scheduling policies optimized for RDMA traffic. For advanced configurations, refer to the Supermicro Enterprise Advanced SONiC User Guide. Important:

Enabling and Disabling RoCE requires a switch restart. You will be prompted with a warning; after you input Y , the configuration will be saved and the switch will be reloaded. 1. Configure the switch to enable RoCEv2 with the default RoCEv2/ISCSI lossless buffer settings, as well as the default WRED/ECN, scheduling, and QoS map configurations that are defined for the switch. Leaf1(config)# roce enable {force-defaults} 2. (VXLAN only) If you are configuring RoCEv2 in combination with VXLAN, you must set the QoS Mode of the VXLAN VTEP interface to uniform mode to copy the DSCP value from the inner header to the outer VXLAN header.

Leaf1(config)# interface vxlan vtep[name] Leaf1(config-if-vtep1)# qos-mode uniform 3. (VXLAN only) Similarly, to ensure ECN trims and marks the packet as expected in a VXLAN topology, you must configure a WRED policy and associate it to the VXLAN VTEP interface. Leaf1(config)# qos wred-policy Leaf1(config-wred-wred-green)# green minimum-threshold threshold-value> maximum-threshold drop-probability Leaf1(config-wred-wred-green)# ecn green ! Leaf1(config)# interface vxlan vxlan-interface-name Leaf1(config-if-vtep1)# queue [0-7] wred-policy name> 55