summaryrefslogtreecommitdiffstats
path: root/net/Kconfig
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-03-24 20:13:54 +0100
committerDavid S. Miller <davem@davemloft.net>2010-03-25 20:07:00 +0100
commitdf3345457a7a174dfb5872a070af80d456985038 (patch)
treed8d2d2a86d0b3473783ea2709ff242817e78ed54 /net/Kconfig
parentnet/various: remove trailing space in messages (diff)
downloadlinux-df3345457a7a174dfb5872a070af80d456985038.tar.xz
linux-df3345457a7a174dfb5872a070af80d456985038.zip
rps: add CONFIG_RPS
RPS currently depends on SMP and SYSFS Adding a CONFIG_RPS makes sense in case this requirement changes in the future. This patch saves about 1500 bytes of kernel text in case SMP is on but SYSFS is off. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/Kconfig')
-rw-r--r--net/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/Kconfig b/net/Kconfig
index 041c35edb763..68514644ce91 100644
--- a/net/Kconfig
+++ b/net/Kconfig
@@ -203,6 +203,11 @@ source "net/ieee802154/Kconfig"
source "net/sched/Kconfig"
source "net/dcb/Kconfig"
+config RPS
+ boolean
+ depends on SMP && SYSFS
+ default y
+
menu "Network testing"
config NET_PKTGEN