Intel® Ethernet and Configuring Single Root I/O Virtualization (SR-IOV) on Microsoft* Windows* Server 2012 Hyper-V Technical Brief v1.
Intel® Ethernet and Configuring SR-IOV on Windows* Server 2012
Legal Statements INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT.
Table of Contents Legal Statements ...............................................................................3 Table of Contents ..............................................................................4 Revision History ................................................................................4 1 Introduction ................................................................................5 1.1 Deploying IO Virtualization in Microsoft Windows Server 2012 Hyper-V............. 5 1.1.
1 Introduction The Intel® Ethernet Converged Network Adapter and Intel® Ethernet Server Adapter family of adapters introduced numerous industry-leading features that are helping data center administrators implement innovative solutions for difficult and challenging connectivity problems. I/O Virtualization is one of the fastest growing usage models within the data center. 1.
1.1.2 Virtual Function Overview A VF is not a full-fledged PCIe device. However, it provides a basic mechanism for directly transferring data between a Hyper-V child partition and the underlying SR-IOV network adapter. Software resources associated for data transfer are directly available to the VF and are isolated from use by the other VFs or the PF.
1.2 Live Migration & SR-IOV In Windows Server 2012, Live Migration can be performed with SR-IOV being used by a VM. If the source and target systems support SR-IOV and the target has an available VF, the VM will use the virtual function. If not, the VM will revert to the traditional path (VM-Bus). Each SR-IOV capable network adapter exposes a fixed number of Virtual Functions, which can be obtained by running the PowerShell command “Get-NetAdapterSriov”.
Note: The location is BIOS-dependent. Make sure Virtualization Technology is enabled. Make sure SR-IOV is enabled • • 8 Install Windows Server 2012 on the server platform.
• • • • • Operation System installation. The Windows Server 2012 installation will require updates to be installed. It will also require rebooting the system. Log in to the Server with Administrator privileges. Open the Device Manager and select the adapter interface you are using. Make sure SR-IOV is enabled. Enable the IovEnableOverride field in the Registry with a Key value of 1 by performing the following: 1. Open regedit.
• The vmms (Virtual Machine Management Service) is then restarted . Restart the system or by using the net stop/start command from Powershell: o net stop vmms o net start vmms • Open the Hyper-V Virtual Switch Manager. Using the GUI, create a new virtual switch from a supported Intel® Ethernet Converged Network Adapter X520, checking the “Enable Single Root I/O Virtualization (SR-IOV)” option.
• • Enable SR-IOV in the Virtual Machine settings. If there are insufficient hardware resources (due to non-SR-IOV-capable hardware or lack of resources) or, if ‘Enable SR-IOV’ is not checked, the Virtual Machine will default to a synthetic network adapter. VMQ and SR-IOV capabilities are mutually exclusive on the same instance of a Network Adapter. However, it is possible to have two instances of the same physical network adapter in the same VM–one that is VMQ-enabled and one that is SR-IOVenabled.
• Start or create a virtual machine. If SR-IOV has been correctly setup and supported on your system, an Unknown device will appear in the Device Manager. This is most likely the Virtual Function for your Intel® Ethernet Server Adapter. • Obtain the drivers from the Windows Update site. Otherwise, download the drivers from a trusted source and install them via Plug and Play.
• This is the Virtual Function driver that provides the enablement of SR-IOV. This provides the virtual machines with direct access to dedicated resources in the Ethernet controller. • The Virtual Function is configured for DHCP but you can assign a static IP address if needed.
3 Summary With Intel Ethernet Converged Network Adapters and the Microsoft Windows Server 2012 with Hyper-V applications running in Virtual Machines, the system can benefit from the low latency provided by SR-IOV. In addition, virtualized network appliances used for security, load balancing, and other functions are prime candidates for the SR-IOV approach. 4 Customer Support Intel® Customer Support Services offers a broad selection of programs, including phone support and warranty service.