User Manual
Rev 2.2-1.0.1
Mellanox Technologies
115
Parameter Recommended Value
num_vfs • If absent, or zero: no VFs will be available
• If 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.
• If its a triplet x,y,z (applies only if all ports are configured
as Ethernet) the driver creates:
• 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).
This applies to all ConnectX® HCAs on the host
• If its format is a string: The string specifies the num_vfs
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 enable for that HCA which is either a single
value or a triplet, as described above.
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)
• num_vfs=1,2,3 - The driver will enable 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).
• num_vfs=00:04.0-5;6;7,00:07.0-8;9;10 - The
driver will enable:
• 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 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.