From patchwork Mon Mar 16 12:36:33 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanislaw Gruszka X-Patchwork-Id: 24495 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by ozlabs.org (Postfix) with ESMTP id 8B219DE067 for ; Mon, 16 Mar 2009 23:42:33 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755927AbZCPMm3 (ORCPT ); Mon, 16 Mar 2009 08:42:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754173AbZCPMm2 (ORCPT ); Mon, 16 Mar 2009 08:42:28 -0400 Received: from mx2.redhat.com ([66.187.237.31]:37524 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753378AbZCPMm2 (ORCPT ); Mon, 16 Mar 2009 08:42:28 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n2GCgQ6l007561; Mon, 16 Mar 2009 08:42:26 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n2GCgQ44006335; Mon, 16 Mar 2009 08:42:26 -0400 Received: from dhcp-lab-109.englab.brq.redhat.com (dhcp-lab-109.englab.brq.redhat.com [10.34.33.109]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n2GCgOk6029236; Mon, 16 Mar 2009 08:42:25 -0400 Date: Mon, 16 Mar 2009 13:36:33 +0100 From: Stanislaw Gruszka To: linux-kernel@vger.kernel.org Cc: netdev@vger.kernel.org Subject: [PATCH] Document /proc/sys/net/core/netdev_budget Message-ID: <20090316133633.2df4ed3e@dhcp-lab-109.englab.brq.redhat.com> Organization: RedHat Mime-Version: 1.0 X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org 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 --- Documentation/filesystems/proc.txt | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) 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//weight . netdev_max_backlog ------------------