1MSTCONFIG(1) User Commands MSTCONFIG(1)
2
3
4
6 mstconfig - set or query non-volatile configurable options for Mellanox
7 HCAs
8
10 NAME
11
12 mstconfig
13
14 SYNOPSIS
15
16 mstconfig [Options] <Commands> [Parameters]
17
18 DESCRIPTION:
19
20 Allows the user to change some of the device configurations
21 without having to create and burn a new firmware.
22
23 OPTIONS:
24
25 -d|--dev <device>
26 Perform operation for a specified MST device.
27
28 -b|--db <filename>
29 Use a specific database file.
30
31 -f|--file <conf_file>
32 raw configuration file.
33
34 -h|--help
35 Display help message.
36
37 -v|--version
38 Display version info.
39
40 -e|--enable_verbosity
41 Show default and current configurations.
42
43 -y|--yes
44 Answer yes in prompt.
45
46 -a|--all_attrs
47 Show all attributes in the XML template
48
49 -p|--private_key
50 pem file for private key
51
52 -u|--key_uuid
53 keypair uuid
54
56 clear_semaphore
57 clear the tool semaphore.
58
59 i[show_confs]
60 display information about all configurations.
61
62 q[uery]
63 query supported configurations.
64
65 r[eset]
66 reset all configurations to their default value.
67
68 s[et] set configurations to a specific device.
69
70 set_raw
71 set raw configuration file.(only Connect-IB/Connect-X4/LX.)
72
73 backup backup configurations to a file (only Connect-IB/Con‐
74 nect-X4/LX.). Use set_raw command to restore file.
75
76 gen_tlvs_file
77 Generate List of all TLVs. TLVs output file name must be speci‐
78 fied. (*)
79
80 g[en_xml_template]
81 Generate XML template. TLVs input file name and XML output file
82 name must be specified. (*)
83
84 xml2raw
85 Generate Raw file from XML file. XML input file name and raw
86 output file name must be specified. (*)
87
88 raw2xml
89 Generate XML file from Raw file. raw input file name and XML
90 output file name must be specified. (*)
91
92 xml2bin
93 Generate Bin file from XML file. XML input file name and bin
94 output file name must be specified. (*)
95
96 create_conf
97 Generate Configuration file from XML file. XML input file name
98 and bin output file name must be specified. (*)
99
100 apply Apply a Configuration file. bin input file name must be speci‐
101 fied. (*)
102
103 (*) These commands do not require MST device
104
105 To show supported configurations by device type, run show_confs
106 command
107
108 Examples:
109
110 To query configurations
111 mstconfig -d 04:00.0 query
112
113 To set configuration
114 mstconfig -d 04:00.0 set SRIOV_EN=1 NUM_OF_VFS=16
115 WOL_MAGIC_EN_P1=1
116
117 To set raw configuration
118 mstconfig -d 05:00.0 -f conf_file set_raw
119
120 To reset configuration
121 mstconfig -d 04:00.0 reset
122
123 Supported devices:
124
125 4th Generation devices: ConnectX3, ConnectX3-Pro (FW 2.31.5000
126 and above). 5th Generation devices: ConnectIB, ConnectX4, Con‐
127 nectX4-LX, ConnectX5.
128
129 Note: query device to view supported configurations by Firmware.
130
132 mstflint(1)
133
134
135
136mstflint March 2020 MSTCONFIG(1)