diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-01-13 00:23:17 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:01:56 -0500 |
commit | 66a2f7fd2fddee1ddc5d1d286cd832e50a97258e (patch) | |
tree | 5ed7bfa39716de4b1724873c1c797ed696ee0253 /net/ipv4/Kconfig | |
parent | a6db9010922f2c02db2bbea8c17c50e451be38d9 (diff) |
[IPV4] fib_trie: Add statistics.
The FIB TRIE code has a bunch of statistics, but the code is hidden
behind an ifdef that was never implemented. Since it was dead code, it
was broken as well.
This patch fixes that by making it a config option.
Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/Kconfig')
-rw-r--r-- | net/ipv4/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/net/ipv4/Kconfig b/net/ipv4/Kconfig index 9f9fd2c6f6e..24e2b7294bf 100644 --- a/net/ipv4/Kconfig +++ b/net/ipv4/Kconfig | |||
@@ -85,6 +85,13 @@ endchoice | |||
85 | config IP_FIB_HASH | 85 | config IP_FIB_HASH |
86 | def_bool ASK_IP_FIB_HASH || !IP_ADVANCED_ROUTER | 86 | def_bool ASK_IP_FIB_HASH || !IP_ADVANCED_ROUTER |
87 | 87 | ||
88 | config IP_FIB_TRIE_STATS | ||
89 | bool "FIB TRIE statistics" | ||
90 | depends on IP_FIB_TRIE | ||
91 | ---help--- | ||
92 | Keep track of statistics on structure of FIB TRIE table. | ||
93 | Useful for testing and measuring TRIE performance. | ||
94 | |||
88 | config IP_MULTIPLE_TABLES | 95 | config IP_MULTIPLE_TABLES |
89 | bool "IP: policy routing" | 96 | bool "IP: policy routing" |
90 | depends on IP_ADVANCED_ROUTER | 97 | depends on IP_ADVANCED_ROUTER |