diff options
author | Florin Coras <fcoras@cisco.com> | 2021-06-09 14:55:24 -0700 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2021-06-17 14:29:47 +0000 |
commit | da78c5abc8a862d33ebd9b0e89ae781f1ea37532 (patch) | |
tree | 2b95a20f36e4852ca15f2dc2ce7d80af131f798f /src/vnet/session/segment_manager.h | |
parent | 975fde82b11307180b3df7dc9b5b1b496f207a08 (diff) |
session: optimize ct fifo segment allocations
Allocate per app pair segments with space for more than one fifo.
Type: feature
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Ib96fe12b899cb14ff20c0be607814011e2c3fc6a
Diffstat (limited to 'src/vnet/session/segment_manager.h')
-rw-r--r-- | src/vnet/session/segment_manager.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/session/segment_manager.h b/src/vnet/session/segment_manager.h index 3278d8d825d..ef8b9703e83 100644 --- a/src/vnet/session/segment_manager.h +++ b/src/vnet/session/segment_manager.h @@ -90,6 +90,7 @@ int segment_manager_init_first (segment_manager_t * sm); * @param sm segment manager to be freed */ void segment_manager_free (segment_manager_t * sm); +void segment_manager_free_safe (segment_manager_t *sm); /** * Initiate segment manager cleanup |