User Manual
Rev 2.0-3.0.0
Mellanox Technologies
205
Examples
1. Display asynchronous events.
9.17 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.
Synopsis
Output Files
> ibv_asyncwatch
mlx4_0: async event FD 4
Although ibdump is a Linux application, the generated .pcap file may be analyzed on
either operating system.
ibdump [options]
-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)
-w, --write=<file> dump file name (default "sniffer.pcap")
'-' stands for stdout - enables piping to tcpdump or
tshark.
-o, --output=<file> alias for the '-w' option. Do not use - for backward
compatibility
-b, --max-burst=<log2 burst>
l
og2 of the maximal burst size that can be captured with
no packets loss.
Each entry takes ~ MTU bytes of memory (default 12 -
4096 entries)
-s, --silent do not print progress indication.