Before you can connect virtual machines to virtual functions, use the vSphere Web Client to enable SR-IOV and set the number of virtual functions on your host.
- In the vSphere Web Client, navigate to the host.
- On the Manage tab, click Networking and select Physical adapters.
You can look at the SR-IOV property to see whether a physical adapter supports SR-IOV.
- Select the physical adapter and click Edit adapter settings.
- Under SR-IOV, select Enabled from the Status drop-down menu.
- In the Number of virtual functions text box, type the number of virtual functions that you want to configure for the adapter.
- Click OK.
- Restart the host.
The virtual functions become active on the NIC port represented by the physical adapter entry. They appear in the PCI Devices list in the Settings tab for the host.
You can use the esxcli network sriovnic vCLI commands to examine the configuration of virtual functions on the host.
What to do next
Associate a virtual machine with a virtual function through an SR-IOV passthrough network adapter.