diff options
author | Florin Coras <fcoras@cisco.com> | 2021-01-27 18:08:25 -0800 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2021-01-28 15:57:33 +0000 |
commit | 80b742592bd227cedb22362abb6286838977ba4f (patch) | |
tree | ca87e72c58df443744cc6b50a65feaf947ef36de /src/svm/fifo_types.h | |
parent | b13ba133fbdb3a66a6c3ddf19a2bc80525b92606 (diff) |
svm vcl: add helper fn that discovers mqs in segment
Type: improvement
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I1b083ee793a7cf91b1001bfe88353fa5e6515c42
Diffstat (limited to 'src/svm/fifo_types.h')
-rw-r--r-- | src/svm/fifo_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/svm/fifo_types.h b/src/svm/fifo_types.h index 03adbd33c2c..7b844f00bfe 100644 --- a/src/svm/fifo_types.h +++ b/src/svm/fifo_types.h @@ -150,6 +150,7 @@ struct fifo_segment_header_ CLIB_CACHE_LINE_ALIGN_MARK (allocator); uword byte_index; uword max_byte_index; + uword start_byte_index; CLIB_CACHE_LINE_ALIGN_MARK (slice); fifo_segment_slice_t slices[0]; /** Fixed array of slices */ }; |