This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: eth_recv out of MBUFs
- To: Christoph Csebits <christoph dot csebits at frequentis dot com>
- Subject: Re: [ECOS] eth_recv out of MBUFs
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Tue, 16 Oct 2001 22:55:18 +0100
- Cc: eCos mailing list <ecos-discuss at sources dot redhat dot com>
- Organization: Red Hat UK Ltd.
- References: <20011016182028.A9222@frequentis.com>
Christoph Csebits wrote:
>
> hi,
>
> i am working on a FCC driver for the MPC8260ADS.
> (FCC driver is based on the Viper FEC driver)
> cvs-version 02-Oct-2001
>
> i am getting "warning: eth_recv out of MBUFs" messages
> after while running the tcp_echo - "test suite".
> sending only 100 packets instead of 1024 works fine.
>
> What does this message mean, where should i
> start in my driver code.
It probably means the mbufs your driver uses for received data aren't
getting freed after use. Perhaps it isn't getting read fast enough or you
need to increase CYGPKG_NET_MEM_USAGE if you are hammering it really hard.
It may not indicate a problem.
Alternatively if the buffers stay allocated even after you've stopped
hammering it, then that _would_ be a problem :-).
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