aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2017-12-09 08:15:00 -0800
committerChris Luke <chris_luke@comcast.com>2017-12-11 02:41:02 +0000
commitf32cff69f1c48bbb0b8dd563be41b26ab388d188 (patch)
treeeaa5d7f7c3a43d15aff0ed79e7399d3f7b0ee3e9 /src
parent96504182bb5c62838d31887ce48b837759c76552 (diff)
vcl: fix session preallocation
Change-Id: I174ba43380e97104f6721af647c699922e996f5a Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src')
-rw-r--r--src/vcl/vppcom.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vcl/vppcom.c b/src/vcl/vppcom.c
index ad0b7a1cc9c..8ea331ffe8e 100644
--- a/src/vcl/vppcom.c
+++ b/src/vcl/vppcom.c
@@ -557,6 +557,8 @@ vppcom_app_send_attach (void)
bmp->options[SESSION_OPTIONS_ADD_SEGMENT_SIZE] = vcm->cfg.add_segment_size;
bmp->options[SESSION_OPTIONS_RX_FIFO_SIZE] = vcm->cfg.rx_fifo_size;
bmp->options[SESSION_OPTIONS_TX_FIFO_SIZE] = vcm->cfg.tx_fifo_size;
+ bmp->options[APP_OPTIONS_PREALLOC_FIFO_PAIRS] =
+ vcm->cfg.preallocated_fifo_pairs;
if (nsid_len)
{
bmp->namespace_id_len = nsid_len;