]> git.droids-corp.org - dpdk.git/blobdiff - examples/vmdq_dcb/main.c
net/mlx5: fix meter policy flow match item
[dpdk.git] / examples / vmdq_dcb / main.c
index 83a6843ee5b0f3bc5b1f42add6c761b4f4299c0c..ba992802e965c2528cff5504b55fcbeb2aba7021 100644 (file)
@@ -699,13 +699,16 @@ main(int argc, char *argv[])
                        rte_exit(EXIT_FAILURE, "Cannot initialize network ports\n");
        }
 
-       /* call lcore_main() on every slave lcore */
+       /* call lcore_main() on every worker lcore */
        i = 0;
-       RTE_LCORE_FOREACH_SLAVE(lcore_id) {
+       RTE_LCORE_FOREACH_WORKER(lcore_id) {
                rte_eal_remote_launch(lcore_main, (void*)i++, lcore_id);
        }
-       /* call on master too */
+       /* call on main too */
        (void) lcore_main((void*)i);
 
+       /* clean up the EAL */
+       rte_eal_cleanup();
+
        return 0;
 }