* Re: Can't capture RDS packets
[not found] ` <602499.57236.qm-j5MJQUehm+eV+NGWguM0hVZ8N9CAUha/QQ4Iyu8u01E@public.gmane.org>
@ 2010-12-07 1:32 ` Andy Grover
0 siblings, 0 replies; only message in thread
From: Andy Grover @ 2010-12-07 1:32 UTC (permalink / raw)
To: lam.peter84-/E1597aS9LQAvxtiuMwx3w
Cc: rds-devel-N0ozoZBvEnrZJqsBc5GL+g,
linux-rdma-u79uwXL29TY76Z2rM5mHXA
On 12/02/2010 08:11 AM, Peter Lam wrote:
> I try to use Wireshark to capture the packets using rds-example but
> it can't capture any packets. Is it because Wireshark does not
> support RDS?
>
> $ ./rds-sample -s 127.0.0.1 -c 127.0.0.1 -v --rdma-read Client
> Sending RDMA message 0 from 127.0.0.1 to 127.0.0.1
>
> $ ./rds-sample -s 127.0.0.1 --rdma-write -v server listening on
> 127.0.0.1 Received RDS packet 0 of len 104, cmsg len 0, on port
> 20942 payload contains: -1
> J!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}
Hi Peter,
(Sorry for the delay, was out last week.)
(CCing linux-rdma in case anyone there has advice.)
Wireshark doesn't know about RDS wire protocol yet, that's true.
A larger issue is that the kernel's packet-capturing hooks are only for
netdevs. RDS over Infiniband (and RDS loopback) do not use netdevs
internally. RDS/TCP goes over a netdev so those will show up,
encapsulated inside eth/IP/TCP headers.
I understand Mellanox has a program called ibdump that outputs raw IB
packets in pcap-compatible format for their cards. Google ibdump. If
that works, then you should be able to load it in Wireshark, and the
last remaining obstacle would be the RDS protocol dissector module.
Regards -- Andy
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-12-07 1:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <602499.57236.qm@web77009.mail.sg1.yahoo.com>
[not found] ` <602499.57236.qm-j5MJQUehm+eV+NGWguM0hVZ8N9CAUha/QQ4Iyu8u01E@public.gmane.org>
2010-12-07 1:32 ` Can't capture RDS packets Andy Grover
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.