Skip to contentSkip to conversation

Can't capture RDS packets

DISCUSSION Andy Grover 1 participant 1 message Dec 7, 2010 2 messages not in the archive InfiniBand

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 602499.57236.qm-j5MJQUehm+eV+NGWguM0hVZ8N9CAUha/[email protected]

#2 lore raw
Quoted 11 lines · Peter Lam

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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html