diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-03-24 15:13:54 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-03-25 15:07:00 -0400 |
commit | df3345457a7a174dfb5872a070af80d456985038 (patch) | |
tree | d8d2d2a86d0b3473783ea2709ff242817e78ed54 /net/Kconfig | |
parent | 2381a55c88453d3f29fe62d235579a05fc20b7b3 (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/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/Kconfig b/net/Kconfig index 041c35edb76..68514644ce9 100644 --- a/net/Kconfig +++ b/net/Kconfig | |||
@@ -203,6 +203,11 @@ source "net/ieee802154/Kconfig" | |||
203 | source "net/sched/Kconfig" | 203 | source "net/sched/Kconfig" |
204 | source "net/dcb/Kconfig" | 204 | source "net/dcb/Kconfig" |
205 | 205 | ||
206 | config RPS | ||
207 | boolean | ||
208 | depends on SMP && SYSFS | ||
209 | default y | ||
210 | |||
206 | menu "Network testing" | 211 | menu "Network testing" |
207 | 212 | ||
208 | config NET_PKTGEN | 213 | config NET_PKTGEN |