Users Guide

15–Windows Server 2016
Configuring RoCE Interfaces with Hyper-V
256 AH0054602-00 M
Adding Host Virtual NICs (Virtual Ports)
To add host virtual NICs:
1. To add a host virtual NIC, issue the following command:
Add-VMNetworkAdapter -SwitchName "New Virtual Switch" -Name
SMB - ManagementOS
2. Enable RDMA on host virtual NICs as shown in “To enable RDMA in a host
virtual NIC:” on page 253.
3. To assign a vLAN ID to the virtual port, issue the following command:
Set-VMNetworkAdapterVlan -VMNetworkAdapterName SMB -VlanId 5
-Access -ManagementOS
Mapping the SMB Drive and Running RoCE Traffic
To map the SMB drive and run the RoCE traffic:
1. Launch the Performance Monitor (Perfmon).
2. Complete the Add Counters dialog box (Figure 15-5) as follows:
a. Under Available counters, select RDMA Activity.
b. Under Instances of selected object, select the adapter.
c. Click Add.