summaryrefslogtreecommitdiffstats
path: root/src/svm
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2021-06-09 14:55:24 -0700
committerDave Barach <openvpp@barachs.net>2021-06-17 14:29:47 +0000
commitda78c5abc8a862d33ebd9b0e89ae781f1ea37532 (patch)
tree2b95a20f36e4852ca15f2dc2ce7d80af131f798f /src/svm
parent975fde82b11307180b3df7dc9b5b1b496f207a08 (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/svm')
-rw-r--r--src/svm/fifo_segment.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/svm/fifo_segment.h b/src/svm/fifo_segment.h
index 74f73d43334..f76798fed90 100644
--- a/src/svm/fifo_segment.h
+++ b/src/svm/fifo_segment.h
@@ -38,6 +38,7 @@ typedef enum fifo_segment_flags_
FIFO_SEGMENT_F_IS_PREALLOCATED = 1 << 0,
FIFO_SEGMENT_F_WILL_DELETE = 1 << 1,
FIFO_SEGMENT_F_MEM_LIMIT = 1 << 2,
+ FIFO_SEGMENT_F_CUSTOM_USE = 1 << 3,
} fifo_segment_flags_t;
#define foreach_segment_mem_status \