User Manual
Rev 4.70
Mellanox Technologies
67
Step 4. Enable SR-IOV through Powershell.
SR-IOV mode configuration parameters:
Step 5. Check in the System Event Log that SR-IOV is enabled:
Go to: Start -> Control Panel-> System and Security-> Administrative Tools-> View Event
Logs
Set-MlnxPCIDeviceSriovSetting -Name "HCA 0" -SriovEnable $true
Parameter Name Values Description
SriovEnable
• 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 parameter to "Man-
ual" 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 Network Interface level (i.e
using Set-NetAdapterSriov Powershell cmdlet). The num-
ber of VFs actually available to the Network Interface is
the minimum value between mellanox bus driver configu-
ration and Network Interface configuration. For example,
if 8 VFs support was burnt in firmware, SriovPortMode is
auto_port1, and Network Interface was allowed 32 VFs
using SetNetAdapterSriov Powershell cmdlet, the actual
number of VFs available to Network Interface will be 8.
SriovPort1NumVFs
SriovPort2NumVFs
• 16=(default) SriovPort<i>NumVFs 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 firmware, each port X(1\2)
will have the number of VFs according to the following
formula:
(SriovPortXNumVFs /
(SriovPort1NumVFs+SriovPort2NumVFs))*number of
VFs burnt in firmware.