61
•
•
•
•
•
•
•
•
-t|--type <0,1>
Run reset with the specified reset-type
-m|--mst_flags
MST_FLAGS
Provide mst flags to be used when invoking mst restart step. For example: --
mst_flags="--with_fpga"
-y|--yes
Answer “yes” on prompt
--skip_driver| -s
Skip driver start/stop stage (driver must be stopped manually)
-v|--version
Print tool version
-h|--help
Show help message and exit
--skip_fsm_sync
Skip fsm syncing
q|query
Query for reset level required to load new firmware
r|reset
Execute reset Level
reset_fsm_register
Reset the fsm sync register to idle state
--sync
Run reset with the specified reset-sync
Reset Levels and Types
Reset levels and types depend on the extent of the changes introduced when updating the
device's firmware. The tool will display the supported reset levels and types that will ensure the
loading of the new firmware. Those reset levels and types are:
Reset-levels:
0: Driver, PCI link, network link will remain up ("live-Patch")
3: Driver restart and PCI reset
4: Warm Reboot
5: Cold Reboot
Reset-types (relevant only for reset-levels 3,4):
0: Full chip reset
1: Phy-less reset ("port-alive" - network link will remain up)
mstfwreset for Multi-Host NICs
mstfwreset supports a Multi-Host setup. To reset the firmware for a device in a Multi-Host
setup, you have to run the tool on all the hosts simultaneously when in legacy mode. The tool
utilizes a synchronization mechanism supported by the firmware in order to synchronize between
the different running instances of the tool on the hosts.
For debugging purposes, it is possible to avoid the synchronization by running the tool with the flag
--skip_fsm_sync.
Exact reset level and types needed to load new firmware may differ, as it depends on the
difference between the running firmware and the firmware we are upgrading to.
When running mstfwreset on a Multi-Host setup, a time-out of 3 minutes is expected for
all the hosts until they join the firmware reset process.