diff options
author | Klement Sekera <ksekera@cisco.com> | 2020-10-26 13:42:41 +0000 |
---|---|---|
committer | Ole Tr�an <otroan@employees.org> | 2020-11-03 11:46:44 +0000 |
commit | c358d78c4126c3bd660d16583842ac41afc77a3e (patch) | |
tree | e5d6e42fa2c3c29acdb3cd733b1082de38fff0a7 /src/plugins/nat/test/test_ipsec_nat.py | |
parent | af4a414eb74d1456121023e6b3aa76af6c16f89a (diff) |
nat: bihash: fix buckets calc and remove mem param
Calculate bihash buckets as n_elts / 2.5 rounded to closest pow2
per Damjan's recommendation. Remove memory configuration parameters
because bihash init ignores them anyway as it resides in main heap now.
Type: improvement
Change-Id: I189f463f3c4640106cce4f12d3c5a62969276a82
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'src/plugins/nat/test/test_ipsec_nat.py')
0 files changed, 0 insertions, 0 deletions