A RoCEv2 Flow-Level Load Balancing Method Based on the IPv6 Flow Label#
IETF 127 (San Francisco) digest Program Core pick San Francisco · 14–20 November 2026
Jiayuan Hu (presenter), Jie Dong, Yao Liu, Xia Gong.
- Why: AI/HPC training increasingly spans data centers over DCI, and RoCEv2's parallel RDMA sessions from one host share an identical 5-tuple — ECMP hashes them all onto one path, the elephant-flow problem at its worst.
- What: The ingress network device at the DCI/WAN edge rewrites the (zero) IPv6 Flow Label so downstream ECMP can hash on "5-tuple + Flow Label". Revision -04 tightened the rules: relabeling is done by the ingress device, not the host (hosts send Flow Label 0); existing non-zero labels MUST NOT be overwritten; QP-based labeling is configurable and disabled by default. Two hash-input cases because DETH (hence Src_QP) is absent in RC service: with DETH, {Src_QP || Dst_QP || address entropy} (80 bits); without, {Dst_QP || entropy} (56 bits).
- How: CRC-32/ISO-HDLC (hardware-friendly) over the QP numbers plus the low 16 bits of source/destination IPv6 addresses; the low 20 bits of the hash are written into the Flow Label.
- Where applicable: IPv6 RoCEv2 crossing DCI/WAN edges where the edge device can parse BTH/DETH at line rate; transparent to hosts and OS stacks, touches neither addresses nor ports (NAT/firewall-safe). One documented security departure from RFC 6437 (label predictability). Intra-DC fabrics solve this differently — via NIC spraying — which limits this to the WAN/DCI edge.