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/svm/fifo_segment.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/svm/fifo_segment.h')
-rw-r--r-- | src/svm/fifo_segment.h | 1 |
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 \ |