

Traditional socket networking passes data through multiple software layers and usually involves CPU participation and memory copies. Remote Direct Memory Access (RDMA) lets one system transfer data directly to or from memory on another system with much less CPU involvement. That lowers overhead and can reduce latency and improve throughput consistency.

Figure 15. Simplified normal TCP path

Figure 16. Simplified RDMA path
RoCE carries RDMA semantics over Ethernet. RoCEv1 operates at Layer 2 and is therefore limited to an Ethernet broadcast domain. RoCEv2 encapsulates the transport over UDP/IP, making it routable across a Layer-3 fabric. Large modern data-centre designs generally focus on RoCEv2 because routed leaf-spine fabrics scale and isolate failures better than giant Layer-2 domains.
RDMA endpoints use queue-based abstractions such as send and receive queues. A beginner does not need to memorize verbs programming, but should understand that RDMA is connection/state aware at the endpoints and that NIC firmware participates deeply in reliable data movement and congestion response.
GPUDirect RDMA allows capable network adapters to exchange data directly with GPU memory over the PCIe fabric, reducing CPU staging. The end-to-end path therefore includes GPU topology, PCIe, NIC placement, switch fabric, and remote PCIe/GPU topology. A network can be perfect while poor local topology still limits application performance.

Figure 17. ECN/CNP-style feedback loop

Figure 18. Priority Flow Control behaviour
PFC is more granular than Ethernet link pause because it can pause one priority while other traffic continues. But it is not free: pauses can propagate upstream, consume buffers, and create head-of-line blocking. Correct cable-length assumptions, buffer sizing, priority mapping, watchdog/monitoring, and ECN thresholds matter.
Data Center Quantized Congestion Notification (DCQCN) is a widely used RoCEv2 congestion-control approach combining ECN marking in the network with receiver-generated feedback and sender rate adjustment. NVIDIA Spectrum-X adds platform-specific programmable congestion-control and telemetry integration. Exact algorithms and parameters are reference-architecture specific and should be taken from the validated profile rather than invented manually.
Key idea
PFC protects a traffic class from drops at a hop. ECN and endpoint congestion control try to stop queues from growing in the first place. A robust design uses congestion avoidance/control as the primary mechanism and treats PFC, when enabled, as a carefully bounded safety mechanism.
Source note: See references [5], [6], [20].
AI fabrics create congestion because many endpoints can send at high line rate toward the same links at nearly the same time. Static ECMP hashes flows across equal-cost paths, but hashing does not know that one path is currently busy. A large elephant flow can make one ECMP bucket hot while another path is underused.
On supported Spectrum platforms, adaptive routing can use switch state such as queue occupancy and port utilization to choose among eligible equal-cost paths dynamically. This is a data-plane load-balancing mechanism, not a replacement for BGP. The routing table still supplies the candidate paths; adaptive routing chooses better candidates at packet/flow granularity according to platform rules.
Spectrum-X couples switch telemetry and host network behaviour more tightly than ordinary Ethernet designs. Current NVIDIA reference architectures expose NIC settings for RoCE adaptive routing and programmable congestion control. The operational lesson is that the switch and NIC are a system: changing one side without validating the other can invalidate performance assumptions.

Figure 19. Congestion-control feedback in an AI fabric
| Mechanism | Category | Role |
| BGP / ECMP | Standards-based IP networking | Advertise multiple equal-cost routes and provide baseline path diversity. |
| ECN | Standards-based congestion signalling | Mark packets before queues overflow. |
| PFC | IEEE Ethernet flow control | Pause selected priority classes hop by hop; use cautiously. |
| RoCEv2 | Industry RDMA over UDP/IP | Routable RDMA transport over Ethernet. |
| Adaptive routing on Spectrum | Platform capability | Uses local congestion/utilization state to choose eligible paths dynamically. |
| Spectrum-X NIC profiles / programmable CC | NVIDIA platform integration | Coordinates host-side RoCE, adaptive routing, and congestion-control behaviour. |
| NetQ Spectrum-X views | NVIDIA operations tooling | Observes adaptive routing, RoCE state, queues, and platform health. |
Source note: See references [3], [16], [21].