Subject: CVS commit: src/sys/dev/pci
To: None <source-changes@NetBSD.org>
From: Havard Eidnes <he@netbsd.org>
List: source-changes
Date: 07/27/2004 07:59:52
Module Name:	src
Committed By:	he
Date:		Tue Jul 27 07:59:52 UTC 2004

Modified Files:
	src/sys/dev/pci: if_ti.c if_tireg.h

Log Message:
Make the SSLOTS, MSLOTS and JSLOTS tunable (redefineable).
Bump the default values for these to the values used by FreeBSD,
and also adjust ti_init_rx_ring_jumbo() to use the same constant
that FreeBSD uses.  Yes, this consumes more kernel memory.

The effect of this is that you can use jumbo frames in a back-to-back
setup with TCP windows up to about 250KB and get ~930Mbit/s throughput,
while we were earlier limited to around 3-400Mbit/s, and trying to push
above that mark by widening the TCP window caused
  ti0: jumbo buffer allocation failed
messages to be logged and a corresponding stall in the traffic.


To generate a diff of this commit:
cvs rdiff -r1.60 -r1.61 src/sys/dev/pci/if_ti.c
cvs rdiff -r1.13 -r1.14 src/sys/dev/pci/if_tireg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.