﻿# PFC headroom after a speed or cable change

Evaluate pause reaction time, applied buffer profiles and simultaneous pressure before treating a configured no-drop priority as lossless.

Author: Retrivium team
Updated: 2026-11-06
Canonical URL: https://retrivium.ai/journal/roce-pfc-headroom-state/
Language: en

## A no-drop label after a physical change

Consider a switch port whose speed or attached cable changes while the lossless traffic class remains enabled. Point-to-point transfers still work, but a synchronized training burst loses packets. The configuration label describes intended flow control; it does not establish that reserved space can absorb traffic during the actual pause reaction interval. A successful light transfer provides little evidence about that transient boundary.

## Traffic continues while the pause travels

The [Cumulus QoS guide](https://docs.nvidia.com/networking-ethernet-software/cumulus-linux/Layer-1-and-Switch-Ports/Quality-of-Service/) explicitly includes interface delay and cable distance in flow-control buffer calculations. Once a receiver signals congestion, packets already in flight and packets sent before the neighbor reacts still need storage. An incorrect cable-length setting can waste space or allow drops before control takes effect. Port speed changes the relationship between elapsed reaction time and arriving bytes, so an old profile needs renewed justification.

## Find the reserve that is really applied

Inventory the current speed, cable assumption, traffic classification, lossless priority group and attached buffer profile. Record start and stop thresholds separately from reserved headroom and shared pool policy. Some platforms calculate reservations using packet-size assumptions; the documented Cumulus small-packet probability feature is one example, not a transferable sizing recipe. Keep ASIC family, software version and operational profile with the record. A configuration file alone cannot prove successful programming of the intended port.

## Exercise simultaneous pressure deliberately

Use an approved isolated workload that reproduces the relevant sender fan-in and packet-size mix. Observe the affected priority groups, pause generation and reception, occupancy watermarks and documented drop counters over matching intervals. Include simultaneous activity on other ports when shared resources are part of the design. Compare before and after any authorized change without changing classification, offered work and buffer policy together, otherwise the cause of improvement remains ambiguous.

## Separate a switch shortage from an endpoint shortage

A receiver can also discard traffic because receive work requests are unavailable. The [DOCA telemetry guide](https://networking-docs.nvidia.com/doca/archive/3-5-0/doca-telemetry-service-guide) documents endpoint out_of_buffer and congestion-related counters, with device and function scope. Those observations are not interchangeable with a switch ingress headroom watermark. Acceptance requires locating the constrained resource, showing the intended priority actually uses it, and retaining enough temporal evidence to relate pause activity to the observed loss. An absence of sampled occupancy peaks is not proof that short peaks never occurred.

## What the result does not certify

This is a qualification of a specified topology and workload envelope, not a universal losslessness guarantee. Watchdog intervention, misclassification or peer settings can invalidate the same path for different reasons. Use [PFC counter interpretation](/journal/guide-net-roce-pfc/) to distinguish pause directions and [counter interval accounting](/journal/guide-net-link-counters/) to avoid combining resets or overlapping counters. Recheck after speed, cable, queue mapping or shared-pool changes; do not solve uncertainty by assigning every class a larger reserve and silently exhausting another resource.
