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

本文介绍如何使用ibv_devinfo命令验证InfiniBand硬件的端口状态,包括查看本地标识符(LID)和物理端口的状态等关键信息。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

本文转自:
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 ~]# 


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值