User Manual
Rev 2.0-3.0.0
Mellanox Technologies
85
The example above loads the driver with 5 VFs (num_vfs). The standard use of a VF is a single VF
per a single VM. However, the number of VFs varies upon the working mode requirements.
The protocol types are:
• Port 1 = IB
• Port 2 = Ethernet
• port_type_array=2,2 (Ethernet, Ethernet)
• port_type_array=1,1 (IB, IB)
• port_type_array=1,2 (VPI: IB, Ethernet)
• NO port_type_array module parameter: ports are IB
Step 9.
Reboot the server.
port_type_array Specifies the protocol type of the ports. It is either one array
of 2 port types
't1,t2' for all devices or list of BDF to
port_type_array 'bb:dd.f-t1;t2,...'. (string)
probe_vf Absent, or zero:
• No VFs will be used by the PF driver
• Its value is a single number in the range of 0-63. Physical Func-
tion driver will use
probe_vf VFs and this will be applied to
all ConnectX® HCAs on the host.
• Its format is a string which allows the user to specify the
probe_vf 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 use in the PF driver for that HCA
This parameter can be set in one of the following ways. For
example:
• probe_vfs=5 - The PF driver will probe 5 VFs on the HCA
and this will be applied to all ConnectX® HCAs on the host
•
probe_vfs=00:04.0-5,00:07.0-8 - The PF driver will
probe 5 VFs on the HCA positioned in BDF 00:04.0 and 8 for
the one in 00:07.0)
Note: PFs not included in the above list will not use any of
their VFs in the PF driver.
If the SR-IOV is not supported by the server, the machine might not come out of boot/
load.
Parameter Recommended Value