In order to flash the firmware on the device using ethtool, you need to prepare a .mfa2 firmware file using the mlxarchive tool - see mlxarchive – Binary Files Compression Tool. Note that mlxarchive requires installing MFT with
To perform firmware upgrade using ethtool/devlink, follow the steps below:
Run the mlxarchive tool to generate the .mfa2 file (the following example assumes MFA2 v1.1.1).
Obtain the interface name of the adapter for which you wish to update firmware. For example, you can use
Burn the firmware using the .mfa2 image with ethtool/devlink. Please use the .mfa2 file path relative to /lib/firmware.
Query the adapter to verify that the new firmware version has been loaded following.
For the firmware update to take effect, you need to either reboot the server or run:
Validate the firmware update by a query.