summaryrefslogtreecommitdiffstats
path: root/src/vcl/vcl_cfg.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-08-11 22:05:28 -0700
committerFlorin Coras <fcoras@cisco.com>2020-08-12 07:52:17 -0700
commitff40d8f1b2f4efcf05f21934b423dce8aba8b652 (patch)
tree401f4f9df5f7ea6963456c53e4d03aaf58943d9b /src/vcl/vcl_cfg.c
parenta3a489691d7f2813702fae2d915120743b860d62 (diff)
vcl: mt detection and cleanup
Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I521c110fd4d7445bd585c96d4c768f16a0a7d3b8
Diffstat (limited to 'src/vcl/vcl_cfg.c')
-rw-r--r--src/vcl/vcl_cfg.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/vcl/vcl_cfg.c b/src/vcl/vcl_cfg.c
index a94c874532f..f7e271bbdc9 100644
--- a/src/vcl/vcl_cfg.c
+++ b/src/vcl/vcl_cfg.c
@@ -498,10 +498,11 @@ vppcom_cfg_read_file (char *conf_fname)
VCFG_DBG (0, "VCL<%d>: configured tls-engine %u (0x%x)",
getpid (), vcl_cfg->tls_engine, vcl_cfg->tls_engine);
}
- else if (unformat (line_input, "multi-thread"))
+ else if (unformat (line_input, "multi-thread-workers"))
{
- vcl_cfg->mt_supported = 1;
- VCFG_DBG (0, "VCL<%d>: configured with multithread", getpid ());
+ vcl_cfg->mt_wrk_supported = 1;
+ VCFG_DBG (0, "VCL<%d>: configured with multithread workers",
+ getpid ());
}
else if (unformat (line_input, "}"))
{