14–Windows Server 2016
Configuring VMMQ
261
BC0154501-00 P
4.
To enable VMMQ on the VM, issue the following Windows PowerShell
command:
PS C:\Users\Administrators>
set-vmnetworkadapter -vmname vm1
-VMNetworkAdapterName "network adapter" -vmmqenabled $true
-vmmqqueuepairs 4
Example output of 64 virtual functions and 16 VMMQs is shown here:
PS C:\Users\Administrator>
get-netadaptervport
Name ID MacAddress VID ProcMask FID State ITR QPairs
---- -- ---------- --- -------- --- ----- --- ------
Ethernet 3 0 00-15-5D-36-0A-FB 0:0 PF Activated Unknown 4
Ethernet 3 1 00-0E-1E-C4-C0-A4 0:8 PF Activated Adaptive 4
Ethernet 3 2 0:0 0 Activated Unknown 1
Ethernet 3 3 0:0 1 Activated Unknown 1
Ethernet 3 4 0:0 2 Activated Unknown 1
Ethernet 3 5 0:0 3 Activated Unknown 1
Ethernet 3 6 0:0 4 Activated Unknown 1
Ethernet 3 7 0:0 5 Activated Unknown 1
Ethernet 3 8 0:0 6 Activated Unknown 1
Ethernet 3 9 0:0 7 Activated Unknown 1
Ethernet 3 10 0:0 8 Activated Unknown 1
Ethernet 3 11 0:0 9 Activated Unknown 1
.
.
.
Ethernet 3 64 0:0 62 Activated Unknown 1
Ethernet 3 65 0:0 63 Activated Unknown 1
Ethernet 3 66 00-15-5D-36-0A-04 0:16 PF Activated Adaptive 4
Ethernet 3 67 00-15-5D-36-0A-05 1:0 PF Activated Adaptive 4
Ethernet 3 68 00-15-5D-36-0A-06 0:0 PF Activated Adaptive 4
Name ID MacAddress VID ProcMask FID State ITR QPairs
---- -- ---------- --- -------- --- ----- --- ------
Ethernet 3 69 00-15-5D-36-0A-07 0:8 PF Activated Adaptive 4
Ethernet 3 70 00-15-5D-36-0A-08 0:16 PF Activated Adaptive 4
Ethernet 3 71 00-15-5D-36-0A-09 1:0 PF Activated Adaptive 4
Ethernet 3 72 00-15-5D-36-0A-0A 0:0 PF Activated Adaptive 4
Ethernet 3 73 00-15-5D-36-0A-0B 0:8 PF Activated Adaptive 4
Ethernet 3 74 00-15-5D-36-0A-F4 0:16 PF Activated Adaptive 4
Ethernet 3 75 00-15-5D-36-0A-F5 1:0 PF Activated Adaptive 4
Ethernet 3 76 00-15-5D-36-0A-F6 0:0 PF Activated Adaptive 4
Ethernet 3 77 00-15-5D-36-0A-F7 0:8 PF Activated Adaptive 4
Ethernet 3 78 00-15-5D-36-0A-F8 0:16 PF Activated Adaptive 4
NOTE
For an SR-IOV capable virtual switch: If the VM switch and hardware
acceleration is SR-IOV-enabled, you must create 10 VMs with 8 virtual
NICs each to utilize VMMQ. This requirement is because the SR-IOV
has precedence over VMMQ.