examples/ip_pipeline: add thread runtime
[dpdk.git] / examples / ip_pipeline / main.c
index 45f0739..a69face 100644 (file)
@@ -8,6 +8,7 @@
 #include <unistd.h>
 #include <getopt.h>
 
+#include <rte_launch.h>
 #include <rte_eal.h>
 
 #include "cli.h"
@@ -237,6 +238,11 @@ main(int argc, char **argv)
                return status;
        }
 
+       rte_eal_mp_remote_launch(
+               thread_main,
+               NULL,
+               SKIP_MASTER);
+
        /* Script */
        if (app.script_name)
                cli_script_process(app.script_name,