reorder: fix unit test for random starting point
[dpdk.git] / app / test / test_hash_scaling.c
index 682ae94..744e5e3 100644 (file)
@@ -129,11 +129,11 @@ test_hash_scaling(int locking_mode)
        uint64_t i, key;
        struct rte_hash_parameters hash_params = {
                .entries = num_iterations*2,
-               .bucket_entries = 16,
                .key_len = sizeof(key),
                .hash_func = rte_hash_crc,
                .hash_func_init_val = 0,
                .socket_id = rte_socket_id(),
+               .extra_flag = RTE_HASH_EXTRA_FLAGS_TRANS_MEM_SUPPORT
        };
        struct rte_hash *handle;
        char name[RTE_HASH_NAMESIZE];