summaryrefslogtreecommitdiff
path: root/nest/rt-fib.c
diff options
context:
space:
mode:
authorJan Maria Matejka <mq@ucw.cz>2018-11-01 12:17:49 +0100
committerJan Maria Matejka <mq@ucw.cz>2018-12-04 14:00:44 +0100
commitd73c4ac869048e60276c5e568450c7342bc0bc8a (patch)
treed5d23585e4b6cb07b55aed502e72294a330470b3 /nest/rt-fib.c
parent84661bf6da683d70e6e5e0e490d95abaf91b470b (diff)
Route table max hash size raised to 2^24.
This is still OK for everybody to fit into RAM and also probably enough to keep a little collision rate for full BGP table.
Diffstat (limited to 'nest/rt-fib.c')
-rw-r--r--nest/rt-fib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/rt-fib.c b/nest/rt-fib.c
index 18ccbfc3..48091d43 100644
--- a/nest/rt-fib.c
+++ b/nest/rt-fib.c
@@ -61,7 +61,7 @@
#define HASH_DEF_ORDER 10
#define HASH_HI_MARK *4
#define HASH_HI_STEP 2
-#define HASH_HI_MAX 16
+#define HASH_HI_MAX 24
#define HASH_LO_MARK /5
#define HASH_LO_STEP 2
#define HASH_LO_MIN 10