6.5.1

Table Of Contents
Assign a Virtual Function as SR-IOV Passthrough Adapter to a Virtual
Machine
To ensure that a virtual machine and a physical NIC can exchange data, you must associate the virtual
machine with one or more virtual functions as SR-IOV passthrough network adapters.
Prerequisites
n
Verify that the virtual functions exist on the host.
n
Verify that the passthrough networking devices for the virtual functions are active in the PCI Devices
list on the Settings tab for the host.
n
Verify that the virtual machine compatibility is ESXi 5.5 and later.
n
Verify that Red Hat Enterprise Linux 6 and later or Windows has been selected as the guest operating
system when the virtual machine was created.
Procedure
1 Locate the virtual machine in the vSphere Web Client.
a Select a data center, folder, cluster, resource pool, or host and click the VMs tab.
b Click Virtual Machines and double-click the virtual machine from the list.
2 Power off the virtual machine.
3 On the Configure tab of the virtual machine, expand Settings and select VM Hardware.
4 Click Edit and select the Virtual Hardware tab in the dialog box displaying the settings.
5 From the New device drop-down menu, select Network and click Add.
6 Expand the New Network section and connect the virtual machine to a port group.
The virtual NIC does not use this port group for data traffic. The port group is used to extract the
networking properties, for example VLAN tagging, to apply on the data traffic.
7 From the Adapter type drop-down menu, select SR-IOV passthrough.
8 From the Physical function drop-down menu, select the physical adapter to back the passthrough
virtual machine adapter.
9 To allow changes in the MTU of packets from the guest operating system, use the Guest OS MTU
Change drop-down menu.
10 Expand the Memory section, select Reserve all guest memory (All locked) and click OK.
I/O memory management unit (IOMMU) must reach all virtual machine memory so that the
passthrough device can access the memory by using direct memory access (DMA).
11 Power on the virtual machine.
vSphere Networking
VMware, Inc. 159