nat: bump default max translations to 63K 40/30840/2
authorKlement Sekera <[email protected]>
Tue, 19 Jan 2021 16:55:46 +0000 (17:55 +0100)
committerOle Tr�an <[email protected]>
Tue, 9 Feb 2021 16:19:14 +0000 (16:19 +0000)
Type: improvement

Signed-off-by: Klement Sekera <[email protected]>
Change-Id: Ibea7ec844d1d910e8a3235e11154b1ecea8302ac

src/plugins/nat/nat.c

index 11664ab..11e2d19 100644 (file)
@@ -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);