diff options
author | Florin Coras <fcoras@cisco.com> | 2018-07-12 14:48:06 -0700 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2018-07-17 09:02:17 +0000 |
commit | 52207f1b7b60cb0784d5241f0a4d40eef531c67e (patch) | |
tree | b83a1f01bd08872a2ae27e17f2fd0ddeb3f571b6 /src/vnet/session/segment_manager.c | |
parent | 3c2fed5145d9e40a9ecd178c2866c813eddc6203 (diff) |
session: send ctrl msg over mq
Change-Id: I242056bc46ddb671064665916b2687860292dcb2
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session/segment_manager.c')
-rw-r--r-- | src/vnet/session/segment_manager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/session/segment_manager.c b/src/vnet/session/segment_manager.c index b00bcd5bbc8..c7d2482d6bf 100644 --- a/src/vnet/session/segment_manager.c +++ b/src/vnet/session/segment_manager.c @@ -605,7 +605,7 @@ segment_manager_evt_q_expected_size (u32 q_len) u32 fifo_evt_size, notif_q_size, q_hdrs; u32 msg_q_sz, fifo_evt_ring_sz, session_ntf_ring_sz; - fifo_evt_size = 1 << max_log2 (sizeof (session_fifo_event_t)); + fifo_evt_size = 1 << max_log2 (sizeof (session_event_t)); notif_q_size = clib_max (16, q_len >> 4); msg_q_sz = q_len * sizeof (svm_msg_q_msg_t); @@ -630,7 +630,7 @@ segment_manager_alloc_queue (svm_fifo_segment_private_t * segment, svm_msg_q_t *q; void *oldheap; - fifo_evt_size = sizeof (session_fifo_event_t); + fifo_evt_size = sizeof (session_event_t); notif_q_size = clib_max (16, queue_size >> 4); /* *INDENT-OFF* */ svm_msg_q_ring_cfg_t rc[SESSION_MQ_N_RINGS] = { |