test/crypto-perf: extend asymmetric crypto throughput test
[dpdk.git] / app / test-pipeline / main.c
index 0be02ac..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;
        }
@@ -76,7 +75,7 @@ main(int argc, char **argv)
 }
 
 int
-app_lcore_main_loop(__attribute__((unused)) void *arg)
+app_lcore_main_loop(__rte_unused void *arg)
 {
        unsigned lcore;
 
@@ -126,7 +125,7 @@ app_lcore_main_loop(__attribute__((unused)) void *arg)
                        return 0;
 
                case e_APP_PIPELINE_ACL:
-#ifndef RTE_LIBRTE_ACL
+#ifndef RTE_LIB_ACL
                        rte_exit(EXIT_FAILURE, "ACL not present in build\n");
 #else
                        app_main_loop_worker_pipeline_acl();