linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* MPC5200B FEC TX packets getting stuck
@ 2012-01-27 20:14 Joey Nelson
  2012-02-02  2:33 ` Joey Nelson
  0 siblings, 1 reply; 4+ messages in thread
From: Joey Nelson @ 2012-01-27 20:14 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 1525 bytes --]

In my application, I have a PC connected through TCP to a MPC5200B based
system.  The PC sends a short request, the MPC5200B receives the request
and sends the data back.  It is doing this about 300 times per second.
 Normally exchange happens in just handful of milliseconds.  But randomly
every 2 to 15 minutes the MPC5200B sends all but the last packet of the
response, and about 200ms later the PC sends a delayed ACK, and the
MPC5200B TCP stack figures the packet was lost.  It then sends two nearly
identical packets (The IP header Identification and Checksum fields are
incremented).  I can also see that RetransSegs in /proc/net/snmp increments
by one for each of these delays.

My theory is that the packet is getting suck somewhere in the network stack
(most likely toward the bottom).  Then when another packet is sent, the
suck one gets pushed out.

I've done a test where I have another task on the MPC5200B sending UDP
packets to a different PC every 10ms.  This eliminated the long delays, and
seems to support my stuck packet theory.

I'm seeing the same issue with 2.6.23 and 3.1.6.

I'm getting ready to dive into the hairy world of Bestcomm and FEC, but I
figured I'd see if anyone else has any suggestions before I make my decent.
 Has anyone seen this behavior before?  Any likely candidates for where the
packet is getting stuck?  General advice for reference materials (I've
started on Linux Device Drivers 3rd Ed, BestComm AN2604, and the Datasheets)

Thanks in advance.

Joey Nelson
joey@joescan.com

[-- Attachment #2: Type: text/html, Size: 1770 bytes --]

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

end of thread, other threads:[~2012-02-08  2:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-27 20:14 MPC5200B FEC TX packets getting stuck Joey Nelson
2012-02-02  2:33 ` Joey Nelson
2012-02-02 18:43   ` Joey Nelson
2012-02-08  2:47     ` Joey Nelson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).