summaryrefslogtreecommitdiffstats
path: root/net/Kconfig
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-03-24 19:13:54 +0000
committerDavid S. Miller <davem@davemloft.net>2010-03-25 12:07:00 -0700
commitdf3345457a7a174dfb5872a070af80d456985038 (patch)
treed8d2d2a86d0b3473783ea2709ff242817e78ed54 /net/Kconfig
parent2381a55c88453d3f29fe62d235579a05fc20b7b3 (diff)
downloadblackbird-op-linux-df3345457a7a174dfb5872a070af80d456985038.tar.gz
blackbird-op-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
OpenPOWER on IntegriCloud