Using Mstconfig - Nvidia MSTFLINT Documentation

Hide thumbs Also See for MSTFLINT:
Table of Contents

Advertisement

# mstconfig -d
41:00.0
Reset configuration
for
Applying... Done!
 
 
-I- Please power-cycle device to load
>mstconfig
41:00.0
query
 
 
Device 1:
----------
Device type:
ConnectX-3
PCI Device:
41:00.0
Configurations:
SRIOV_EN
NUM_OF_VFS
WOL_MAGIC_EN_P1
WOL_MAGIC_EN_P2

Using mstconfig

Using mstconifg with PCI Device in Bus Device Function (BDF) Format
Example:
# mstconfig -d
41:00.0
 
Device 1:
----------
Device type:
ConnectX-3
PCI Device:
41:00.0
Configurations:
Next Boot
SRIOV_EN
True(1)
NUM_OF_VFS
16
WOL_MAGIC_EN_P1
False(0)
WOL_MAGIC_EN_P2
False(0)
Using mstconfig to Set VPI Parameters
In order to set VPI parameters through mstconfig, use the following command line:
# mstconfig -d <device> set [LINK_TYPE_P1=<link_type>] [LINK_TYPE_P2=<link_type>]
Example: Configuring both ports as InfiniBand:
# mstconfig
41:00.0
set
 
Device #1:
----------
Device type:
ConnectX3Pro
PCI device:
41:00.0
Configurations:
LINK_TYPE_P1
LINK_TYPE_P2
 
Apply
new
Configuration? ? (y/n) [n] : y
Applying... Done!
-I- Please reboot machine to load
Using mstconfig to Set SR-IOV Parameters
In order to set SR-IOV parameters through mstconfig, use the following command line:
# mstconfig -d <device> set [SRIOV_EN=<0|1>] [NUM_OF_VFS=<NUM>]
Example: Turning on SR-IOV and enabling 8 Virtual Functions per Physical Function:
# mstconfig -d
41:00.0
 
reset
device 41:00.0? ? (y/n) [n] : y
new
configurations.
Next Boot
True(1)
8
False(0)
False(0)
LINK_TYPE_P1=1 LINK_TYPE_P2=1
Next Boot
New
ETH(2)
IB(1)
ETH(2)
IB(1)
new
configurations.
set
SRIOV_EN=1 NUM_OF_VFS=8
26

Advertisement

Table of Contents
loading

Table of Contents