Mstfwreset For Smartnics; Examples Of Mstfwreset Usage - Nvidia MSTFLINT Manual

Burning and diagnostics tools
Hide thumbs Also See for MSTFLINT:
Table of Contents

Advertisement

$ lspci -d 15b3:
08:00.0
Infiniband controller: Mellanox Technologies MT27800 Family [ConnectX-5]
08:00.1
Infiniband controller: Mellanox Technologies MT27800 Family [ConnectX-5]
0e:00.0
Infiniband controller: Mellanox Technologies MT27800 Family [ConnectX-5]
0e:00.1
Infiniband controller: Mellanox Technologies MT27800 Family [ConnectX-5]
* All PCI devices above are related to the same NIC
 
* Run mstfwreset on all the PCI devices with function
$ mstfwreset -d
$ mstfwreset -d

mstfwreset for SmartNICs

To reset the firmware on a SmartNIC, run the tool simultaneously on the host and on the NIC's
integrated Arm processor.
Firmware reset will trigger the adapter card's reset which will reboot the Arm processor.

Examples of mstfwreset Usage

To query device reset level after firmware update use the following command line:
# mstfwreset -d
Supported reset levels for loading firmware on device, 41:00.0
Example:
Reset-levels:
0: Driver, PCI link, network link will remain up ("live-Patch")
3: Driver restart and PCI reset
(default)
4: Warm Reboot
5: Cold Reboot
 
Reset-types (relevant only
0: Full chip reset
(default)
1: Phy-less reset
To reset device in order to load new firmware, use the following command line:
# mstfwreset -d
Example
3: Driver restart and PCI reset
Continue with reset?[y/N] y
-I- Stopping Driver
-I- Sending Reset Command To Fw
-I- Resetting PCI
-I- Starting Driver
-I- Restarting MST
-I- FW was loaded successfully.
08:00.0
reset -y &
0e:00.0
reset -y &
41:00.0
query
for
reset-levels 3,4):
("port-alive"
- network link will remain up)
41:00.0
reset
-Done
-Done
-Done
-Done
-Done
0
(08:00.0, 0e:00.0)
-Not Supported
-Supported
-Supported
-Supported
-Supported
-Not Supported
79

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mellanox mstflint

Table of Contents