aboutsummaryrefslogtreecommitdiffstats
path: root/net/Kconfig
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-03-24 15:13:54 -0400
committerDavid S. Miller <davem@davemloft.net>2010-03-25 15:07:00 -0400
commitdf3345457a7a174dfb5872a070af80d456985038 (patch)
treed8d2d2a86d0b3473783ea2709ff242817e78ed54 /net/Kconfig
parent2381a55c88453d3f29fe62d235579a05fc20b7b3 (diff)
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"
203source "net/sched/Kconfig" 203source "net/sched/Kconfig"
204source "net/dcb/Kconfig" 204source "net/dcb/Kconfig"
205 205
206config RPS
207 boolean
208 depends on SMP && SYSFS
209 default y
210
206menu "Network testing" 211menu "Network testing"
207 212
208config NET_PKTGEN 213config NET_PKTGEN