Setting up sr-iov – Dell Emulex Family of Adapters User Manual

Page 839

Advertising
background image

Emulex Drivers Version 10.2 for Linux User Manual

P010081-01A Rev. A

3. Configuration

Ethernet Driver Configuration

839

Setting Up SR-IOV

Note: Currently, SR-IOV is supported only in non-multichannel setups.

Prerequisites

To set up SR-IOV on your system, you need the following:

A server/blade with an SR-IOV-capable motherboard BIOS.

Note: Configuration mechanisms for parameters such as MAC address, VLAN

and QoS for VF are supported in RHEL 6 and above, and SLES 11 and

above distributions.

OneConnect OCx11102-xT UCNA, or later adapter versions, or LPe16202 CFA

in FCoE+NIC mode.

If a KVM hypervisor is installed, it must contain the qemu-kvm packages.

Depending on your system, perform one or more of the following tasks to set up your

BIOS. For more information, see the manufacturer’s instructions for your system.

Enable SR-IOV in the system BIOS. This supports SR-IOV functionality.

Enable Intel Virtualization Technology support for Direct I/O VT-d.

Procedure

You can use the PXESelect utility or the UEFI (HII) utility to set up SR-IOV.

To enable and configure SR-IOV in the OneConnect firmware using either the

UEFIBoot utility or the PXESelect utility, see the Boot for NIC, iSCSI, FCoE, and RoCE

Protocols User Manual.

1. Install the required Linux operating system that serves as a hypervisor.
2. Update the /boot/grub/menu.lst file to include the following command line load

parameter for the Linux kernel:

intel_iommu=on

3. Install the appropriate version of the Emulex Ethernet driver that supports SR-IOV

for the operating system version that you are using.

4. Reboot the server for the new changes to become operational.
5. Use the “lspci -vvv” output command to check if SR-IOV is properly enabled:

lspci -vvv

This command returns an SR-IOV capability section for each Ethernet PF. The

Initial VFs and Total VFs should be non-zero. Make a note of the lspci command

output in the hypervisor. This output is needed in step 10 on page 842. Specifically

make note of the pci-id of the VFs that have been created.
Example of the SR-IOV capabilities section output of the PF with SR-IOV enabled:

Capabilities: [180] Single Root I/O Virtualization (SR-IOV)

IOVCap: Migration-, Interrupt Message Number: 000

IOVCtl: Enable- Migration- Interrupt- MSE- ARIHierarchy-

IOVSta: Migration-

Advertising