Skip to main content
Version: current

priority-flow-control


interface/ethernet/switch/qos/priority-flow-control

Syscap: rbswitch and crs_prestera and !prestera-ac3
Type: Directory

PFC configuration is organized in profiles. Different switch ports can be assigned to different PFC profiles. The maximum number of hardware Tx managers depends on the switch chip model. The builtin profile named "disabled" cannot be changed.

FlagNameDescription
*default
Xdisabled
Iinactive
Hhw-offloaded
ArgumentTypeDescription
name ( mandatory )stringThe user-defined name of the PFC profile.
traffic-class ( mandatory )multi { array-id, tc: num [ .. 7] }The list of PFC-enabled traffic classes.
rxboolEnables receiving of PFC frames. The received PFC frame pauses the specific priority queues on the port that received the PFC frame for the duration specified by the PFC frame. Disabling rx disables queue pausing.
txboolEnables transmission of PFC frames.
pause-thresholdalt { pause-threshold-pct: num [ .. 100] , pause-threshold-byte: num [1536 .. ] }Transmits a pause frame (XOFF) when the total size of enqueued packets reaches this threshold. Enqueued packets are counted per ingress port. Applies only when tx=yes. The value can be given either explicitly in bytes or percent of the respective shared pool size (shared-poolX-byte-cap).
resume-thresholdalt { resume-threshold-pct: num [ .. 100] , resume-threshold-byte: num [256 .. ] }Transmits a resume frame (XON) when the total size of enqueued packets drops down to this threshold. Enqueued packets are counted per ingress port. Applies only when tx=yes. The value can be given either explicitly in bytes or percent of the respective shared pool size (shared-poolX-byte-cap).
Read-only ArgumentTypeDescription
hw-idnum