How to check Mellanox Network adapter's firmware in Windows and Linux?

How to check Mellanox Network adapter's firmware in Windows and Linux?

Question:
How to check Mellanox Network adapter's firmware in Windows and Linux?
1. Download mlxup - Update and Quert Utility from Nvidia.

2. Select mlxup by your operating system and download it.
Windows: mlxup.exe
Linux: mlxup

3. type mlxup --query to check your Mellanox Network Adapter's firmware.