]> git.droids-corp.org - dpdk.git/blobdiff - examples/qos_sched/main.c
crypto/octeontx2: support CN98xx
[dpdk.git] / examples / qos_sched / main.c
index c0ed16b68f8673ba9e653398c9c758f41e7cbbf9..a6071b991c76e2539aa6c263c628a38166f908ec 100644 (file)
@@ -29,7 +29,7 @@ uint32_t qavg_ntimes = APP_QAVG_NTIMES;
 
 /* main processing loop */
 static int
-app_main_loop(__attribute__((unused))void *dummy)
+app_main_loop(__rte_unused void *dummy)
 {
        uint32_t lcore_id;
        uint32_t i, mode;
@@ -204,7 +204,7 @@ main(int argc, char **argv)
                return -1;
 
        /* launch per-lcore init on every lcore */
-       rte_eal_mp_remote_launch(app_main_loop, NULL, SKIP_MASTER);
+       rte_eal_mp_remote_launch(app_main_loop, NULL, SKIP_MAIN);
 
        if (interactive) {
                sleep(1);