Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jul 1998 13:21:14 -0700
From:      Mike Smith <mike@smith.net.au>
To:        HAMADA Naoki <hamada@astec.co.jp>
Cc:        smoergrd@oslo.geco-prakla.slb.com, sbabkin@dcn.att.com, mike@smith.net.au, hackers@FreeBSD.ORG
Subject:   Re: NIC drivers 
Message-ID:  <199807162021.NAA03930@antipodes.cdrom.com>
In-Reply-To: Your message of "Wed, 15 Jul 1998 15:47:29 %2B0900." <199807150647.PAA25283@stone.astec.co.jp> 

next in thread | previous in thread | raw e-mail | index | archive | help

If anyone has the chance to test this under -stable in the next few 
days, please do so, as it'd be nice to have it in 2.2.7.

> smoergrd@oslo.geco-prakla.slb.com writes:
> >Believe me, it still sucks. Search the archives (both the mailing list
> >archives and the PR database) for "no buffer space", and/or "ep0".
> >Basically, the driver is fine for telnet and mail, but wedges under
> >sustained load. I can get it to hang without ever going above 20 kBps
> >(160 kbps). Gimme an Intel EtherExpress.
> 
> I carefully looked through the source code to find a bug which results
> mbuf leaks. Could you try this patch?
> 
> -nao
> 
> --- sys/i386/isa/if_ep.c-	Wed Jul 15 15:40:09 1998
> +++ sys/i386/isa/if_ep.c	Wed Jul 15 15:41:04 1998
> @@ -1128,8 +1128,7 @@
>  	    /* we see if by now, the packet has completly arrived */
>  	    goto read_again;
>  	}
> -	outw(BASE + EP_COMMAND, SET_RX_EARLY_THRESH | RX_NEXT_EARLY_THRESH);
> -	return;
> +	goto out;
>      }
>      outw(BASE + EP_COMMAND, RX_DISCARD_TOP_PACK);
>      ++ifp->if_ipackets;
> 

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\  msmith@cdrom.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807162021.NAA03930>