Home
last modified time | relevance | path

Searched refs:TOTAL_ENTRY (Results 1 – 4 of 4) sorted by relevance

/f-stack/dpdk/app/test/
H A Dtest_rcu_qsbr_perf.c23 #define TOTAL_ENTRY (1024 * 8) macro
25 static uint32_t *hash_data[TOTAL_ENTRY];
303 for (i = 0; i < TOTAL_ENTRY; i++) { in test_rcu_qsbr_hash_reader()
335 .entries = TOTAL_ENTRY, in init_hash()
351 for (i = 0; i < TOTAL_ENTRY; i++) { in init_hash()
365 for (i = 0; i < TOTAL_ENTRY; i++) in init_hash()
368 for (i = 0; i < TOTAL_ENTRY; i++) { in init_hash()
426 for (i = 0; i < TOTAL_ENTRY; i++) { in test_rcu_qsbr_sw_sv_1qs()
488 for (i = 0; i < TOTAL_ENTRY; i++) in test_rcu_qsbr_sw_sv_1qs()
541 for (i = 0; i < TOTAL_ENTRY; i++) { in test_rcu_qsbr_sw_sv_1qs_non_blocking()
[all …]
H A Dtest_rcu_qsbr.c45 #define TOTAL_ENTRY (1024 * 8) macro
47 static uint32_t *hash_data[RTE_MAX_LCORE][TOTAL_ENTRY];
979 for (i = 0; i < TOTAL_ENTRY; i++) { in test_rcu_qsbr_reader()
1013 del = rte_lcore_id() % TOTAL_ENTRY; in test_rcu_qsbr_writer()
1050 .entries = TOTAL_ENTRY, in init_hash()
1066 for (i = 0; i < TOTAL_ENTRY; i++) { in init_hash()
1074 keys = rte_malloc(NULL, sizeof(uint32_t) * TOTAL_ENTRY, 0); in init_hash()
1080 for (i = 0; i < TOTAL_ENTRY; i++) in init_hash()
1083 for (i = 0; i < TOTAL_ENTRY; i++) { in init_hash()
1233 for (i = 0; i < TOTAL_ENTRY; i++) in test_rcu_qsbr_sw_sv_3qs()
[all …]
H A Dtest_hash_readwrite.c21 #define TOTAL_ENTRY (5*1024*1024) macro
133 .entries = TOTAL_ENTRY, in init_params()
170 keys = rte_malloc(NULL, sizeof(uint32_t) * TOTAL_ENTRY, 0); in init_params()
177 found = rte_zmalloc(NULL, sizeof(uint8_t) * TOTAL_ENTRY, 0); in init_params()
186 for (i = 0; i < TOTAL_ENTRY; i++) in init_params()
542 memset(tbl_rw_test_param.found, 0, TOTAL_ENTRY); in test_hash_readwrite_perf()
H A Dtest_hash_readwrite_lf_perf.c29 #define TOTAL_ENTRY (5*1024) macro
34 #define TOTAL_ENTRY (4*1024*1024) macro
112 num_buckets = rte_align32pow2(TOTAL_ENTRY) / 8; in get_prim_bucket_index()
123 num_buckets = rte_align32pow2(TOTAL_ENTRY) / 8; in get_alt_bucket_index()
154 .entries = TOTAL_ENTRY, in init_params()
373 num_buckets = rte_align32pow2(TOTAL_ENTRY) / 8; in generate_keys()