diff options
author | Florin Coras <fcoras@cisco.com> | 2017-08-16 19:55:49 -0700 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2017-08-29 18:53:11 +0000 |
commit | c87c91d8b0e85997debaf575f2e30cc2702edf25 (patch) | |
tree | 49ac104b68b3212559bf00e3744a842072631264 /src/uri | |
parent | 78d5abea8584041b872def163c39464087eed9ef (diff) |
session: segment manager improvements
- cleanup connects segment manager even if first
- fix segment manager allocation for listen sessions
- improve handling of process private segments (mheaps/main heap)
- added segment manager cli
Change-Id: Ic2ca97c3622ab2286d5fb5772aeb57680e64f769
Signed-off-by: Florin Coras <fcoras@cisco.com>
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'src/uri')
-rw-r--r-- | src/uri/vppcom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uri/vppcom.c b/src/uri/vppcom.c index 9a4bea8fe51..c41acd54977 100644 --- a/src/uri/vppcom.c +++ b/src/uri/vppcom.c @@ -1076,7 +1076,7 @@ vl_api_connect_sock_t_handler (vl_api_connect_sock_t * mp) session->sm_seg_index = a->new_segment_indices[0]; vec_reset_length (a->new_segment_indices); - seg = svm_fifo_get_segment (session->sm_seg_index); + seg = svm_fifo_segment_get_segment (session->sm_seg_index); rx_fifo = session->server_rx_fifo = svm_fifo_segment_alloc_fifo (seg, vcm->cfg.rx_fifo_size, FIFO_SEGMENT_RX_FREELIST); |