Installation guide

# modprobe igb [<option>=<VAL1>,<VAL2>,]
# lsmod |grep igb
igb 87592 0
dca 6708 1 igb
4. Act ivat e Virt u al Fu n ct io n s
The max_vfs parameter of the igb module allocates the maximum number of Virtual
Functions. The max_vfs parameter causes the driver to spawn, up to the value of the
parameter in, Virtual Functions. For this particular card the valid range is 0 to 7.
Remove the module to change the variable.
# modprobe -r igb
Restart the module with the max_vfs set to 1 or any number of Virtual Functions up to the
maximum supported by your device.
# modprobe igb max_vfs=1
5. In sp ect t h e n ew Virt u al Fu n ct io n s
Using the lspci command, list the newly added Virtual Functions attached to the Intel 82576
network device.
# lspci | grep 82576
03:00.0 Ethernet controller: Intel Corporation 82576 Gigabit Network
Connection (rev 01)
03:00.1 Ethernet controller: Intel Corporation 82576 Gigabit Network
Connection (rev 01)
03:10.0 Ethernet controller: Intel Corporation 82576 Virtual Function (rev 01)
03:10.1 Ethernet controller: Intel Corporation 82576 Virtual Function (rev 01)
The identifier for the PCI device is found with the -n parameter of the lspci command.
# lspci -n | grep 03:00.0
03:00.0 0200: 8086:10c9 (rev 01)
# lspci -n | grep 03:10.0
03:10.0 0200: 8086:10ca (rev 01)
The Physical Function corresponds to 8086:10c9 and the Virtual Function to 8086:10ca.
6. Fin d t h e devices wit h virsh
The libvirt service must find the device to add a device to a guest. Use the virsh nodedev-
list command to list available host devices.
# virsh nodedev-list | grep 8086
pci_8086_10c9
pci_8086_10c9_0
pci_8086_10ca
pci_8086_10ca_0
[output truncated]
The serial numbers for the Virtual Functions and Physical Functions should be in the list.
7. G et ad van ced det ails
Red Hat En t erp rise Lin ux 5 Virt ualizat ion Guid e
206