14–Windows Server 2016
Configuring RoCE Interfaces with Hyper-V
245
BC0154501-00 P
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
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 (
a.
Under
Available counters
, select
RDMA Activity.
b.
Under
Instances of selected object
, select the adapter.
c.
Click
Add
.