When managing high-throughput or storage network traffic (such as iSCSI or NVMe over RDMA) on VMware ESXi hosts, network congestion can lead to packet loss.
Users need to manually adjust network pacing parameters to either enable global Link-Level Flow Control (Pause Frames) or disable granular Priority Flow Control (PFC) to match physical switch configurations or vendor compatibility guidelines.
VMware ESXi 7.x, ESXi 8.x
[IMPORTANT!] Before modifying flow control settings, verify that your NIC drivers and firmware versions are fully compliant with the Broadcom Compatibility Guide.
Step 1: Enable Tx/Rx Hardware Flow Control (Link-Level)
esxcli network nic pauseParams listesxcli network nic pauseParams set -n vmnic2 --rx=true --tx=true[NOTE!] The target physical NIC interface must be in an Up state. You cannot modify pauseParams on a disconnected or administrative-down interface.
Make Settings Persistent Across Reboots
To ensure these adjustments survive an ESXi host reboot, append the command to the local startup script:
/etc/rc.local.d/local.sh file using a text editor (such as vi).Step 2: Disable Priority Flow Control (PFC)
PFC is typically managed via specific driver module parameters and is effectively disabled if the underlying driver configuration, hardware capabilities, or physical switch port configurations do not actively enforce it.
esxcli system module parameters list --module <driver_name>set-m nmlx5_core -p "pfctx=0x00 pfcrx=0x00"esxcli network nic dcb status get -n <vmnic_name>Working Concepts
Hardware Flow Control (IEEE 802.3x)
Hardware flow control works at the link layer. When a receiving node's buffers are overwhelmed, it transmits a Pause Frame to the sending node. This instructs the sender to stop transmitting data momentarily across the entire link, preventing buffer overruns and subsequent dropped packets.
Priority Flow Control (PFC / IEEE 802.1Qbb)
PFC extends traditional flow control by operating granularly on individual traffic classes (Class of Service / CoS values 0-7) instead of the entire physical link.
Related References