User Manual

Rev 2.2-1.0.1
Mellanox Technologies
117
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.
If the SR-IOV is not supported by the server, the machine might not come out of boot/
load.
probe_vf=1,2,3 - The PF driver will activate 1 VF on
physical port 1, 2 VFs on physical port 2 and 3 dual port
VFs (applies only to dual port HCA when all ports are
Ethernet ports).
This applies to all ConnectX® HCAs in the host.
probe_vf=00:04.0-5;6;7,00:07.0-8;9;10 - The PF
driver will activate:
HCA positioned in BDF 00:04.0
5 single VFs on port 1
6 single VFs on port 2
7 dual port VFs
HCA positioned in BDF 00:07.0
8 single VFs on port 1
9 single VFs on port 2
10 dual port VFs
Applies when all ports are configure as Ethernet in dual port HCAs.
Notes:
PFs not included in the above list will not activate any of
their VFs in the PF driver
Triplets and single port VFs are only valid when all ports
are configured as Ethernet. When an InfiniBand port exist,
only probe_vf=a syntax is valid where “a” is a single
value that represents the number of VFs
The second parameter in a triplet is valid only when there
are more than 1 physical port
Every value (either a value in a triplet or a single value)
should be less than or equal to the respective value of
num_vfs parameter
Parameter Recommended Value