test/crypto-perf: extend asymmetric crypto throughput test
[dpdk.git] / app / test-pipeline / main.c
index c7be594..1e16794 100644 (file)
@@ -22,7 +22,6 @@
 #include <rte_eal.h>
 #include <rte_per_lcore.h>
 #include <rte_launch.h>
-#include <rte_atomic.h>
 #include <rte_cycles.h>
 #include <rte_prefetch.h>
 #include <rte_lcore.h>
@@ -66,8 +65,8 @@ main(int argc, char **argv)
        app_init();
 
        /* Launch per-lcore init on every lcore */
-       rte_eal_mp_remote_launch(app_lcore_main_loop, NULL, CALL_MASTER);
-       RTE_LCORE_FOREACH_SLAVE(lcore) {
+       rte_eal_mp_remote_launch(app_lcore_main_loop, NULL, CALL_MAIN);
+       RTE_LCORE_FOREACH_WORKER(lcore) {
                if (rte_eal_wait_lcore(lcore) < 0)
                        return -1;
        }