]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_pdump.c
net/sfc: rename array of SW stats descriptions
[dpdk.git] / app / test / test_pdump.c
index 6a1180bcb78e8fa07025acc4401e5a06f035162c..b49fcfb3f18f8b88e02ba95914d17c73c75acdf1 100644 (file)
@@ -6,7 +6,7 @@
 #include <stdint.h>
 #include <limits.h>
 
-#include <rte_ethdev_driver.h>
+#include <ethdev_driver.h>
 #include <rte_pdump.h>
 #include "rte_eal.h"
 #include "rte_lcore.h"
@@ -184,7 +184,7 @@ run_pdump_server_tests(void)
        };
 
        snprintf(coremask, sizeof(coremask), "%x",
-                (1 << rte_get_master_lcore()));
+                (1 << rte_get_main_lcore()));
 
        ret = test_pdump_init();
        ret |= launch_p(argv1);