User Manual
InfiniBand Fabric Diagnostic UtilitiesRev 2.0-3.0.0
Mellanox Technologies
182
Examples
1. List the names of all available InfiniBand devices.
2. Query the device mlx4_0 and print user-available information for its Port 2.
9.8 ibdev2netdev
ibdev2netdev enables association between IB devices and ports and the associated net device.
Additionally it reports the state of the net device link.
Synopsys
-l
--list
Optional Inactive Only list the names of InfiniBand
devices
-v
--verbose
Optional Inactive Print all available information about the
InfiniBand device(s)
> ibv_devinfo -l
2 HCAs found:
mthca0
mlx4_0
> ibv_devinfo -d mlx4_0 -i 2
hca_id: mlx4_0
fw_ver: 2.5.944
node_guid: 0000:0000:0007:3895
sys_image_guid: 0000:0000:0007:3898
vendor_id: 0x02c9
vendor_part_id: 25418
hw_ver: 0xA0
board_id: MT_04A0140005
phys_port_cnt: 2
port: 2
state: PORT_ACTIVE (4)
max_mtu: 2048 (4)
active_mtu: 2048 (4)
sm_lid: 1
port_lid: 1
port_lmc: 0x00
ibdev2netdev [-v] [-h]
Table 22 - ibv_devinfo Flags and Options
Flag
Optional /
Mandatory
Default
(If Not
Specified)
Description