Patchwork Document /proc/sys/net/core/netdev_budget

login
register
mail settings
Submitter Stanislaw Gruszka
Date March 16, 2009, 12:36 p.m.
Message ID <20090316133633.2df4ed3e@dhcp-lab-109.englab.brq.redhat.com>
Download mbox | patch
Permalink /patch/24495/
State Accepted
Delegated to: David Miller
Headers show

Comments

Stanislaw Gruszka - March 16, 2009, 12:36 p.m.
The NAPI poll parameter netdev_budget is not documented in kernel-docs. Since
it may have a substantial effect on at least some network loads, it should be.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> 
---
 Documentation/filesystems/proc.txt |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
David Miller - March 19, 2009, 1:51 a.m.
From: Stanislaw Gruszka <sgruszka@redhat.com>
Date: Mon, 16 Mar 2009 13:36:33 +0100

> The NAPI poll parameter netdev_budget is not documented in kernel-docs. Since
> it may have a substantial effect on at least some network loads, it should be.
> 
> Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> 

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt
index a87be42..830bad7 100644
--- a/Documentation/filesystems/proc.txt
+++ b/Documentation/filesystems/proc.txt
@@ -1478,6 +1478,13 @@  of problems on the network like duplicate address or bad checksums. Normally,
 this should be enabled, but if the problem persists the messages can be
 disabled.
 
+netdev_budget
+-------------
+
+Maximum number of packets taken from all interfaces in one polling cycle (NAPI
+poll). In one polling cycle interfaces which are registered to polling are
+probed in a round-robin manner. The limit of packets in one such probe can be
+set per-device via sysfs class/net/<device>/weight .
 
 netdev_max_backlog
 ------------------