Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Enabling SR-IOV for VMware

 

The physical network interfaces support single root I/O virtualization (SR-IOV) capability and can be connected to the VMs using PCI passthrough. Before you enable SR-IOV for VMware, note the following:

  • SR-IOV is only supported with Intel Ivy Bridge CPU (or higher) and Intel x520 NICs using ixgbe driver or X710 NICs with 10G ports and using i40e driver. Any other NIC models are not supported.

    Support for ixgbe driver and i40e driver is available from Junos OS Release 18.4R1 onwards.

  • Starting in Junos OS Release 18.4R1, in VMware deployments operating in SR-IOV mode with an ESXi server, support is available for VLAN-tagged traffic for vMX interfaces.

To enable vMX with vSphere for SR-IOV adapters, perform these tasks:

Enabling SR-IOV on a Host

To enable SR-IOV on a physical adapter:

  1. Navigate to the host in the left navigation pane and click the Manage tab. Click the Networking tab and select Physical Adapters.

    You can review the SR-IOV property to determine whether a physical adapter supports SR-IOV.

  2. Select the physical adapter and click Edit Settings.
  3. Select Enabled from the Status box.
  4. In the number of virtual functions text box, specify the number of virtual functions to configure for the adapter.Note

    On a vMX instance, you are allowed to configure only one virtual function per physical function.

  5. Click OK.
  6. Restart the host.

Assigning the SR-IOV NIC to the VFP VM

To assign the SR-IOV to the VFP VM using the vSphere Web Client:

  1. Navigate to the VFP VM in the left navigation pane and click the Manage tab.
  2. Click the Settings tab, select VM Hardware, and click Edit near the top right corner.
  3. Select the Virtual Hardware tab, select PCI Device from the New device list, and click Add.

    The list of SR-IOV virtual NICs appears under the New PCI device row.

  4. Select the SR-IOV NIC to assign to the VFP VM and click OK.

Configuring Port Binding for the Distributed Port Group

A distributed port group specifies port configuration options for each member port. Distributed port groups define how a connection is made to a network

To change the port binding configurations for distributed port group in the vSphere Web Client:

  1. Navigate to the VFP VM in the left navigation pane and click the Summary tab. The Summary tab displays the current status.
  2. On the Summary tab for the virtual machine, expand the VM Hardware panel and check the assigned distributed port group to SR-IOV ports inside the VM.
  3. Click the distributed port group and click Manage Distributed Port Groups option.
  4. In the new window, select General to edit the distributed port group settings from Static to Ephemeral.