MSTCONFIG(1)
Welcome to MSTCONFIG(1), bestie! π It's a User Commands moment, and the star is mstconfig β the tool that sets or queries non-volatile configurable options for Mellanox HCAs. β¨
π NAME π
mstconfig β set or query non-volatile configurable options for Mellanox HCAs. Periodt. π
π¦ DESCRIPTION π¦
Okay so the original page is doing a whole nested-manual thing inside DESCRIPTION, and we're keeping every crumb. It starts with:
NAME mstconfig
SYNOPSIS
mstconfig [Options] <Commands> [Parameters]
DESCRIPTION: Allows the user to change some of the device configurations without having to create and burn a new firmware. π₯
OPTIONS: ...and then the actual OPTIONS section rolls in right after, like "not me being recursive." π
So fr fr, the main character energy here is: you can change some device configurations without creating and burning a whole new firmware. No cap. π«
πΈ OPTIONS πΈ
-d|--dev <device>β perform operation for a specified MST device. π₯οΈ-b|--db <filename>β use a specific database file. ποΈ-f|--file <conf_file>β raw configuration file. π-h|--helpβ display help message. π-v|--versionβ display version info. π·οΈ-e|--enable_verbosityβ show default and current configurations. π-y|--yesβ answer yes in prompt. β-a|--all_attrsβ show all attributes in the XML template. π-p|--private_keyβ pem file for private key. π-u|--key_uuidβ keypair uuid. π
π COMMANDS π
clear_semaphoreβ clear the tool semaphore. π§Ήi[show_confs]β display information about all configurations. πq[uery]β query supported configurations. πr[eset]β reset all configurations to their default value. β»οΈs[et]β set configurations to a specific device. π―set_rawβ set raw configuration file.(only Connect-IB/Connect-X4/LX.) π§ͺbackupβ backup configurations to a file (only Connect-IB/Connect-X4/LX.). Useset_rawcommand to restore file. πΎgen_tlvs_fileβ Generate List of all TLVs. TLVs output file name must be specified. (*) πg[en_xml_template]β Generate XML template. TLVs input file name and XML output file name must be specified. (*) π§¬xml2rawβ Generate Raw file from XML file. XML input file name and raw output file name must be specified. (*) πraw2xmlβ Generate XML file from Raw file. raw input file name and XML output file name must be specified. (*) πxml2binβ Generate Bin file from XML file. XML input file name and bin output file name must be specified. (*) π¦create_confβ Generate Configuration file from XML file. XML input file name and bin output file name must be specified. (*) π οΈapplyβ Apply a Configuration file. bin input file name must be specified. (*) π
(*) These commands do not require MST device π
To show supported configurations by device type, run show_confs command. π
Examples, because we love a little demo moment:
- To query configurations:
mstconfig -d 04:00.0 query
- To set configuration:
mstconfig -d 04:00.0 set SRIOV_EN=1 NUM_OF_VFS=16 WOL_MAGIC_EN_P1=1
- To set raw configuration:
mstconfig -d 05:00.0 -f conf_file set_raw
- To reset configuration:
mstconfig -d 04:00.0 reset
Supported devices: 4th Generation devices: ConnectX3, ConnectX3-Pro (FW 2.31.5000 and above). 5th Generation devices: ConnectIB, ConnectX4, ConnectX4-LX, ConnectX5. π
Note: query device to view supported configurations by Firmware. π
π SEE ALSO π
This page came from mstflint, dated March 2020, and it's the MSTCONFIG(1) manual. Stay configurable, bestie π«Άπ
π¦ where this page comes from
- centos-stream 10: mstflint 4.37.0_1.1-2.el10 Β· (GPL-2.0-only OR Linux-OpenIB) AND BSD-3-Clause AND MIT AND blessing
- centos-stream 9: mstflint 4.34.0-5.el9 Β· GPLv2+ or BSD
- debian trixie: mstflint 4.31.0+1-4 Β· BSD-2-Clause OR GPL-2.0-only
- fedora 43: mstflint 4.32.0^20250517git48a1454-2.fc43 Β· (GPL-2.0-only OR Linux-OpenIB) AND BSD-3-Clause AND MIT AND blessing
- fedora 43: mstflint 4.37.0_1.1-2.fc43 Β· (GPL-2.0-only OR Linux-OpenIB) AND BSD-3-Clause AND MIT AND blessing
- fedora 44: mstflint 4.34.0-2.fc44 Β· (GPL-2.0-only OR Linux-OpenIB) AND BSD-3-Clause AND MIT AND blessing
- fedora 44: mstflint 4.37.0_1.1-2.fc44 Β· (GPL-2.0-only OR Linux-OpenIB) AND BSD-3-Clause AND MIT AND blessing
- nixos 26.05: mstflint 4.36.0-1
- nixpkgs unstable: mstflint 4.37.0-1
- ubuntu noble: mstflint 4.26.0+1-2ubuntu3 Β· BSD-2-Clause OR GPL-2.0-only
- ubuntu questing: mstflint 4.33.0+1-1
- ubuntu resolute: mstflint 4.33.0+1-1.1 Β· BSD-2-Clause OR GPL-2.0-only
- ubuntu stonking: mstflint 4.33.0+1-1.1build1 Β· BSD-2-Clause OR GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms