firmware NIC (Mellanox)

How can we get the firmware version info from the NIC without the risk of bricking it

Hello,

You would use the flint utility which is part of our MFT package.

https://www.mellanox.com/products/adapter-software/firmware-tools

IE:

PS C:\Users\Administrator> mst status -v

MST devices:


mt4115_pciconf0 bus:dev.fn=81:00.0

mt4115_pciconf0.1 bus:dev.fn=81:00.1

Cable MST devices:


mt4115_pciconf0_cable_0

mt4115_pciconf0_cable_1

PS C:\Users\Administrator> flint -d mt4115_pciconf0 q

Image type: FS3

FW Version: 12.26.1040

FW Release Date: 26.9.2019

Product Version: 12.26.1040

Rom Info: type=UEFI version=14.19.14 cpu=AMD64,AARCH64

type=PXE version=3.5.803 cpu=AMD64

Description: UID GuidsNumber

Base GUID: 7cfe9003003368bc 4

Base MAC: 7cfe903368bc 4

Image VSD: N/A

Device VSD: N/A

PSID: MT_2190110032

Security Attributes: N/A

You can also use our mlx5cmd.exe utility from our driver:

PS C:\Users\Administrator> Mlx5Cmd.exe -Stat

NIC 1:

physical_location=Bus 129, Device 0, Function 0

state=ENABLED

uplink:

BUS=PCI-E Gen3

SPEED=8.0 GT/s

WIDTH=x16

CAPS=8.0*x16

vendor_id=0x15b3

vendor_part_id=4115

hw_ver=0x0

fw_ver=12.26.1040

driver_ver=2.30.21713.0

PSID=MT_2190110032

system_image_guid=7cfe:9003:0033:68bc

Adapter 1:

name=PORT2

interface_description=Mellanox ConnectX-4 Adapter #2

physical_location:

Bus=129

Device=0

Function=1

state=ENABLED

port_guid=7cfe:9003:0033:68bd

node_guid=7cfe:9003:0033:68bd

port_state=PORT_UP

port_phys_state=LINK_UP

link_speed=100.00 Gbps

active_mtu=1500

default_roce_version=2.0

roce_mtu=1024

link_layer=Ethernet

RDMA GIDs table:

GID[0]:

GID=fe80:0000:0000:0000:7efe:90ff:fe33:68bd

RoCE_version=1.0

vlan=no vlan

GID[1]:

GID=fe80:0000:0000:0000:7efe:90ff:fe33:68bd

RoCE_version=1.0

vlan=0

None of these utilities are disruptive.

Sophie.