NetBSD Problem Report #35795

From woods@always.weird.com  Thu Feb 22 22:29:34 2007
Return-Path: <woods@always.weird.com>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 7D83063BA62
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 22 Feb 2007 22:29:34 +0000 (UTC)
Message-Id: <m1HKLkP-0051gFC@always.weird.com>
Date: Thu, 22 Feb 2007 16:45:05 -0500 (EST)
From: "Greg A. Woods" <woods@planix.com>
Sender: "Greg A. Woods" <woods@always.weird.com>
Reply-To: "Greg A. Woods" <woods@planix.com>
To: gnats-bugs@NetBSD.org
Subject: bge(4) doesn't describe the sysctl it uses
X-Send-Pr-Version: 3.95

>Number:         35795
>Category:       kern
>Synopsis:       bge(4) doesn't describe the sysctl it uses
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          closed
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 22 22:30:00 +0000 2007
>Closed-Date:    Sat Sep 26 04:52:01 +0000 2009
>Last-Modified:  Sat Sep 26 04:55:01 +0000 2009
>Originator:     Greg A. Woods
>Release:        netbsd-4
>Organization:
Planix, Inc.; Toronto, Ontario; Canada
>Environment:
System: NetBSD-4.0_STABLE2
>Description:

	it seems bge(4) does not describe the sysctl it uses

>How-To-Repeat:

>Fix:

The description is taken from a posting by Jonathan Stone.

Index: share/man/man4/bge.4
===================================================================
RCS file: /cvs/master/m-NetBSD/main/src/share/man/man4/bge.4,v
retrieving revision 1.8
diff -u -r1.8 bge.4
--- share/man/man4/bge.4	23 Jun 2005 12:47:38 -0000	1.8
+++ share/man/man4/bge.4	22 Feb 2007 22:19:46 -0000
@@ -75,6 +75,17 @@
 See
 .Xr ifconfig 8
 for information on how to enable this feature.
+.Pp
+The level of interrupt mitigation for received packets can be mitigated
+with the following
+.Xr sysctl 8
+control:
+.Li hw.bge.rx_lvl .
+A value of 1 yields an bge interrrupt for every two full-sized Ethernet
+frames.
+Each increment of the value will, roughly, halve receive interrupt rate,
+up to a maximum of 5, which interrupts about every 30 to 40 full-sized
+TCP segments.
 .Sh SEE ALSO
 .Xr arp 4 ,
 .Xr bce 4 ,

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: elad@NetBSD.org
State-Changed-When: Sat, 26 Sep 2009 04:52:01 +0000
State-Changed-Why:
Slightly modified version committed, thanks for the PR!



From: Elad Efrat <elad@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/35795 CVS commit: src/share/man/man4
Date: Sat, 26 Sep 2009 04:51:21 +0000

 Module Name:	src
 Committed By:	elad
 Date:		Sat Sep 26 04:51:21 UTC 2009

 Modified Files:
 	src/share/man/man4: bge.4

 Log Message:
 PR/35795: Greg A. Woods: bge(4) doesn't describe the sysctl it uses

 Use a slightly adjusted version of the diff in the PR. For proper credits,
 the information in the added bit comes from a posting by Jonathan Stone.


 To generate a diff of this commit:
 cvs rdiff -u -r1.10 -r1.11 src/share/man/man4/bge.4

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

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.