From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Decotigny Subject: [PATCH net-next v5 03/10] kbuild: document RPS/XPS network Kconfig options Date: Tue, 15 Nov 2011 21:15:51 -0800 Message-ID: References: Cc: "David S. Miller" , Ian Campbell , Eric Dumazet , Jeff Kirsher , Ben Hutchings , Jiri Pirko , Joe Perches , Szymon Janc , Richard Jones , Ayaz Abdulla , David Decotigny To: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Return-path: Received: from mail-ww0-f74.google.com ([74.125.82.74]:59922 "EHLO mail-ww0-f74.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752805Ab1KPFQc (ORCPT ); Wed, 16 Nov 2011 00:16:32 -0500 Received: by wwe5 with SMTP id 5so1074wwe.1 for ; Tue, 15 Nov 2011 21:16:31 -0800 (PST) In-Reply-To: In-Reply-To: References: Sender: netdev-owner@vger.kernel.org List-ID: This adds a description of RPS/XPS options and allow them to be changed at make menuconfig time. Signed-off-by: David Decotigny --- net/Kconfig | 16 +++++++++++++--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/net/Kconfig b/net/Kconfig index a073148..1422c34 100644 --- a/net/Kconfig +++ b/net/Kconfig @@ -217,20 +217,30 @@ source "net/dns_resolver/Kconfig" source "net/batman-adv/Kconfig" config RPS - boolean + boolean "Enable Receive Packet Steering" depends on SMP && SYSFS && USE_GENERIC_SMP_HELPERS default y + RPS distributes the load of received packet processing + across multiple CPUs. If unsure, say Y. config RFS_ACCEL - boolean + boolean "Enable Hardware Acceleration of RFS" depends on RPS && GENERIC_HARDIRQS select CPU_RMAP default y + This is the hardware version of RPS. On multi-queue network + devices, this configures the hardware to distribute the + received packets across multiple CPUs. If unsure, say Y. config XPS - boolean + boolean "Enable Transmit Packet Steering" depends on SMP && SYSFS && USE_GENERIC_SMP_HELPERS default y + For multiqueue devices, XPS selects a transmit queue during + packet transmission based on configuration. This is done by + mapping the CPU transmitting the packet to a queue. XPS can + reduce transmit network latency on SMP systems. If unsure, + say Y. config HAVE_BPF_JIT bool -- 1.7.3.1