This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: dropped UDP packets on 8270 PowerPC board
On Fri, 2006-01-27 at 09:37 -0500, Paul Randall wrote:
> Andrew Lunn wrote:
>
> >On Mon, Jan 23, 2006 at 05:34:33PM -0500, Paul Randall wrote:
> >
> >
> >>Andrew Lunn wrote:
> >>I tried setting a breakpoint in udp_usrreq.c but Insight would not let
> >>me put a watch on the udpstat structure so I could not get a breakdown
> >>of the bad packets.
> >>
> >>
> >
> >Try a breakpoint at udp_usrreq.c:435.
> >
> >Otherwise just hit the stop button then take a look at cyg_udpstat and
> >cyg_ipstat.
> >
> > Andrew
> >
> >
> >
> Hi Andrew,
>
> I ran my application for a few minutes during which time the application
> detected 20 missing packets based on the sequence number. Then I
> stopped the debugger and looked at the cyg_udpstat and cyg_ipstat
> structures.
>
> For cyg_udpstat, the only non-zero counts were:
> ipackets 60278
> noportbcast 22
> opackets 1404
>
> For cyg_ipstat the non-zero counts were:
> total 60278
> noproto 4
> delivered 60278
> localout 3868
> tooshort 1
>
> The packets I am receiving (some of which are lost) are usually 1200
> bytes long although a few are smaller. The packets I am sending are 512
> bytes long.
>
> So I'm still at a loss as to where or why the packets are being
> dropped. Any other suggestions?
Are you running the debugger (RedBoot/GDB I assume) via serial or
network?
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss