11–SR-IOV Configuration
Configuring SR-IOV on Linux
179
AH0054601-00 B
d.
To view VF details (number of VFs and total VFs), issue the
find
/sys/|grep -I sriov
command.
11.
For a specific port, enable a quantity of VFs.
a.
Issue the following command to enable, for example, 8 VF on PCI
instance 04:00.0 (bus 4, device 0, function 0):
[root@ah-rh68 ~]# echo 8 >
/sys/devices/pci0000:00/0000:00:02.0/0000:04:00.0/sriov_numvfs
b.
Review the command output (
) to confirm that actual VFs
were created on bus 4, device 2 (from the 0000:00:02.0 parameter),
functions 0 through 7. Note that the actual device ID is different on the
PFs (8070 in this example) versus the VFs (9090 in this example).
Figure 11-9. Command Output for sriov_numvfs
12.
To view a list of all PF and VF interfaces, issue the following command:
#
ip link show/ifconfig -a