How To
Summary
Priority Flow Control (PFC) is defined by the IEEE 802.1Qbb standard and is a link-level flow control mechanism that operates on individual traffic priorities. This document outlines how to use PFC in AIX.
Objective
What is Priority Flow Control?
Priority Flow Control (PFC) is defined by the IEEE 802.1Qbb standard and is a link-level flow control mechanism that operates on individual traffic priorities. PFC is an enhancement over standard Ethernet PAUSE(802.3x). Priority Flow Control (PFC) is used in data center and enterprise Ethernet networks to manage congestion and ensure lossless transmission for specific types of traffic—especially important for storage, high-performance computing (HPC), and real-time applications. Unlike standard EthernetPause that pauses all traffic on a link, PFC allows for the selective pausing of traffic based on its class of service (CoS).

How PFC works?
Traffic Classification:
- Ethernet frames are tagged with a Priority Code Point (PCP) in the VLAN tag (802.1Q).
- There are 8 priority levels (0–7), each representing a different traffic class.
Congestion Detection:
- A switch or NIC detects congestion on a specific priority queue.
Pause Frame Transmission:
- The congested device sends a PFC pause frame to the upstream device only for that specific priority queue
- This frame tells the sender to pause traffic for that specific priority (not all traffic).
Selective Pausing:
- The sender pauses only the affected priority class, allowing other traffic to continue flowing.
Resume Transmission:
- Once congestion clears, a PFC resume frame is sent to restart the paused traffic.
The Network Interface Card (NIC) and switch agree on which Priority Flow Control (PFC) priorities to use through a combination of manual configuration and automatic negotiation using a protocol called Data Center Bridging Exchange Protocol (DCBX). This is done to ensure that the Pause frames received are acknowledged and the traffic is paused for the selected priority, and the traffic is resumed once the congestion is cleared, ensuring lossless transmission for the selected traffic.
Environment
Hardware requirements:
All adapters supporting firmware LLDP support DCBX exchange and hence PFC.
Feature codes for adapters supporting PFC currently :
EC2R, EC2S, EC3L, EC3M, EC2U, EC2T, EC66, EC67, EC71, EC72, EC75, EC76, EN24, EN26
Software requirements:
PFC is supported in AIX from 7.3 TL 3.
APARs needed for complete support for PFC are as follows:
IJ51729 - Enabling delay drop support for NIC traffic
IJ52805 - When flow_ctrl_type=priority, entstat shows global pause frame stats
IJ52095 - Delay drop feature is enabled even for flow_ctrl is set to 'no'
IJ52197 - FVTR-DEV:IP is not getting configured on SRIOV port
IJ55760 - VLAN priority wrong for RocEv1 packets
Steps
Configurations Needed in AIX:
To use PFC, the underlying adapter needs to be set with the below values for these attributes.
dcbx_mode yes Specifies adapter firmware DCBX enabled or disabled True
flow_ctrl_type priority Flow control type True
AIX Command to do so:
chdev -l entX -a dcbx_mode=yes -a flow_ctrl_type=priority
As PFC can pause traffic based on selective priority, to differentiate the traffic based on priority, it is essential that a vlan device is created on top of the adapter with the priority same as the priority configured as lossless at the switch side.
# lsattr -El ent8
base_adapter ent0 VLAN Base Adapter True
vlan_priority 3 VLAN Priority True
vlan_tag_id 5 VLAN Tag ID True
AIX Command to do so:
smitty vlan
Add a VLAN
↓
Select the parent adapter (example: ent0)
↓
Enter VLAN ID (for example, 20) & VLAN Priority (example: 3)
Configurations at Switch side:
Requisite: LLDP is a must for PFC negotiation and functionality to be successful across the connections.
Sample configurations In Mellanox Onyx switch (for enabling PFC on Prio 3):
## Global DCBX PFC Configuration at switch level
Configure terminal
dcb priority-flow-control enable force
dcb priority-flow-control priority 3 enable
##Port/Interface Level Configuration
Configure terminal
interface ethernet 1/4
dcb priority-flow-control mode on force
Sample configurations in Cisco Nexus 9K (for enabling PFC on Prio 3):
## Class map - QOS – configuration
configure terminal
class-map type qos pfc-test-c1
match cos 3
exit
policy-map type qos pfc-test-p1
class type qos pfc-test-c1
set qos-group 3
exit
exit
## Class map- NETWORK QOS - configuration
class-map type network-qos pfc-test-c1
match qos-group 3
exit
policy-map type network-qos pfc-test-p1
class type network-qos pfc-test-c1
pause pfc-cos 3
exit
exit
##Global/Switch level NETWORK-QOS configuration
system qos
service-policy type network-qos pfc-test-p1
exit
## Port/Interface Level configuration
interface Ethernet1/3
service-policy type qos input pfc-test-p1
exit
##Interface Level DCBX configuration
priority-flow-control mode auto
( or )
priority-flow-control mode on send-tlv
Additional Information
How to verify PFC is configured properly?
AIX:
#lsattr -El entX | grep flow_ctrl
flow_ctrl yes Request flow control True
flow_ctrl_rx yes Receive pause frames True
flow_ctrl_tx yes Transmit pause frames True
flow_ctrl_type priority Flow control type True
# lsattr -El entX | grep dcbx
dcbx_mode yes Specifies adapter firmware DCBX enabled or disabled True
# entstat -d entX | grep -i pause
Number of PAUSE packets transmitted: 0
Number of PAUSE packets received: 0
a_pause_mac_ctrl_frames_received_high = 0
a_pause_mac_ctrl_frames_received_low = 627464
a_pause_mac_ctrl_frames_transmitted_high = 0
a_pause_mac_ctrl_frames_transmitted_low = 134
Number of PAUSE packets transmitted = 0 and a_pause_mac_ctrl_frames_transmitted_low = x => PFC is the current method used for flow control and that AIX has sent ‘x’ pause frames.
When PFC is successfully functional, the counters should match at the corresponding switch port and there should not be any drops in entstat.
Mellanox Onyx switch:
1) show dcb priority-flow-control
2) show interfaces eth 1/X counters pfc prio 3
Cisco Nexus 9k:
1) show qos dcbxp info
2) show qos dcbxp interface eth 1/X
3) show interface eth 1/X priority-flow-control detail
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Author: Sivakami B K
Operating System: AIX
Hardware: Power
Feedback: aix_feedback@wwpdl.vnet.ibm.com, sivakami.bk@ibm.com
Document Location
Worldwide
Was this topic helpful?
Document Information
Modified date:
14 October 2025
UID
ibm17247776