Whamcloud - gitweb
LU-1434 utils: Update Wireshark support for LNet and Lustre
authorDoug Oucharek <doug.s.oucharek@intel.com>
Thu, 25 Oct 2012 22:19:43 +0000 (15:19 -0700)
committerOleg Drokin <green@whamcloud.com>
Fri, 21 Dec 2012 18:07:29 +0000 (13:07 -0500)
LU-1434 utils: Update Wireshark support for LNet and Lustre

There was work previously done to create two plugins for Wireshark to
decode LNet and Lustre headers. That work is started was
lustre/contrib as the files packet-lnet.c and packet-lustre.c.

Attempting to build these plugins revealed that Wireshark's API for
dissectors has changed such they no longer build/run. This change
fixes the plugins so they work with the latest stable Wireshark
release: 1.6.8. It also adds logic to allow the plugins to decode
Infiniband packets captured with ibdump.

Note: The LNet decoding appears to be correct, the Lustre decoding
does have problems which will be addressed in future patches.

Signed-off-by: Doug Oucharek <doug.s.oucharek@intel.com>
Change-Id: I2fbadf1c8baef1df2c50754646cd9c1f6b30f8e8
Reviewed-on: http://review.whamcloud.com/4393
Tested-by: Hudson
Reviewed-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/contrib/wireshark/Makefile [new file with mode: 0644]
lustre/contrib/wireshark/README [new file with mode: 0644]
lustre/contrib/wireshark/packet-lnet.c [moved from lustre/contrib/packet-lnet.c with 72% similarity]
lustre/contrib/wireshark/packet-lustre.c [moved from lustre/contrib/packet-lustre.c with 95% similarity]