From owner-cvs-all Sat Dec 8 11: 7:56 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9FC8737B416; Sat, 8 Dec 2001 11:07:51 -0800 (PST) Received: (from jdp@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fB8J7ps99251; Sat, 8 Dec 2001 11:07:51 -0800 (PST) (envelope-from jdp) Message-Id: <200112081907.fB8J7ps99251@freefall.freebsd.org> From: John Polstra Date: Sat, 8 Dec 2001 11:07:51 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netgraph ng_base.c X-FreeBSD-CVS-Branch: RELENG_4 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG jdp 2001/12/08 11:07:51 PST Modified files: (Branch: RELENG_4) sys/netgraph ng_base.c Log: Increase the maximum message queue length to 256, and increase the number of cached message structs to the same number. Modern NICs (especially gigabit NICs) often have 64-256 or more receive packet descriptors, so they can dump a lot of packets into the network stack at once. With the old message queue limit, it was easy to overflow the queue when using the ng_ether node. I am committing this directly to RELENG_4. The queuing mechanism is quite different in -current, and these limits don't apply there. Revision Changes Path 1.11.2.16 +2 -2 src/sys/netgraph/ng_base.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message