For Array type parameters, the query command will not show a value for it. It will only show
you the word "Array" and the range of the array.
•
For example: HOST_CHAINING_DESCRIPTORS Array[0..7]
•
To query the fifth element in the array, run: mstconfig -d <device> query
HOST_CHAINING_DESCRIPTORS[5]
•
To specify a range: mstconfig -d <device> query
HOST_CHAINING_DESCRIPTORS[3..7]
•
To set the fifth element in the array, run: mstconfig -d <device> set
HOST_CHAINING_DESCRIPTORS[5]=3
•
Or you can set value for more than one element: mstconfig -d <device> set
HOST_CHAINING_DESCRIPTORS[3..7]=3
ConnectX-4 Lx Example:
# mstconfig -d
41:00.0
Device #1:
----------
Device type: ConnectX4LX
PCI device:
41:00.0
Configurations:
* NUM_OF_VFS
SRIOV_EN
The
'*'
shows parameters with next value different from default/current value.
Setting Device Configuration
To set the device configuration, use the following command line:
# mstconfig -d <device> set [Parameters....]
Example:
# mstconfig -d
41:00.0
Device type:
ConnectX-3
PCI device:
41:00.0
Configurations:
NUM_OF_VFS
WOL_MAGIC_EN_P2
Apply
new
Configuration?(y/n) [n]: y
Applying... Done!
-I- Please reboot the system to load
Resetting Device Configuration to Default
To reset the device configuration to default, use the following command line:
# mstconfig -d <device> reset
Example:
--enable_verbosity q
Default
Current
8
5
True(1)
True(1)
set
WOL_MAGIC_EN_P2=1 NUM_OF_VFS=24
Next Boot
New
16
24
False(0)
True(1)
new
Next Boot
5
True(1)
configurations.
25