]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_efd_perf.c
net/sfc: rename array of SW stats descriptions
[dpdk.git] / app / test / test_efd_perf.c
index d47622d5cafd513c7e892438ae5331908ad766ae..f3fe3b17366f00d73274e9f90d265d1c5e093f4e 100644 (file)
 #endif
 static unsigned int test_socket_id;
 
-static inline uint8_t efd_get_all_sockets_bitmask(void)
+static inline uint64_t efd_get_all_sockets_bitmask(void)
 {
-       uint8_t all_cpu_sockets_bitmask = 0;
+       uint64_t all_cpu_sockets_bitmask = 0;
        unsigned int i;
-       unsigned int next_lcore = rte_get_master_lcore();
+       unsigned int next_lcore = rte_get_main_lcore();
        const int val_true = 1, val_false = 0;
        for (i = 0; i < rte_lcore_count(); i++) {
                all_cpu_sockets_bitmask |= 1 << rte_lcore_to_socket_id(next_lcore);