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)
commit6f3a283a853bfc168b7c77188e6f41242c1e014b
treed5f7941e3451c6ed1c219adad9c3cce920086b3d
parent776a65514bf407d46e1f5442e6799788a6365ba8
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]