diff options
author | Florin Coras <fcoras@cisco.com> | 2018-10-04 19:03:05 -0700 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2018-10-05 11:40:58 +0000 |
commit | 326b81e30e63a8296df51d85e6514356cd737225 (patch) | |
tree | bd5104903cecdd87bbad233adbd76c447b7c7d4c /src/svm/svm_fifo.h | |
parent | b3f90503313949e23528495ca12a525be7c5ad9f (diff) |
session: fix local session tagging and cleanup
Change-Id: I0d42a0c71fea7dd669fb1fe5ded7e6e944245c7d
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/svm/svm_fifo.h')
-rw-r--r-- | src/svm/svm_fifo.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/svm/svm_fifo.h b/src/svm/svm_fifo.h index 1ac5b6363cd..d7852a79b32 100644 --- a/src/svm/svm_fifo.h +++ b/src/svm/svm_fifo.h @@ -36,8 +36,9 @@ typedef struct format_function_t format_ooo_segment; format_function_t format_ooo_list; -#define SVM_FIFO_TRACE (0) -#define OOO_SEGMENT_INVALID_INDEX ((u32)~0) +#define SVM_FIFO_TRACE (0) +#define OOO_SEGMENT_INVALID_INDEX ((u32)~0) +#define SVM_FIFO_INVALID_SESSION_INDEX ((u32)~0) typedef struct { @@ -60,6 +61,7 @@ typedef struct _svm_fifo u8 master_thread_index; u8 client_thread_index; u32 segment_manager; + u32 ct_session_index; /**< Local session index for vpp */ CLIB_CACHE_LINE_ALIGN_MARK (end_shared); u32 head; volatile u32 want_tx_evt; /**< producer wants nudge */ |