1, Ethernet controller infomation
lspci | grep -i mellanox
3f:00.0 Ethernet controller: Mellanox Technologies MT28800 Family [ConnectX-5 Ex]
3f:00.1 Ethernet controller: Mellanox Technologies MT28800 Family [ConnectX-5 Ex]
b3:00.0 Ethernet controller: Mellanox Technologies MT27800 Family [ConnectX-5]
b3:00.1 Ethernet controller: Mellanox Technologies MT27800 Family [ConnectX-5]
ibv_devinfo -d mlx5_0
hca_id: mlx5_0
transport: InfiniBand (0)
fw_ver: 16.29.1016
node_guid: 0c42:a103:0060:0610
sys_image_guid: 0c42:a103:0060:0610
vendor_id: 0x02c9
vendor_part_id: 4121
hw_ver: 0x0
board_id: MT_0000000013
phys_port_cnt: 1
port: 1
state: PORT_ACTIVE (4)
max_mtu: 4096 (5)
active_mtu: 1024 (3)
sm_lid: 0
port_lid: 0
port_lmc: 0x00
link_layer: Ethernet
ib_write_lat -d mlx5_0 -p 2500 -R -F -x 3 -a --report_gbits
ib_write_lat -d mlx5_0 -p 2500 -R -F -a --report_gbits ${IP} -x 3