User Manual

Driver FeaturesRev 2.0-3.0.0
Mellanox Technologies
84
If the current firmware version is the same as one provided with MLNX_OFED, run it in combination
with the
'--force-fw-update' parameter.
If the HCA does not support SR-IOV, please contact Mellanox Support: support@mellanox.com
Step 7.
Create the text file /etc/modprobe.d/mlx4_core.conf if it does not exist, otherwise delete its
contents.
Step 8. Insert an "option" line in the /etc/modprobe.d/mlx4_core.conf file to set the number of VFs. the
protocol type per port, and the allowed number of virtual functions to be used by the physical
function driver (probe_vf).
This configuration option is supported only in HCAs that their configuration file (INI) is
included in MLNX_OFED.
Parameter Recommended Value
num_pfs 1
Note: This field is optional and might not always
appear.
total_vfs 63
sriov_en true
options mlx4_core num_vfs=5 port_type_array=1,2 probe_vf=1
Parameter Recommended Value
num_vfs Absent, or zero:
The SRI-OV mode is not enabled in the driver, hence no VFs
will be available.
Its value is a single number in the range of 0-63. The driver will
enable the
num_vfs VFs on the HCA and this will be applied
to all ConnectX® HCAs on the host.
Its format is a string which allows the user to specify the
num_vfs parameter separately per installed HCA.
Its format is: "bb:dd.f-v,bb:dd.f-v,…"
bb:dd.f = bus:device.function of the PF of the HCA
v = number of VFs to enable for that HCA
This parameter can be set in one of the following ways. For
example:
num_vfs=5 - The driver will enable 5 VFs on the HCA and
this will be applied to all ConnectX® HCAs on the host
num_vfs=00:04.0-5,00:07.0-8 - The driver will enable 5
VFs on the HCA positioned in BDF 00:04.0 and 8 on the one in
00:07.0)
Note: PFs not included in the above list will not have SR-
IOV enabled.