summaryrefslogtreecommitdiffstats
path: root/src/vcl/vcl_bapi.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2021-04-07 17:03:01 -0700
committerFlorin Coras <florin.coras@gmail.com>2021-04-08 01:23:04 +0000
commitfda21c97017c1f7bcfa1a0903ca605b89f3148f0 (patch)
tree950f4ee0244c7456ad41fdbcc0b3e32bf3813acd /src/vcl/vcl_bapi.c
parent289c7f590e1ca80dde5638c109c738fe9b8f3eaf (diff)
vcl: use per worker mem bapi context
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I07920a61e64cf1556c6b795d573cbd6a74675c1c
Diffstat (limited to 'src/vcl/vcl_bapi.c')
-rw-r--r--src/vcl/vcl_bapi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vcl/vcl_bapi.c b/src/vcl/vcl_bapi.c
index 618a46d0a7e..23007837365 100644
--- a/src/vcl/vcl_bapi.c
+++ b/src/vcl/vcl_bapi.c
@@ -495,6 +495,7 @@ vcl_bapi_connect_to_vpp (void)
vcl_bapi_cleanup ();
vlibapi_set_main (&wrk->bapi_api_ctx);
+ vlibapi_set_memory_client_main (&wrk->bapi_mem_ctx);
vcl_bapi_hookup ();
if (!vcl_cfg->vpp_bapi_socket_name)