DCQCN: Quantized Congestion Control for RDMA
DCQCN (Data Center Quantized Congestion Notification) is the end-to-end congestion control that lets a lossless RoCEv2 fabric run without living in PFC pause. The switch marks ECN early, the receiver echoes a CNP, and the sender quantizes its rate, so senders slow down before queues overflow.
The DCQCN closed loop
Sender NIC, congested switch, receiver NIC. The switch's WRED ECN marker fires before the queue hits the PFC pause threshold. The receiver generates a Congestion Notification Packet (CNP); the sender's reaction point reduces rate, then ramps back. Lossless, no PFC pressure, fast convergence.
The job DCQCN does in an AI fabric
RoCEv2 has two ways to handle congestion: PFC pause, which is back-pressure that propagates hop by hop, and DCQCN, an end-to-end rate-control loop. PFC alone works, but it pushes congestion upstream and risks pause storms and head-of-line blocking. DCQCN works ahead of PFC, marking packets with ECN before the queue reaches the pause threshold, so the sender slows down before the switch ever has to assert pause.
Done well, you spend most of your fabric life on DCQCN feedback alone, with PFC as a safety backstop. Done badly, ECN thresholds are misaligned with PFC headroom and you get pause storms even with DCQCN configured.
Sender NIC quantizes its rate
Receives CNPs and runs the DCQCN α-update, multiplicative-decrease, additive-increase loop to quantize its sending rate.
Switch marks ECN early
Marks ECN-capable packets to CE using a WRED curve when queue depth crosses K-min, with marking probability rising linearly to P-max at K-max.
Receiver echoes a CNP
Generates a CNP back to the sender on each marked flow, rate-limited to roughly one per 50 µs per flow.
PFC pause and DCQCN, side by side
Both keep RoCEv2 lossless, but they act at different points. The tuning goal is to spend the fabric's life on DCQCN feedback and hold PFC in reserve as a backstop.
| Axis | PFC pausebackstop | DCQCNprimary control |
|---|---|---|
| Mechanism | Hop-by-hop back-pressure that propagates upstream. | End-to-end rate-control loop from sender to receiver. |
| Trigger point | Fires when the queue reaches the pause threshold. | Marks ECN before the queue reaches the pause threshold. |
| Failure mode | Risks pause storms and head-of-line blocking. | Sender slows before the switch ever has to assert pause. |
| Role in the fabric | Safety backstop only, for when buffers still fill. | Primary control for most of the fabric's life. |
| Scope | Link-level, one hop at a time. | End-to-end, sender all the way to receiver. |
ECN marking in OcNOS-DC
K-min, K-max, P-max
Per-priority-queue WRED ECN marking with configurable K-min and K-max thresholds and a P-max marking probability.
Independent of PFC
ECN marking is configured independently from PFC pause thresholds.
ECN over VXLAN
On Trident 3 (X4, X5, X7) and Trident 4 platforms, ECN bits are preserved through VXLAN encap and decap so DCQCN works end-to-end across an EVPN-VXLAN overlay, not just on the underlay.
License tiers
PFC and ECN are in the OcNOS-DC IPBASE and PLUS SKUs. Dynamic ECN, PFC deadlock detection and recovery, and PFC and ECN over VXLAN are in the PLUS SKUs.
Why this matters more than it sounds
ECN threshold misalignment has two ends that look opposite, but both leave the fabric mis-tuned.
- ECN configured but never marks (K-min too high): PFC carries the whole congestion-control burden.
- ECN marks too aggressively (K-min too low): senders cut rate before there is any real congestion.
DCQCN, answered
What is DCQCN?
How does DCQCN work?
How do DCQCN and PFC work together?
What are the ECN K-min and K-max thresholds in DCQCN?
Does DCQCN require RoCEv2?
Go deeper. Take it with you.
The product datasheet plus short, technical downloads that go further than this page.
OcNOS-DC Datasheet
Full OcNOS-DC specification: the EVPN-VXLAN and Ethernet for AI feature set, software SKUs, supported hardware platforms, and the solution ordering guide.
Get the datasheetOcNOS 800G Lossless AI Fabric
Lossless RoCEv2 fabric on Tomahawk 5 spines: SKU tiers, qualified platforms, and deployment architecture.
Get the briefEVPN-VXLAN Data Center Fabric
Leaf-spine data center fabric on EVPN-VXLAN: a VRF and VNIs per tenant, EVPN multihoming, BGP unnumbered and route-target filtering.
Get the briefOcNOS-DC Datasheet
Quick form. Your PDF opens in a new tab immediately after submit.
✓ Opening your PDF in a new tab…
If it didn't open, use the link below.
OcNOS 800G Lossless AI Fabric
Quick form. Your PDF opens in a new tab immediately after submit.
✓ Opening your PDF in a new tab…
If it didn't open, use the link below.
EVPN-VXLAN Data Center Fabric
Quick form. Your PDF opens in a new tab immediately after submit.
✓ Opening your PDF in a new tab…
If it didn't open, use the link below.
Tuning DCQCN for a real workload? Bring us your traces
Send us your ECN counters and queue traces, and an IP Infusion engineer will align your K-min, K-max, and PFC headroom, or start with a first-pass leaf-spine layout in the AI Fabric Design Suite.
Design the whole AI fabric with OcNOS
From the business case to the port-count maths, pick up wherever you are in the build.