User Manual
Rev 4.70
Mellanox Technologies
192
For more information on how to find device index nn, please refer to C.1 “Finding the Index
Value of the HCA,” on page 174 .
Key Name Key Type Values Description
SriovEnable REG_DWORD
• 0 = RoCE
(default)
• 1 = SR-IOV
Configures the RDMA or SR-IOV mode.
Note: RDMA is not supported in SR-IOV
mode.
SriovPortMode
• 0 =
auto_port1
(default)
• 1 =
auto_port2
• 2 = manual
Configures the number of VFs to be enabled
by the bus driver to each port.
Note: In auto_portX mode, port X will have
the number of VFs according to the burnt
value in the device and the other port will
have no SR-IOV and it will support native
Ethernet (i.e. no RoCE). Setting this parame-
ter to "Manual" will configure the number of
VFs for each port according to the registry
key MaxVFPortX.
Note: The number of VFs can be configured
both on a Mellanox bus driver level and Net-
work Interface level (i.e using Set-Net-
AdapterSriov Powershell cmdlet). The
number of VFs actually available to the Net-
work Interface is the minimum value
between mellanox bus driver configuration
and Network Interface configuration. For
example, if 8 VFs support was burnt in firm-
ware, SriovPortMode is auto_port1, and Net-
work Interface was allowed 32 VFs using
SetNetAdapterSriov Powershell cmdlet, the
actual number of VFs available to Network
Interface will be 8.
MaxVFPort1
MaxVFPort2
• 16=(default) MaxVFPort<i> The maximum number of
VFs
that are allowed per port. This is the number
of
VFs the bus driver will open when working
in
manual mode.
Note: If the total number of VFs requested is
larger than the number of VFs burnt in firm-
ware, each port X(1\2) will have the number
of VFs according to the following formula:
(MaxVFPortX /
(MaxVPort1+MaxVPort2)*number of VFs
burnt in firmware.