diff options
author | Klement Sekera <ksekera@cisco.com> | 2020-04-05 10:22:47 +0200 |
---|---|---|
committer | Klement Sekera <ksekera@cisco.com> | 2020-04-08 11:07:49 +0200 |
commit | ba5f9bc7534bcf58225b0658993728b1f4d47a67 (patch) | |
tree | a3ca0cea8eea85910e050808c8df37bf802cd393 /src/vnet/ipsec/ipsec_cli.c | |
parent | 248ce43c6d79b79597e28f19615e83d2bb0a9276 (diff) |
nat: ED: global session LRU list
Maintain a global session LRU allowing reuse of expired session instead
of relying on a scavenging mechanism to periodically walk sessions.
Whenever a new session is being allocated in slow path, also attempt to
free an expired session from global LRU list.
Type: improvement
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Change-Id: I9edde9ec138de67c9a4888e915b0490ec16415fa
Diffstat (limited to 'src/vnet/ipsec/ipsec_cli.c')
0 files changed, 0 insertions, 0 deletions