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