diff options
author | Florin Coras <fcoras@cisco.com> | 2021-06-17 15:53:38 -0700 |
---|---|---|
committer | Florin Coras <fcoras@cisco.com> | 2021-06-18 16:51:42 -0700 |
commit | 6973c73131f68630bf5ede3a78583f3d69f0392e (patch) | |
tree | 957dd00c08bec0f4b31ec40996293dfb76a0f6c7 /src/vnet/session/segment_manager.h | |
parent | 5de9772c14462b584ebae90017a69c2ef88e9073 (diff) |
session: improve ct locking with multiple workers
Type: improvement
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Id91c3be57d49745cb3db6c768a8d5d14133f899e
Diffstat (limited to 'src/vnet/session/segment_manager.h')
-rw-r--r-- | src/vnet/session/segment_manager.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/session/segment_manager.h b/src/vnet/session/segment_manager.h index ef8b9703e83..5a3d772ff02 100644 --- a/src/vnet/session/segment_manager.h +++ b/src/vnet/session/segment_manager.h @@ -104,6 +104,8 @@ u32 segment_manager_index (segment_manager_t * sm); int segment_manager_add_segment (segment_manager_t *sm, uword segment_size, u8 notify_app); +int segment_manager_add_segment2 (segment_manager_t *sm, uword segment_size, + u8 flags); void segment_manager_del_segment (segment_manager_t * sm, fifo_segment_t * fs); void segment_manager_lock_and_del_segment (segment_manager_t * sm, |