vcl: support multi-threads with session migration
[vpp.git] / src / vcl / vcl_cfg.c
index 2ae9401..a94c874 100644 (file)
@@ -498,6 +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"))
+           {
+             vcl_cfg->mt_supported = 1;
+             VCFG_DBG (0, "VCL<%d>: configured with multithread", getpid ());
+           }
          else if (unformat (line_input, "}"))
            {
              vc_cfg_input = 0;