To set up SR-IOV, do the following:
Install the mstflint tools.
Check the device’s PCI.
Check if SR-IOV is enabled in the firmware.
Configure the needed number of VFs
This file will be generated only if IOMMU is set in the grub.conf file (by adding “intel_iommu=on” to /boot/grub/grub.conf file).
[mlx4 devices only] Create/Edit the file /etc/modprobe.d/mlx4.conf:
[mlx5 devices only] Write to the sysfs file the number of needed
- Reboot the driver.
Load the driver and verify that the VFs were created.
For further information, refer to section "Setting Up SR-IOV" in the MLNX_OFED User Manual.