summaryrefslogtreecommitdiffstats
path: root/src/vnet/session/segment_manager.h
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-10-23 16:31:40 -0700
committerFlorin Coras <florin.coras@gmail.com>2020-10-27 00:09:36 +0000
commit2d0e3de146c239f584004444491c2b25fd1a7bd7 (patch)
tree0ffb98719c8d676a6f0b5044b522c9c850e47724 /src/vnet/session/segment_manager.h
parent70ae0a9682709ede68de467c9932472ea3c0e100 (diff)
session: per worker state for ct sessions
Type: feature Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: Id6f7b2b969eb50eb7611e4e9ca77b7ef0e0519a1
Diffstat (limited to 'src/vnet/session/segment_manager.h')
-rw-r--r--src/vnet/session/segment_manager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/session/segment_manager.h b/src/vnet/session/segment_manager.h
index f4dacdde849..1036ca2a99a 100644
--- a/src/vnet/session/segment_manager.h
+++ b/src/vnet/session/segment_manager.h
@@ -110,6 +110,8 @@ u32 segment_manager_index (segment_manager_t * sm);
int segment_manager_add_segment (segment_manager_t * sm, uword segment_size);
void segment_manager_del_segment (segment_manager_t * sm,
fifo_segment_t * fs);
+void segment_manager_lock_and_del_segment (segment_manager_t * sm,
+ u32 fs_index);
fifo_segment_t *segment_manager_get_segment (segment_manager_t * sm,
u32 segment_index);
fifo_segment_t *segment_manager_get_segment_w_handle (u64 sh);