This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: MPC860 Ethernet driver problem.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]