Mstconfig Commands - Nvidia MSTFLINT Documentation

Hide thumbs Also See for MSTFLINT:
Table of Contents

Advertisement

Data:
0x0000000c
Operation intended
for
 
Are you sure you want to apply raw TLV file? ? (y/n) [n] : y
Applying... Done!
-I- Please reboot machine to load
Never apply files from an unreliable source.

mstconfig Commands

mstconfig Backup Command
The backup command is used to save the current non-volatile configurations (TLV) in the device into
a file in raw TLV syntax so it can be restored anytime using the set_raw command.
mstconfig backup command allows backing up the all of the configurations which are related only to
the PCI Physical Function associated with the given MST device. To back up all of the device
configurations, perform the operation from every PCI Physical Function the device exposes.
Restoring the configurations must be made from the matching PCI Physical Function.
In a MultiHost environment, these operations are required to be executed per host.
# mstconfig -d
41:00.0
Collecting...
Saving output...
Done!
# cat /tmp/backup.conf
MLNX_RAW_TLV_FILE
% TLV Type: 0x00000400, Writer ID: ICMD mstCONFIG(0x09), Writer Host ID:
0x00000000 0x000e0000 0x001000f6 0x20160526 0x11250000
# mstconfig -d
41:00.0
Raw TLV
#1
Info:
Length:
0x14
Version:
0
OverrideEn:
0
Type:
0x00000400
Data:
0x00000000 0x000e0000 0x001000f6 0x20160526 0x11250000
Operation intended
for
Are you sure you want to apply raw TLV file? ? (y/n) [n] : y
Applying... Done!
-I- Please reboot machine to load
Generating an XML Template for the Configurations
Users can generate an XML file that contains a template for the configurations. The
template describes the configurations and their parameters. No values are included in the template.
To generate such a template, run the gen_tlvs_file command. This command will generate a
file containing a list of all supported configurations by mstconfig, with a zero appearing in the end
of each configuration. To choose a configuration, change the 0 to 1, then save the file and run
the gen_xml_template command. An XML file containing the required configurations will
be generated.
Example:
# mstconfig gen_tlvs_file /tmp/confs.txt
Saving output...
Done!
# cat /tmp/confs.txt
nv_host_to_bmc
0
nv_kdnet_data
0
nv_fpga_data
0
nv_packet_pacing
0
advanced users.
new
configurations.
-f /tmp/backup.conf backup
-f /tmp/backup.conf set_raw
advanced users.
new
configurations.
0x00 0x00000014 0x00000400 0x00000000
28

Advertisement

Table of Contents
loading

Table of Contents