aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/session/session.h
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-12-25 11:45:40 -0800
committerDave Barach <openvpp@barachs.net>2020-12-28 19:40:03 +0000
commit04943b4c42db300d0d895644f32da79a6d411c51 (patch)
tree68dcd62cb3b1a9ac414f19d885258ce26955e01d /src/vnet/session/session.h
parent1f952d386d14b8f5a64ebaed3fb61bfb7e7cb308 (diff)
session: convert evt q segment to fifo segment
Type: refactor Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I63a44e11322f6fe27255820524e022f6d710b083
Diffstat (limited to 'src/vnet/session/session.h')
-rw-r--r--src/vnet/session/session.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vnet/session/session.h b/src/vnet/session/session.h
index e62aea483cf..e8afcd03d69 100644
--- a/src/vnet/session/session.h
+++ b/src/vnet/session/session.h
@@ -20,7 +20,7 @@
#include <vnet/session/session_lookup.h>
#include <vnet/session/session_debug.h>
#include <svm/message_queue.h>
-#include <svm/ssvm.h>
+#include <svm/fifo_segment.h>
#define foreach_session_input_error \
_(NO_SESSION, "No session drops") \
@@ -143,7 +143,7 @@ typedef struct session_main_
session_worker_t *wrk;
/** Event queues memfd segment */
- ssvm_private_t evt_qs_segment;
+ fifo_segment_t evt_qs_segment;
/** Unique segment name counter */
u32 unique_segment_name_counter;
@@ -679,7 +679,7 @@ session_add_pending_tx_buffer (u32 thread_index, u32 bi, u32 next_node)
vec_add1 (wrk->pending_tx_nexts, next_node);
}
-ssvm_private_t *session_main_get_evt_q_segment (void);
+fifo_segment_t *session_main_get_evt_q_segment (void);
void session_node_enable_disable (u8 is_en);
clib_error_t *vnet_session_enable_disable (vlib_main_t * vm, u8 is_en);