Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

PFC Watchdog

Overview

In a lossless AI Ethernet fabric, priority-based flow control (PFC) allows independent flow control for each class of service to ensure that congestion does not result in frame loss. PFC pause frames instruct the link partner to halt packet transmission. These frames can propagate through the network, causing traffic on the PFC streams to stop in what is known as a PFC pause storm. Use the PFC watchdog to detect and to resolve PFC pause storms.

The PFC watchdog monitors PFC-enabled ports for PFC pause storms. The PFC watchdog intervenes when a PFC-enabled port receives PFC pause frames for an extended period of time and is unable to schedule any of the data packets on PFC-enabled queues. The PFC watchdog mitigates the situation by disabling the queue where the PFC pause storm was detected for a set length of time. This length of time, called the recovery time, is configurable. After the recovery time passes, the PFC watchdog reenables the affected queue.

The PFC watchdog plays a critical role with its three key functions: detection, mitigation, and restoration.

Benefits

  • Quickly detect and resolve PFC pause storms.

  • Maintain lossless traffic links.

  • Improve link quality.

Configuration

The watchdog recovery is a global setting, so it requires the same action on all ports to function. When you configure the PFC watchdog on multiple ports, make sure all ports are configured with the same type of action (drop or forward). By default, all ports use the drop action.

You can enable the PFC watchdog on all PFC-enabled queues.

The device logs PFC watchdog detection and recovery events in the system log with a timestamp.

  1. Enable PFC watchdog.
  2. The PFC watchdog checks the status of PFC queues at regular intervals. Configure this interval in milliseconds.
  3. Configure how many polling intervals the PFC watchdog waits before it mitigates the stalled traffic.
  4. Specify the action that the PFC watchdog takes to mitigate the traffic congestion.
  5. Configure how long the PFC watchdog disables the affected queue for before it restores PFC.
  6. Verify you have configured the PFC watchdog correctly.
  7. Monitor the number of PFC pause storms that have been detected and recovered, as well as the number of packets that have been dropped, on a particular interface.

Platform Support

See Feature Explorer for platform and release support.