Lines Matching refs:ut_params

148 static struct rte_hash_parameters ut_params = {  variable
278 ut_params.name = "test1"; in test_add_delete()
279 handle = rte_hash_create(&ut_params); in test_add_delete()
308 ut_params.extra_flag = RTE_HASH_EXTRA_FLAGS_NO_FREE_ON_DEL; in test_add_delete()
309 handle = rte_hash_create(&ut_params); in test_add_delete()
311 ut_params.extra_flag = 0; in test_add_delete()
361 ut_params.name = "test2"; in test_add_update_delete()
362 handle = rte_hash_create(&ut_params); in test_add_update_delete()
427 ut_params.name = "test2"; in test_add_update_delete_free()
428 ut_params.extra_flag = RTE_HASH_EXTRA_FLAGS_NO_FREE_ON_DEL; in test_add_update_delete_free()
429 handle = rte_hash_create(&ut_params); in test_add_update_delete_free()
431 ut_params.extra_flag = 0; in test_add_update_delete_free()
507 extra_flag = ut_params.extra_flag; in test_add_delete_free_lf()
508 ut_params.extra_flag = RTE_HASH_EXTRA_FLAGS_RW_CONCURRENCY_LF; in test_add_delete_free_lf()
509 handle = rte_hash_create(&ut_params); in test_add_delete_free_lf()
511 ut_params.extra_flag = extra_flag; in test_add_delete_free_lf()
518 for (i = 0; i < ut_params.entries + 1; i++) { in test_add_delete_free_lf()
539 extra_flag = ut_params.extra_flag; in test_add_delete_free_lf()
540 ut_params.extra_flag = RTE_HASH_EXTRA_FLAGS_RW_CONCURRENCY_LF | in test_add_delete_free_lf()
542 handle = rte_hash_create(&ut_params); in test_add_delete_free_lf()
544 ut_params.extra_flag = extra_flag; in test_add_delete_free_lf()
552 for (i = 0; i < ut_params.entries + (RTE_MAX_LCORE - 1) * in test_add_delete_free_lf()
604 ut_params.name = "hash_get_key_w_pos"; in test_hash_get_key_with_position()
605 handle = rte_hash_create(&ut_params); in test_hash_get_key_with_position()
626 ut_params.name = "hash_get_key_w_pos"; in test_hash_get_key_with_position()
627 ut_params.extra_flag = RTE_HASH_EXTRA_FLAGS_NO_FREE_ON_DEL; in test_hash_get_key_with_position()
628 handle = rte_hash_create(&ut_params); in test_hash_get_key_with_position()
630 ut_params.extra_flag = 0; in test_hash_get_key_with_position()
673 ut_params.name = "hash_find_existing"; in test_hash_find_existing()
674 handle = rte_hash_create(&ut_params); in test_hash_find_existing()
709 ut_params.name = "test3"; in test_five_keys()
710 handle = rte_hash_create(&ut_params); in test_five_keys()
1347 memcpy(&params, &ut_params, sizeof(params)); in test_hash_creation_with_bad_parameters()
1357 memcpy(&params, &ut_params, sizeof(params)); in test_hash_creation_with_bad_parameters()
1367 memcpy(&params, &ut_params, sizeof(params)); in test_hash_creation_with_bad_parameters()
1377 memcpy(&params, &ut_params, sizeof(params)); in test_hash_creation_with_bad_parameters()
1388 memcpy(&params, &ut_params, sizeof(params)); in test_hash_creation_with_bad_parameters()
1420 memcpy(&params, &ut_params, sizeof(params)); in test_hash_creation_with_good_parameters()
1457 ut_params.entries = 1 << 16; in test_average_table_utilization()
1458 ut_params.name = "test_average_utilization"; in test_average_table_utilization()
1459 ut_params.hash_func = rte_jhash; in test_average_table_utilization()
1461 ut_params.extra_flag |= RTE_HASH_EXTRA_FLAGS_EXT_TABLE; in test_average_table_utilization()
1463 ut_params.extra_flag &= ~RTE_HASH_EXTRA_FLAGS_EXT_TABLE; in test_average_table_utilization()
1465 handle = rte_hash_create(&ut_params); in test_average_table_utilization()
1473 for (i = 0; i < ut_params.key_len; i++) in test_average_table_utilization()
1494 if (cnt != ut_params.entries) { in test_average_table_utilization()
1515 ((double) average_keys_added / ut_params.entries * 100), in test_average_table_utilization()
1516 average_keys_added, ut_params.entries); in test_average_table_utilization()
1535 ut_params.entries = NUM_ENTRIES; in test_hash_iteration()
1536 ut_params.name = "test_hash_iteration"; in test_hash_iteration()
1537 ut_params.hash_func = rte_jhash; in test_hash_iteration()
1538 ut_params.key_len = 16; in test_hash_iteration()
1540 ut_params.extra_flag |= RTE_HASH_EXTRA_FLAGS_EXT_TABLE; in test_hash_iteration()
1542 ut_params.extra_flag &= ~RTE_HASH_EXTRA_FLAGS_EXT_TABLE; in test_hash_iteration()
1544 handle = rte_hash_create(&ut_params); in test_hash_iteration()
1550 for (i = 0; i < ut_params.key_len; i++) in test_hash_iteration()
1566 if (memcmp(next_key, keys[i], ut_params.key_len) == 0) { in test_hash_iteration()
1839 memcpy(&params, &ut_params, sizeof(params)); in test_hash_rcu_qsbr_add()