]> git.droids-corp.org - dpdk.git/blobdiff - app/test-pipeline/main.c
test/crypto-perf: extend asymmetric crypto throughput test
[dpdk.git] / app / test-pipeline / main.c
index c7be5942fa35a1d4b1c7897278ba827052439cfc..1e16794183a8b356c6e0a71967bcf1fcd8e0029a 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;
        }