本文转自:
http://www.ibm.com/support/knowledgecenter/en/linuxonibm/performance/howtos/verifyrdma.htm
Use the ibv_devinfo command to verify that the ports are active.
Procedure
To view the port status of your hardware, run the ibv_devinfo command and look for the following output:
Note:
- In the following output, the port_lid return refers to the local identifier (LID) of that port. This LID is unique within the InfiniBand subnet.
- The port: 1 return refers to the first physical port on the adapter.
例子:
[root@node2 ~]# ibv_devinfo
hca_id: mlx4_0
transport: InfiniBand (0)
fw_ver: 2.35.5100
node_guid: 248a:0703:005d:07f0
sys_image_guid: 248a:0703:005d:07f3
vendor_id: 0x02c9
vendor_part_id: 4099
hw_ver: 0x1
board_id: MT_1090120019
phys_port_cnt: 2
port: 1
state: PORT_ACTIVE (4)
max_mtu: 4096 (5)
active_mtu: 4096 (5)
sm_lid: 4
port_lid: 4
port_lmc: 0x00
link_layer: InfiniBand
port: 2
state: PORT_ACTIVE (4)
max_mtu: 4096 (5)
active_mtu: 4096 (5)
sm_lid: 8
port_lid: 12
port_lmc: 0x00
link_layer: InfiniBand
[root@node2 ~]#
本文介绍如何使用ibv_devinfo命令验证InfiniBand硬件的端口状态,包括查看本地标识符(LID)和物理端口的状态等关键信息。
1048

被折叠的 条评论
为什么被折叠?



