Updating the Mellanox Network Card Firmware
After replacing or installing the Mellanox ConnectX cards, make sure the firmware on the cards is up to date.
Confirm the OS is updated to the latest version; this will ensure the latest tested and supported firmware is downloaded.
$ sudo apt update $ sudo apt full-upgrade
Run the firmware update script as follows:
$ sudo /opt/mellanox/mlnx-fw-updater/mlnx_fw_updater.pl
If the firmware version in the new card is more recent than the one available in the operating system, the firmware should be downgraded to a supported version by issuing the following:
$ sudo /opt/mellanox/mlnx-fw-updater/mlnx_fw_updater.pl --force-fw-update
Reboot the system for the firmware update to take effect.
$ sudo reboot
Once the system comes up, make sure the firmware versions are all the same by issuing:
$ cat /sys/class/infiniband/mlx5_*/fw_ver