When you create a vSwitch with SET, you need to explicitly enable RDMA on the virtual switch itself. The fact that RDMA is enabled on the physical NICs doesn't automatically carry over to the vSwitch.
Here are the key things to check:
1. Verify the vSwitch was created with RDMA enabled:
Get-VMSwitch | Select Name, RdmaEnabled
If RdmaEnabled shows False or Unknown, you'll need to recreate the vSwitch with RDMA support:
New-VMSwitch -Name "YourSwitchName" -NetAdapterName "NIC1","NIC2" -EnableEmbeddedTeaming $true -EnableIov $true -EnablePacketDirect $true
2. Check if your physical NICs support RDMA with SET:
Get-NetAdapterRdma | Select Name, Enabled, Operational
3. Verify RDMA capabilities on the host vNIC:
Get-NetAdapterRdma -Name "vEthernet (YourSwitchName)"
4. Common fixes to try:
- Ensure all physical NICs in the SET team are using the same RDMA type (RoCE v2, iWARP, etc.)
- Update network adapter drivers and firmware to the latest versions
- Check that the physical NICs support RDMA in switch-embedded teaming mode (not all do)
- Verify DCB (Data Center Bridging) is properly configured if using RoCE
5. If recreating the vSwitch, use this command to ensure RDMA is enabled:
New-VMSwitch -Name "YourSwitchName" -NetAdapterName "NIC1","NIC2" -EnableEmbeddedTeaming $true -AllowManagementOS $true
Set-VMSwitchTeam -Name "YourSwitchName" -LoadBalancingAlgorithm HyperVPort
Then enable RDMA on the host vNIC:
Enable-NetAdapterRdma -Name "vEthernet (YourSwitchName)"
What specific RDMA-capable NICs are you using, and what does Get-VMSwitch | FL * show for your current switch configuration?