User Manual
Rev 2.1-1.0.6
Mellanox Technologies
199
Examples
1. List the names of all available InfiniBand devices.
> ibv_devinfo -l
2 HCAs found:
mthca0
mlx4_0
2. Query the device mlx4_0 and print user-available information for its Port 2.
> 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
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)
ibdev2netdev [-v] [-h]
Table 29 - ibv_devinfo Flags and Options
Flag
Optional /
Mandatory
Default
(If Not
Specified)
Description