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]
Other format: [Raw text]

Fix in quicc2/fcc eth drivers


hi

here is a patch for the quicc2 and for the fcc
eth drivers (powerpc architecture).

Under heavy load (tx path) the ip stack didn't recover
from "out of mbufs". To verify this, just do a
udpblast -p 4444 10.14.0.2 9999
(where port 4444 is not open).

*_eth_can_send() in principle checks if there
is a free hardware buffer. But it checked
only if the buffer was sent by the 
hardware. But not if the buffer was
also freed up by the upper layer (with txdone).

BTW: this patch is also recommended for the FCC:
http://sources.redhat.com/ml/ecos-patches/2003-04/txt00002.txt
(discard packets with errors (e.g. CRC ))

regards, Christoph
-- 

Attachment: fcc_patch
Description: Text document

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

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