[ECOS] RedBoot: discarding Ethernet frames when out of pktbufs?

Jonathan Larmour jlarmour@redhat.com
Wed Jun 20 19:30:00 GMT 2001


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/



More information about the Ecos-discuss mailing list