12–SR-IOV Configuration
Configuring SR-IOV on Linux
221
BC0154501-00 P
Figure 12-8. Editing the grub.conf File for SR-IOV
b.
Save the
grub.conf
file and then reboot the system.
c.
To verify that the changes are in effect, issue the following command:
dmesg | grep -I iommu
A successful input–output memory management unit (IOMMU)
command output should show, for example:
Intel-IOMMU: enabled
d.
To view VF details (number of VFs and total VFs), issue the following
command:
find /sys/|grep -I sriov
11.
For a specific port, enable a quantity of VFs.
a.
Issue the following command to enable, for example, 8 VFs 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