X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=app%2Ftest%2Ftest_efd_perf.c;h=f3fe3b17366f00d73274e9f90d265d1c5e093f4e;hb=88caad251c8de3a84e353b0b2a27014bc303df87;hp=d47622d5cafd513c7e892438ae5331908ad766ae;hpb=d170527643bcee1ef35390d8ac57ddccf6621b82;p=dpdk.git diff --git a/app/test/test_efd_perf.c b/app/test/test_efd_perf.c index d47622d5ca..f3fe3b1736 100644 --- a/app/test/test_efd_perf.c +++ b/app/test/test_efd_perf.c @@ -29,11 +29,11 @@ #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);