Subject: CVS commit: [netbsd-2-0] src/sys/dev/pci
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 07/28/2004 11:00:54
Module Name: src
Committed By: tron
Date: Wed Jul 28 11:00:54 UTC 2004
Modified Files:
src/sys/dev/pci [netbsd-2-0]: if_ti.c
Log Message:
Pull up revision 1.61 (requested by he in ticket #719):
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.60.2.1 src/sys/dev/pci/if_ti.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.