]> git.droids-corp.org - dpdk.git/blobdiff - app/test-pmd/config.c
eal: rename lcore master and slave
[dpdk.git] / app / test-pmd / config.c
index c76a909c5f1756989427c108aa43727e8d5d831f..1668ae3238ed60a2b9641749178dde254906adc2 100644 (file)
@@ -3456,9 +3456,9 @@ set_fwd_lcores_list(unsigned int *lcorelist, unsigned int nb_lc)
                        printf("lcore %u not enabled\n", lcore_cpuid);
                        return -1;
                }
-               if (lcore_cpuid == rte_get_master_lcore()) {
+               if (lcore_cpuid == rte_get_main_lcore()) {
                        printf("lcore %u cannot be masked on for running "
-                              "packet forwarding, which is the master lcore "
+                              "packet forwarding, which is the main lcore "
                               "and reserved for command line parsing only\n",
                               lcore_cpuid);
                        return -1;