I’m following up to check whether the issue has been resolved. Feel free to reply if you need further information. If the information provided was helpful, please click "Accept Answer" to help others in the community. Thank you!
Live migration over RDMA adapters fails
Hi everyone,
Has anyone here experienced that Live Migration jobs over 40 GbE RDMA adapters fail instantly with Event ID 21502? Traces show that the network card disabled PFC because of mismatched switch configurations. How can we properly re‑align QoS and PFC settings on the host adapters ?
Windows for business | Windows 365 Enterprise
2 answers
Sort by: Most helpful
-
Jason Nguyen Tran 27,210 Reputation points Independent Advisor
2026-09-29T05:40:53.98+00:00 -
Jason Nguyen Tran 27,210 Reputation points Independent Advisor
2026-09-09T10:09:02.1466667+00:00 Hello Smith Oliver,
Event ID 21502 during RDMA-based migrations usually points to Priority Flow Control (PFC) mismatches between the host NICs and the upstream switches. When the NIC detects that PFC is disabled or misaligned, it will drop the RDMA path and cause the migration to fail instantly.
The proper way to re-align QoS and PFC is to configure consistent settings across both the host adapters and the switches. On the host side, you can use PowerShell to verify and set QoS policies with commands like
Get-NetQosPolicyandNew-NetQosPolicy. Ensure that SMB Direct traffic (port 445) is tagged with the correct DSCP value and that PFC is enabled for that traffic class. On the switch side, configure the same DSCP/PFC mappings so that the NIC and switch agree on which traffic classes require lossless transport.After applying these changes, restart the NICs or reboot the host to ensure the new QoS policies take effect. It’s also a good idea to run
Get-SmbClientConfigurationandGet-SmbServerConfigurationto confirm that RDMA and SMB Direct are enabled and aligned with your QoS settings.I hope the response provided some helpful insight. If you find this answer useful, please hit “accept answer” so I know it addressed your concern.
Jason