This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Wireshark support for infiniband

0

Does Wireshark(tshark) support infiniband packet capturing? (ex, capturing on IP over IB and Ethernet over IB, etc). If yes, whether Solaris is supported? i.e If I compile Wireshark latest bits, will I be able to capture IP over IB packets on Solaris? Thanks in advance.

Regards, Chand

asked 01 Mar '13, 01:57

Chand's gravatar image

Chand
11112
accept rate: 0%


One Answer:

0

If, on whatever operating system you're running libpcap supports capturing on Infiniband (which may just mean "if whatever the native capture mechanism libpcap uses supports capturing on Infiniband" plus "libpcap knows about the native link-layer type value for Infiniband captures and knows a DLT_ value to which it can map it), and if you're using a version of Wireshark that supports the link-layer type value used by libpcap for Infiniband, then Wireshark and TShark will support Infiniband packet capturing.

Currently, the list of link-layer header types for libpcap/WinPcap and for pcap and pcap-ng capture files includes two link-layer header types for Infiniband:

On Solaris prior to Solaris 11, libpcap (which I think you'd have to install yourself) uses DLPI to capture traffic; libpcap doesn't support capturing Infiniband traffic using DLPI, so, even if Solaris prior to Solaris 11 supports capturing Infiniband traffic using DLPI, you'd have to hack libpcap to use it. If snoop can capture Infiniband traffic on some pre-Solaris 11 version of Solaris, then:

  1. DLPI presumably supports capturing Infiniband traffic on that version of Solaris, so libpcap could presumably be hacked to support it;
  2. Wireshark 1.8.0 and later can probably read the IP-over-Infiniband snoop files captured on that version of Solaris (earlier versions won't be able to do so).

On Solaris 11, libpcap (which I think is part of Solaris 11, so you wouldn't have to install it yourself) uses BPF to capture traffic. Capturing IP-over-Infiniband might Just Work there, if you're using Wireshark 1.8.0 or later. I don't know whether capturing raw Infiniband frames is supported; that might be what you'd need for Ethernet-over-Infiniband.

answered 01 Mar '13, 16:03

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196
accept rate: 19%

Thanks a lot Harris and also for the details explanation :) I am compiling wireshark now, Thanks again.

(05 Mar '13, 04:51) Chand