aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/session/session.h
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2021-11-17 23:38:54 -0800
committerDave Barach <openvpp@barachs.net>2021-11-18 15:25:28 +0000
commit8afe1b88955d2bd2cdcb9b0cb27b21a149af861c (patch)
tree2caebc70e17057126c0c146f3a9c8f0f153f05fa /src/vnet/session/session.h
parentb28652ed7ab016177593b059390f2e99e6af2961 (diff)
session: improve wrk mq segment allocation
Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I9e5438a2f82762aa8a88bbacf4290151ef30969e
Diffstat (limited to 'src/vnet/session/session.h')
-rw-r--r--src/vnet/session/session.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vnet/session/session.h b/src/vnet/session/session.h
index 2d01eb6a67a..51ca269ef8c 100644
--- a/src/vnet/session/session.h
+++ b/src/vnet/session/session.h
@@ -176,7 +176,7 @@ typedef struct session_main_
session_worker_t *wrk;
/** Event queues memfd segment */
- fifo_segment_t evt_qs_segment;
+ fifo_segment_t wrk_mqs_segment;
/** Unique segment name counter */
u32 unique_segment_name_counter;
@@ -217,12 +217,12 @@ typedef struct session_main_
u8 no_adaptive;
/** vpp fifo event queue configured length */
- u32 configured_event_queue_length;
+ u32 configured_wrk_mq_length;
/** Session ssvm segment configs*/
uword session_baseva;
uword session_va_space_size;
- uword evt_qs_segment_size;
+ uword wrk_mqs_segment_size;
/** Session table size parameters */
u32 configured_v4_session_table_buckets;
@@ -761,7 +761,7 @@ session_wrk_update_time (session_worker_t *wrk, f64 now)
}
void session_wrk_enable_adaptive_mode (session_worker_t *wrk);
-fifo_segment_t *session_main_get_evt_q_segment (void);
+fifo_segment_t *session_main_get_wrk_mqs_segment (void);
void session_node_enable_disable (u8 is_en);
clib_error_t *vnet_session_enable_disable (vlib_main_t * vm, u8 is_en);