Live migration over RDMA adapters fails

Smith Oliver 80 Reputation points
2026-09-09T09:23:51.4433333+00:00

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
0 comments No comments

1 answer

Sort by: Oldest
  1. Jason Nguyen Tran 25,120 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-NetQosPolicy and New-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-SmbClientConfiguration and Get-SmbServerConfiguration to 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

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.