User Manual
Rev 2.0-3.0.0
Mellanox Technologies
89
Step 3. Restart the server.
4.13.6 Burning Firmware with SR-IOV
The following procedure explains how to create a binary image with SR-IOV enabled that has 63
VFs. However, the number of VFs varies according to the working mode requirements.
To burn the firmware:
Step 1. Verify you have MFT installed in your machine.
Step 2. Enter the firmware directory, according to the HCA type (e.g. ConnectX®-3).
The path is: /mlnx_ofed/firmware/<device>/<FW version>
Step 3. Find the ini file that contains the HCA's PSID. Run:
If such ini file cannot be found in the firmware directory, you may want to dump the configura-
tion file using mstflint. Run:
Step 4. Edit the ini file that you found in the previous step, and add the following lines to the [HCA]
section in order to support 63 VFs.
Step 5. Create a binary image using the modified ini file. Run:
The file <file name>.bin is a firmware binary file with SR-IOV enabled that has 63 VFs. It can
be spread across all machines and can be burnt using mstflint, which is part of the bundle, using
the following command:
Running /bin/rpm -e --allmatches kernel-ib kernel-ib-devel libibverbs libibverbs-devel
libibverbs-devel-static libibverbs-utils libmlx4 libmlx4-devel libibcm libibcm-devel
libibumad libibumad-devel libibumad-static libibmad libibmad-devel libibmad-static
librdmacm librdmacm-utils librdmacm-devel ibacm opensm-libs opensm-devel perftest com-
pat-dapl compat-dapl-devel dapl dapl-devel dapl-devel-static dapl-utils srptools infini-
band-diags-guest ofed-scripts opensm-devel
warning: /etc/infiniband/openib.conf saved as /etc/infiniband/openib.conf.rpmsave
Running /tmp/2818-ofed_vendor_post_uninstall.sh
# ibv_devinfo | grep board_id
board_id: MT_1090120019
# mstflint -dev <PCI device> dc > <ini device file>
;; SRIOV enable
total_vfs = 63
1
num_pfs = 1
sriov_en = true
1. Some servers might have issues accepting 63 Virtual Functions or more. In such case, please set the
number of "total_vfs" to any required value.
# mlxburn -fw ./<fw name>mlx -conf <modified ini file> -wrimage <file name>.bin
# mstflint -dev <PCI device> -image <file name>.bin b
After burning the firmware, the machine must be rebooted. If the driver is only
restarted, the machine may hang and a reboot using power OFF/ON might be required.