User Manual
Rev 2.3-1.0.1
Mellanox Technologies
175
num_vfs Notes:
• PFs not included in the above list will not have SR-
IOV enabled.
• Triplets and single port VFs are only valid when all
ports are configured as Ethernet. When an InfiniBand
port exists, only
num_vfs=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.
In a triplet, x+z<=63 and y+z<=63, the maximum number of
VFs on each physical port must be 63.
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)
Valid port types: 1-ib, 2-eth, 3-auto, 4-N/A
If only a single port is available, use the N/A port type for
port2 (e.g '1,4').
probe_vf • If absent or zero: no VF interfaces will be loaded in
the Hypervisor/host
• If num_vfs is a number in the range of 1-63, the driver
running on the Hypervisor will itself activate that
number of VFs. All these VFs will run on the Hyper
-
visor. This number will apply to all ConnectX® HCAs
on that host.
• If its a triplet x,y,z (applies only if all ports are config-
ured as Ethernet), the driver probes:
• x single port VFs on physical port 1
• y single port VFs on physical port 2 (applies only if such a
port exist)
• z n-port VFs (where n is the number of physical ports on
device). Those VFs are attached to the hypervisor.
• If its format is a string: the string specifies the
probe_vf parameter separately per installed HCA.
The string 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
which is either a single value or a triplet, as described above
For example:
• probe_vfs=5 - The PF driver will activate 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 activate 5 VFs on the HCA positioned in BDF
00:04.0 and 8 for the one in 00:07.0)
Parameter Recommended Value