aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2021-01-19 17:55:46 +0100
committerOle Tr�an <otroan@employees.org>2021-02-09 16:19:14 +0000
commit4579056c3f0933b9c87c64c542f6ef67680e1776 (patch)
tree34af937ddc08fd444e621a2cd446ffec9f592d0a
parentf039587701b47b3b27e281858eef56b29ff91864 (diff)
nat: bump default max translations to 63K
Type: improvement Signed-off-by: Klement Sekera <ksekera@cisco.com> Change-Id: Ibea7ec844d1d910e8a3235e11154b1ecea8302ac
-rw-r--r--src/plugins/nat/nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/nat/nat.c b/src/plugins/nat/nat.c
index 11664aba0b6..11e2d193240 100644
--- a/src/plugins/nat/nat.c
+++ b/src/plugins/nat/nat.c
@@ -2669,7 +2669,7 @@ nat44_ed_plugin_enable (nat44_config_t c)
sm->user_buckets = nat_calc_bihash_buckets (c.users);
if (!c.sessions)
- c.sessions = 10 * 1024;
+ c.sessions = 63 * 1024;
sm->max_translations_per_thread = c.sessions;
sm->translation_buckets = nat_calc_bihash_buckets (c.sessions);