SR-IOV support status FAQ
search cancel

SR-IOV support status FAQ

book

Article ID: 327839

calendar_today

Updated On:

Products

VMware vSphere ESXi VMware vCenter Server

Issue/Introduction

This article provides answers to frequently asked questions about the support status for SR-IOV (Single Root I/O Virtualization).


Resolution

Q: Is SR-IOV (Single Root I/O Virtualization) supported on vSphere? If so, which release supports it?
A: The vSphere 5.1 introduces support for the SR-IOV. Using SR-IOV capable network cards, you can enable individual virtual functions (VFs) on the physical device to be assigned to virtual machines in passthrough (VMDirectPath I/O) mode, bypassing the networking functionality in the hypervisor. This mode is designed for workloads requiring low-latency networking characteristics. However, these features are not available for virtual machines configured with the SR-IOV:
  • vSphere vMotion.
  • Storage vMotion.
  • NetFlow.
  • VXLAN Virtual Wire.
  • vSphere High Availability.
  • vSphere Fault Tolerance.
  • vSphere DRS.
  • vSphere DPM.
  • Virtual machine suspend and resume.
  • Virtual machine snapshots.
  • MAC-based VLAN for passthrough virtual functions.
  • Hot addition and removal of virtual devices, memory, and vCPU.
  • Participation in a cluster environment.
  • Network statistics for a virtual machine NIC using SR-IOV passthrough.
Q: Which adapters are supported?
A: To check supported adapters, see the VMware Compatibility Guide and select SR-IOV under Features as a search option.

Q: What is the support model for the SR-IOV on vSphere 5.1 and 5.5?
A: The support model for the SR-IOV enabled adapters is the same as for any certified drivers. The VMware Global Support Services (GSS) organization provides support for this feature as well as patches and updates.

Q: What is the maximum number of VFs supported by the ESXi 5.1 and 5.5?
A: Due to the limited number of vectors available for passthrough devices, there is a limited number of VFs supported on a vSphere ESXi host. vSphere 5.1 and 5.5 SR-IOV supports up to 41 VFs on supported Intel NICs, and up to 64 VFs on supported Emulex NICs for passthrough.

The actual number of VFs supported depends on your system configuration. For example, if you have both Intel and Emulex NICs present with the SR-IOV enabled, the number of VFs available for the Intel NICs depends on how many VFs are configured for the Emulex NIC, and vice versa. You can use this formula to roughly estimate the number of VFs available for use:
 
3X + 2Y < 128</CODE>

Where X is the number of Intel VFs, and Y is the number of Emulex VFs.

Additional Information

Assign SR-IOV is disabled by default on ESXi 5.1 and 5.5. To enable SR-IOV, use the esxcli command or host profiles in 5.1. In vSphere 5.5, it can be done through the vSphere Web Client also.

Note: For SR-IOV to function, physical hosts must meet these requirements.
  • Supported Processor: Intel VT-d or AMD-Vi
  • Motherboard firmware support for Intel VT-d or AMD-Vi
  • IOMMU is enabled in the BIOS/UEFI

To enable SR-IOV on a Physical Adapter using the esxcli command in ESXi 5.1 or 5.5:

  1. At the host console, or via SSH as root, run the command:

    esxcli system module parameters set -m NIC_Driver_Module -p "max_vfs=n"

    Where:
     
    • NIC_Driver_Module is the module name of the NIC which is SR-IOV capable (for example, ixgbe)
    • n is the number of virtual functions (VFs) provided by the NIC (for example, 8)

    For example, to configure for an Intel X540 10 GB Ethernet Adapter, run the command:

    esxcli system module parameters set -m ixgbe -p "max_vfs=8"

    If you have a dual port NIC or two NICs that use the same module, run the command:

    esxcli system module parameters set -m ixgbe -p "max_vfs=8,8"

    Note: Add a comma and the value 8 for each additional NIC (for example, max_vfs=8,8,8 for three NICs, and so on). The number of virtual functions supported and available for configuration depends on your system configuration.
     
  2. Reboot the host to reload the driver with the configured parameters.

To enable SR-IOV on Physical Adapter using host profiles in the ESXi 5.1 or 5.5 :
 
  1. From the vSphere Web Client Home, click Rules and Profiles > Host Profiles.
  2. Select the host profile from the list and click the Manage tab.
  3. Click Edit Host Profile and expand the General System Settings folder.
  4. Expand Kernel Module Parameter and select the parameter of the physical function driver for creating virtual functions.

    For example, the parameter for the physical function driver of an Intel physical NIC is max_vfs.
     
  5. In the Value text box, type a comma-separated list of valid virtual function numbers.

    Each list entry is the number of virtual functions that you want to configure for each physical function. A value of 0 means SR-IOV is not enabled for that physical function.

    If you have a dual port NIC, set the value for each port separated by a comma as stated in the esxcli command procedure.
     
  6. Click Finish.
  7. Remediate the modified host profile to the target host.
To enable the SR-IOV on a Host Physical Adapter in the vSphere Web Client in the ESXi 5.5 :
 
  1. In the vSphere Web Client, navigate to the Host.
  2. In the Manage > Networking tab, select Physical adapters, you can see the SR-IOV property to check whether a physical adapter supports SR-IOV.
  3. Select the physical adapter and click Edit Settings.
  4. Under SR-IOV, select Enabled from the Status dropdown.
  5. In the Number of virtual functions text box, type the number of virtual functions that you want to configure for the adapter.
  6. Click OK.
  7. Restart the host.

Notes:

  • Although the SR-IOV is supported on the ESXi 5.1 hosts satisfying the requirements, SR-IOV on them can not be configured by using the vSphere Web Client. You can also not assign an SR-IOV passthrough adapter to a virtual machine on such a host. The adapter is available for virtual machines that are compatible with the ESXi 5.5 and later. Although a vCenter Server 5.5 release might be managing an ESXi 5.1 host, the configuration is the same as in release 5.1. You must add a PCI device to the virtual machine hardware and manually select a VF for the device.
  • 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.
  • LACP is currently unsupported with SR-IOV.

For more information:

  • For ESXi 5.1, see the Configure a Virtual Machine to Use SR-IOV in the vSphere Client in ESXi 5.1 and Configure a Virtual Machine to Use SR-IOV in the vSphere Web Client sections in the vSphere Networking Guide.
     
  • For ESXi 5.5, see the Configure a Virtual Machine to Use SR-IOV in the vSphere Web Client section in the vSphere Networking Guide.
For more information, see the Intel website, PCI-SIG SR-IOV Primer: An Introduction to SR-IOV Technology.
 
Note: The preceding link was correct as of August 29, 2013. If you find the link is broken, provide feedback and a VMware employee will update the link.