监控InfiniBand网络中HCA卡的端口状态

来源:互联网 发布:淘宝卖家利润 编辑:程序博客网 时间:2024/05/16 01:19

本文转自:
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_devinfohca_id:mlx4_0transport:InfiniBand (0)fw_ver:2.35.5100node_guid:248a:0703:005d:07f0sys_image_guid:248a:0703:005d:07f3vendor_id:0x02c9vendor_part_id:4099hw_ver:0x1board_id:MT_1090120019phys_port_cnt:2port:1state:PORT_ACTIVE (4)max_mtu:4096 (5)active_mtu:4096 (5)sm_lid:4port_lid:4port_lmc:0x00link_layer:InfiniBandport:2state:PORT_ACTIVE (4)max_mtu:4096 (5)active_mtu:4096 (5)sm_lid:8port_lid:12port_lmc:0x00link_layer:InfiniBand[root@node2 ~]# 


0 0