This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: MPC860 Ethernet driver problem.
- To: Gary Thomas <gthomas at cambridge dot redhat dot com>
- Subject: Re: [ECOS] MPC860 Ethernet driver problem.
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Tue, 01 May 2001 16:14:49 +0100
- Cc: "ecos-discuss at sources dot redhat dot com" <ecos-discuss at sources dot redhat dot com>,Geoff Patch <grp at cea dot com dot au>
- Organization: Red Hat UK Ltd.
- References: <XFMail.20010501090244.gthomas@cambridge.redhat.com>
Gary Thomas wrote:
> > I've seen another problem I believe: if the ring buffer fills up it starts
> > overwriting old txbd's. But if it doesn't call the higher layer's txDone,
> > the mbuf won't ever be freed as far as I can tell. Perhaps it's even the
> > same problem and you're out of mbufs? Try adding a call to
> > quicc_eth_TxEvent after the "No free xmit buffers" printf in
> > quicc_eth_send(). I think :-).
> >
> > Gary, care to comment?
>
> More likely is that with no carrier, the "engine" won't send packets and
> needs to be kicked when the carrier is restored. If the packet is not
> consumed by the ethernet chip (engine), the driver will stop trying to
> send anything.
Still I think this memory/mbuf leak is an issue. Should I do what I
proposed?
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine