Netdev List
 help / color / mirror / Atom feed
* LRO/GRO and libpcap packet reordering
@ 2013-03-14 20:37 Andy Lutomirski
  2013-03-14 21:58 ` Ben Hutchings
  0 siblings, 1 reply; 9+ messages in thread
From: Andy Lutomirski @ 2013-03-14 20:37 UTC (permalink / raw)
  To: Network Development

(I'm on Ubuntu's 3.5.0-23, but I haven't seen anything that would
change this behavior in newer kernels.)

I have a myri10ge device that's attached to a port mirror.  It runs
tcpdump.  Most of the traffic I'm capturing has another machine
attached to this switch as an endpoint.  That machine is considerably
faster than the machine doing the capturing.

My captures show nasty artifacts: packets are reodered between a given
flow and the other direction of the same flow.  The nasty case is when
an ACK shows up before the packet that it's acking.  This thoroughly
screws up Wireshark's TCP sequencing analysis.  Turning off LRO and
GRO fixes it.

Clearly, since this interface doesn't actually have an IP address,
there's no good reason to keep GRO and LRO on.  Nonetheless, it would
be nice if GRO didn't coalesce packets when there's an intervening
packing in the other direction on the same flow.  Can this be done
cheaply?

--Andy

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-03-14 23:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-14 20:37 LRO/GRO and libpcap packet reordering Andy Lutomirski
2013-03-14 21:58 ` Ben Hutchings
2013-03-14 22:45   ` Andy Lutomirski
2013-03-14 22:54     ` Eric Dumazet
2013-03-14 22:58       ` Andy Lutomirski
2013-03-14 23:16         ` Eric Dumazet
2013-03-14 23:21           ` Eric Dumazet
2013-03-14 23:22             ` Andy Lutomirski
2013-03-14 23:01     ` Ben Hutchings

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox