The mstdump utility dumps device internal configuration registers. The dump file is used by the Support team for hardware troubleshooting purposes. It can be applied on all NVIDIA devices.
For the tool to properly work with Inband devices, both the MFT and the Firmware must be updated to the latest (MFT v4.18.0 & firmware vXX.32.1014).
If ConnectX-4 adapter card is used as an Inband device, for the tool to work properly, you need to use MFT 4.17.0.
To run mstdump:
# mstdump [-full] <mst device> > <dump file>_FW_VERSION
-full flag dumps all internal registers.
[root@mymach]# mstdump /dev/mst/mt4099_pci_cr0 > mt4099_12_16_2600.dmp
This dumps the internal configuration data of the device into the file mt4099.dmp.