User Manual
Rev 2.2-1.0.1
Mellanox Technologies
257
9.4.19 ibv_asyncwatch
Display asynchronous events forwarded to userspace for an InfiniBand device.
Synopsis
ibv_asyncwatch
Examples
1. Display asynchronous events.
> ibv_asyncwatch
mlx4_0: async event FD 4
9.4.20 ibdump
Dump InfiniBand traffic that flows to and from Mellanox Technologies ConnectX® family
adapters InfiniBand ports. The dump file can be loaded by the Wireshark tool for graphical traffic
analysis.
The following describes a work flow for local HCA (adapter) sniffing:
• Run ibdump with the desired options
• Run the application that you wish its traffic to be analyzed
• Stop ibdump (CTRL-C) or wait for the data buffer to fill (in --mem-mode)
• Open Wireshark and load the generated file
How to Get Wireshark:
Download the current release from www.wireshark.org for a Linux or Windows environment.
See the ibdump_release_notes.txt file for more details.
Although ibdump is a Linux application, the generated .pcap file may be analyzed on
either operating system.
In order for ibdump to function with RoCE, Flow Steering must be enabled.
To do so, add the following to /etc/modprobe.d/mlnx.conf file:
options mlx4_core log_num_mgm_entry_size=-1 and then restart the drivers.
Synopsis
ibdump [options]
Output Files
-d, --ib-dev=<dev> use RDMA device <dev> (default first device found)
The relevant devices can be listed by running the
'ibv_devinfo' command.
-i, --ib-port=<port> use port <port> of IB device (default 1)