]> git.droids-corp.org - dpdk.git/blobdiff - test/test/test_hash_multiwriter.c
net/i40e: cancel alarm handler at the end of closure
[dpdk.git] / test / test / test_hash_multiwriter.c
index 6a3eb10bd1785a33d2d2072d6a666b5815a16d9a..d447f6dca3301a2d4ea8386e7bcd93f6202615cb 100644 (file)
@@ -12,6 +12,7 @@
 #include <rte_malloc.h>
 #include <rte_random.h>
 #include <rte_spinlock.h>
+#include <rte_jhash.h>
 
 #include "test.h"
 
@@ -108,7 +109,7 @@ test_hash_multiwriter(void)
        struct rte_hash_parameters hash_params = {
                .entries = nb_entries,
                .key_len = sizeof(uint32_t),
-               .hash_func = rte_hash_crc,
+               .hash_func = rte_jhash,
                .hash_func_init_val = 0,
                .socket_id = rte_socket_id(),
        };