User Manual
Rev 2.2-1.0.1
Mellanox Technologies
113
For example, to Intel systems, add:
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux Server (2.6.32-36.x86-645)
root (hd0,0)
kernel /vmlinuz-2.6.32-36.x86-64 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
intel_iommu=on
1
1. Please make sure the parameter "intel_iommu=on" exists when updating the /boot/grub/grub.conf
file, otherwise SR-IOV cannot be loaded.
initrd /initrd-2.6.32-36.x86-64.img
Step 5. Install the MLNX_OFED driver for Linux that supports SR-IOV.
SR-IOV can be enabled and managed by using one of the following methods:
• Burn firmware with SR-IOV support where the number of virtual functions (VFs) will be set to 16
--enable-sriov
• Run the mlxconfig tool and set the SRIOV_EN parameter to “1” without re-burning the firmware
SRIOV_EN = 1
For further information, please refer to section “mlxconfig - Changing Device Configuration Tool”
in the MFT User Manual (www.mellanox.com > Products > Software > Firmware Tools).
Step 6. Verify the HCA is configured to support SR-IOV.
[root@selene ~]# mstflint -dev <PCI Device> dc
1. Verify in the [HCA] section the following fields appear
1
,
2
:
[HCA]
num_pfs = 1
total_vfs = <0-126>
sriov_en = true
Parameter Recommended Value
num_pfs 1
Note:
This field is optional and might not always
appear.
total_vfs
• When using firmware version 2.31.5000 and
above, the recommended value is 126.
• When using firmware version 2.30.8000 and
below, the recommended value is 63
Note: Before setting number of VFs in SR-IOV,
please make sure your system can support that
amount of VFs. Setting number of VFs larger than
what your Hardware and Software can support may
cause your system to cease working.
sriov_en true