How can I get main adapter information like type/model, HW version, FW version from command line in Windows Windows Server 2016
Thank you T Hunter
I got an additional tips from the support and chose to use
-
mlxburn to get read only section parameters and
-
ibv_devinfo to get fw version
Here is the output I got:
VPD-KEYWORD DESCRIPTION VALUE
Read Only Section:
PN Part Number MCX312B-XCCT
EC Revision AA
SN Serial Number MT1734X02126
V0 Misc Info PCIe Gen3 x8
RV Checksum Complement 0x65
IDTAG Board Id CX312B - ConnectX-3 Pro SFP+
hca_id: ibv_device0
fw_ver: 2.40.5030
node_guid: ec0d:9a03:001a:8350
sys_image_guid: ec0d:9a03:001a:8350
vendor_id: 0x02c9
vendor_part_id: 4103
hw_ver: 0x0
phys_port_cnt: 2
port: 1
state: PORT_DOWN (1)
max_mtu: 2048 (4)
active_mtu: 256 (1)
sm_lid: 0
port_lid: 0
port_lmc: 0x00
transport: RoCE v2.0
port: 2
state: PORT_DOWN (1)
max_mtu: 2048 (4)
active_mtu: 256 (1)
sm_lid: 0
port_lid: 0
port_lmc: 0x00
transport: RoCE v2.0
You need to have the Windows drivers installed - WinOF.
You want to run vstat.exe from a command prompt.
C:>vstat.exe
hca_idx=0
uplink={BUS=PCI_E Gen2, SPEED=5.0 Gbps, WIDTH=x8, CAPS=5.0*x8}
MSI-X={ENABLED=1, SUPPORTED=128, GRANTED=10, ALL_MASKED=N}
vendor_id=0x02c9
vendor_part_id=26428
hw_ver=0xb0
fw_ver=2.10.0720
PSID=MT_0FC0110009
node_guid=0002:c903:0050:4170
num_phys_ports=2
port=1
port_guid=0002:c903:0050:4171
port_state=PORT_ACTIVE (4)
link_speed=10.00 Gbps
link_width=4x (2)
rate=40.00 Gbps
real_rate=32.00 Gbps (QDR)
port_phys_state=LINK_UP (5)
active_speed=10.00 Gbps
sm_lid=0x0001
port_lid=0x000d
port_lmc=0x0
transport=IB
max_mtu=4096 (5)
active_mtu=4096 (5)
GID[0]=fe80:0000:0000:0000:0002:c903:0050:4171
port=2
port_guid=0002:c903:0050:4172
port_state=PORT_ACTIVE (4)
link_speed=10.00 Gbps
link_width=4x (2)
rate=40.00 Gbps
real_rate=32.00 Gbps (QDR)
port_phys_state=LINK_UP (5)
active_speed=10.00 Gbps
sm_lid=0x0001
port_lid=0x0016
port_lmc=0x0
transport=IB
max_mtu=4096 (5)
active_mtu=4096 (5)
GID[0]=fe80:0000:0000:0000:0002:c903:0050:4172