This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: RedBoot: discarding Ethernet frames when out of pktbufs?
- To: Grant Edwards <grante at visi dot com>
- Subject: Re: [ECOS] RedBoot: discarding Ethernet frames when out of pktbufs?
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Thu, 21 Jun 2001 03:30:47 +0100
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <20010620114114.A11533@visi.com>
Grant Edwards wrote:
>
> What I'm thinking about is not calling eth_drv_read() unless
> there's a pktbuf available. I can make sure that my Ethernet
> driver does what I want when the Rx frame FIFO overflows, but
> I'm curious: would this approach will cause problems with other
> Ethernet drivers?
IMHO: It may do, but if so that's a bug. Drivers should be tolerant of the
Rx FIFO (or equivalent) filling up in case data is ever received faster
than it can be processed.
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
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions http://www.redhat-techworld.com/