User Manual
Features Overview and ConfigurationRev 2.3-1.0.1
Mellanox Technologies
174
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 config-
ured 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