Subject: Re: HME stuff
To: Paul Kranenburg <pk@cs.few.eur.nl>
From: James Sharp <jsharp@psychoses.org>
List: port-sparc
Date: 02/13/2000 01:57:10
On Sat, 12 Feb 2000, Paul Kranenburg wrote:
> > I get this in syslog when I try to subject the card to any kind of heavy
> > network traffic (i.e. FTPing a 95 megabyte tar file to a machine directly
> > connected).
> >
> > Feb 9 21:00:03 testsparc /netbsd: hme0: buffer overflow, ri=0;
>
> The ring buffers are currently completely static and probably not
> adequately sized (I must implement dma_load_mbuf() some day).
>
> You may want to experiment a bit with the number of descriptors
> allocated for packet reception: bump _HME_NDESC to a higher multiple
> of 16.
I twiddled with it for a while and found that a setting of 64 for
_HME_NDESC seems to be the Right Thing.
From ftp:
4690400 bytes received in 2.7 seconds (1.7e+03 Kbytes/s)