Download Mellanox OFED Linux User`s Manual
Transcript
133 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: node_guid: sys_image_guid: vendor_id: vendor_part_id: hw_ver: board_id: phys_port_cnt: port: 2 state: max_mtu: active_mtu: sm_lid: port_lid: port_lmc: 2.5.944 0000:0000:0007:3895 0000:0000:0007:3898 0x02c9 25418 0xA0 MT_04A0140005 2 PORT_ACTIVE (4) 2048 (4) 2048 (4) 1 1 0x00 12.7 ibstatus Applicable Hardware All InfiniBand devices. Description Displays basic information obtained from the local InfiniBand driver. Output includes LID, SMLID, port state, port physical state, port width and port rate. Synopsis ibstatus [-h] [<device name>[:<port>]]* Table 10 lists the various flags of the command. Table 10 - ibstatus Flags and Options Flag Optional / Mandatory Default (If Not Specified) Description -h Optional Print the help menu <device> Optional All devices Print information for the specified device. May specify more than one device <port> Optional, but requires specifying a device name All ports of the specified device Print information for the specified port only (of the specified device) Mellanox Technologies Mellanox Technologies Confidential Rev 1.50