Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
f039587
)
nat: bump default max translations to 63K
40/30840/2
author
Klement Sekera
<
[email protected]
>
Tue, 19 Jan 2021 16:55:46 +0000
(17:55 +0100)
committer
Ole 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
patch
|
blob
|
history
diff --git
a/src/plugins/nat/nat.c
b/src/plugins/nat/nat.c
index
11664ab
..
11e2d19
100644
(file)
--- 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);