summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vcl/test/test_vcl.py4
-rw-r--r--src/vnet/session/session.c1
2 files changed, 3 insertions, 2 deletions
diff --git a/src/vcl/test/test_vcl.py b/src/vcl/test/test_vcl.py
index ea57c90be2e..37ede7b6979 100644
--- a/src/vcl/test/test_vcl.py
+++ b/src/vcl/test/test_vcl.py
@@ -86,7 +86,7 @@ class VCLTestCase(VppTestCase):
self.vapi.session_enable_disable(is_enabled=0)
def cut_thru_test(self, server_app, server_args, client_app, client_args):
- self.env = {'VCL_API_PREFIX': self.shm_prefix,
+ self.env = {'VCL_VPP_API_SOCKET': self.api_sock,
'VCL_APP_SCOPE_LOCAL': "true"}
worker_server = VCLAppWorker(self.build_dir, server_app, server_args,
self.logger, self.env)
@@ -191,7 +191,7 @@ class VCLTestCase(VppTestCase):
@unittest.skipUnless(_have_iperf3, "'%s' not found, Skipping.")
def thru_host_stack_test(self, server_app, server_args,
client_app, client_args):
- self.env = {'VCL_API_PREFIX': self.shm_prefix,
+ self.env = {'VCL_VPP_API_SOCKET': self.api_sock,
'VCL_APP_SCOPE_GLOBAL': "true",
'VCL_APP_NAMESPACE_ID': "1",
'VCL_APP_NAMESPACE_SECRET': "1234"}
diff --git a/src/vnet/session/session.c b/src/vnet/session/session.c
index 18850cc1ba2..0b489882766 100644
--- a/src/vnet/session/session.c
+++ b/src/vnet/session/session.c
@@ -1818,6 +1818,7 @@ session_main_init (vlib_main_t * vm)
#endif
smm->last_transport_proto_type = TRANSPORT_PROTO_QUIC;
+ smm->evt_qs_use_memfd_seg = 1;
return 0;
}