]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_efd.c
test/threads: add unit test
[dpdk.git] / app / test / test_efd.c
index 7bea674086b9fa53ae1e23d9b309e2e03ebacbed..fa29e8f97aa3b6ace8cec956f76e9e489205fb63 100644 (file)
@@ -107,7 +107,7 @@ static inline uint64_t efd_get_all_sockets_bitmask(void)
        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);
+               all_cpu_sockets_bitmask |= 1ULL << rte_lcore_to_socket_id(next_lcore);
                next_lcore = rte_get_next_lcore(next_lcore, val_false, val_true);
        }