Home
last modified time | relevance | path

Searched refs:number_tbl8s (Results 1 – 25 of 39) sorted by relevance

12

/f-stack/freebsd/contrib/dpdk_rte_lpm/
H A Ddpdk_lpm.c68 uint32_t number_tbl8s; member
320 dd->number_tbl8s = dd_src->number_tbl8s * 2; in estimate_scale()
322 dd->number_tbl8s = dd_src->number_tbl8s; in estimate_scale()
343 struct rte_lpm_config cfg = {.number_tbl8s = dd->number_tbl8s}; in build_table()
354 FIB_PRINTF(LOG_INFO, fd, "allocated %u tbl8s", dd->number_tbl8s); in build_table()
368 dd_base.number_tbl8s = LPM_MIN_TBL8; in init_table()
H A Ddpdk_lpm6.c73 uint32_t number_tbl8s; member
384 dd->number_tbl8s = dd_src->number_tbl8s * 2; in estimate_scale()
386 dd->number_tbl8s = dd_src->number_tbl8s; in estimate_scale()
407 struct rte_lpm6_config cfg = {.number_tbl8s = dd->number_tbl8s}; in build_table()
418 FIB_PRINTF(LOG_INFO, fd, "allocated %u tbl8s", dd->number_tbl8s); in build_table()
432 dd_base.number_tbl8s = LPM6_MIN_TBL8; in init_table()
H A Drte_lpm6.c96 uint32_t number_tbl8s; /**< Number of tbl8s to allocate. */ member
167 for (i = 0; i < lpm->number_tbl8s; i++) in tbl8_pool_init()
179 if (lpm->tbl8_pool_pos == lpm->number_tbl8s) in tbl8_get()
208 return lpm->number_tbl8s - lpm->tbl8_pool_pos; in tbl8_available()
262 config->number_tbl8s > RTE_LPM6_TBL8_MAX_NUM_GROUPS) { in rte_lpm6_create()
292 sizeof(uint32_t) * config->number_tbl8s, in rte_lpm6_create()
303 sizeof(struct rte_lpm_tbl8_hdr) * config->number_tbl8s, in rte_lpm6_create()
316 RTE_LPM6_TBL8_GROUP_NUM_ENTRIES * config->number_tbl8s); in rte_lpm6_create()
355 lpm->number_tbl8s = config->number_tbl8s; in rte_lpm6_create()
1116 * RTE_LPM6_TBL8_GROUP_NUM_ENTRIES * lpm->number_tbl8s);
[all …]
H A Drte_lpm.c155 || config->number_tbl8s > RTE_LPM_MAX_TBL8_NUM_GROUPS) { in rte_lpm_create()
166 RTE_LPM_TBL8_GROUP_NUM_ENTRIES * config->number_tbl8s); in rte_lpm_create()
230 lpm->number_tbl8s = config->number_tbl8s; in rte_lpm_create()
422 tbl8_alloc(struct rte_lpm_tbl_entry *tbl8, uint32_t number_tbl8s) in tbl8_alloc() argument
428 for (group_idx = 0; group_idx < number_tbl8s; group_idx++) { in tbl8_alloc()
551 tbl8_group_index = tbl8_alloc(lpm->tbl8, lpm->number_tbl8s); in add_depth_big()
597 tbl8_group_index = tbl8_alloc(lpm->tbl8, lpm->number_tbl8s); in add_depth_big()
1103 * RTE_LPM_TBL8_GROUP_NUM_ENTRIES * lpm->number_tbl8s); in rte_lpm_delete_all()
H A Ddpdk_lpm6.h44 uint32_t number_tbl8s; /**< Number of tbl8s to allocate. */ member
H A Drte_lpm.h107 uint32_t number_tbl8s; /**< Number of tbl8s to allocate. */ member
136 uint32_t number_tbl8s; /**< Number of tbl8s. */ member
H A Drte_lpm6.h35 uint32_t number_tbl8s; /**< Number of tbl8s to allocate. */ member
/f-stack/dpdk/app/test/
H A Dtest_lpm6.c129 config.number_tbl8s = NUMBER_TBL8S; in test0()
171 config.number_tbl8s = NUMBER_TBL8S; in test1()
203 config.number_tbl8s = NUMBER_TBL8S; in test2()
232 config.number_tbl8s = NUMBER_TBL8S; in test3()
257 config.number_tbl8s = NUMBER_TBL8S; in test4()
295 config.number_tbl8s = NUMBER_TBL8S; in test5()
333 config.number_tbl8s = NUMBER_TBL8S; in test6()
371 config.number_tbl8s = NUMBER_TBL8S; in test7()
539 config.number_tbl8s = 16; in test11()
600 config.number_tbl8s = 16; in test12()
[all …]
H A Dtest_lpm.c90 config.number_tbl8s = NUMBER_TBL8S; in test0()
121 config.number_tbl8s = NUMBER_TBL8S; in test1()
151 config.number_tbl8s = NUMBER_TBL8S; in test2()
172 config.number_tbl8s = NUMBER_TBL8S; in test3()
210 config.number_tbl8s = NUMBER_TBL8S; in test4()
249 config.number_tbl8s = NUMBER_TBL8S; in test5()
283 config.number_tbl8s = NUMBER_TBL8S; in test6()
322 config.number_tbl8s = NUMBER_TBL8S; in test7()
373 config.number_tbl8s = NUMBER_TBL8S; in test8()
1364 config.number_tbl8s = 1; in test20()
[all …]
H A Dtest_mp_secondary.c185 config.number_tbl8s = 256; in run_object_creation_tests()
H A Dtest_lpm6_perf.c65 config.number_tbl8s = NUMBER_TBL8S; in test_lpm6_perf()
H A Dtest_table_tables.c301 .number_tbl8s = 1 << 8, in test_table_lpm()
467 .number_tbl8s = 1 << 18, in test_table_lpm_ipv6()
490 lpm_params.number_tbl8s = 0; in test_table_lpm_ipv6()
495 lpm_params.number_tbl8s = 1 << 18; in test_table_lpm_ipv6()
/f-stack/dpdk/lib/librte_lpm/
H A Drte_lpm6.c103 uint32_t number_tbl8s; /**< Number of tbl8s to allocate. */ member
172 for (i = 0; i < lpm->number_tbl8s; i++) in tbl8_pool_init()
184 if (lpm->tbl8_pool_pos == lpm->number_tbl8s) in tbl8_get()
213 return lpm->number_tbl8s - lpm->tbl8_pool_pos; in tbl8_available()
266 config->number_tbl8s > RTE_LPM6_TBL8_MAX_NUM_GROUPS) { in rte_lpm6_create()
294 sizeof(uint32_t) * config->number_tbl8s, in rte_lpm6_create()
305 sizeof(struct rte_lpm_tbl8_hdr) * config->number_tbl8s, in rte_lpm6_create()
318 RTE_LPM6_TBL8_GROUP_NUM_ENTRIES * config->number_tbl8s); in rte_lpm6_create()
355 lpm->number_tbl8s = config->number_tbl8s; in rte_lpm6_create()
1095 * RTE_LPM6_TBL8_GROUP_NUM_ENTRIES * lpm->number_tbl8s); in rte_lpm6_delete_bulk_func()
[all …]
H A Drte_lpm.c63 uint32_t number_tbl8s; /**< Number of tbl8s. */ member
169 || config->number_tbl8s > RTE_LPM_MAX_TBL8_NUM_GROUPS) { in rte_lpm_create()
194 RTE_LPM_TBL8_GROUP_NUM_ENTRIES * config->number_tbl8s; in rte_lpm_create()
241 i_lpm->number_tbl8s = config->number_tbl8s; in rte_lpm_create()
334 params.size = i_lpm->number_tbl8s; in rte_lpm_rcu_qsbr_add()
506 for (group_idx = 0; group_idx < i_lpm->number_tbl8s; group_idx++) { in _tbl8_alloc()
1221 * RTE_LPM_TBL8_GROUP_NUM_ENTRIES * i_lpm->number_tbl8s); in rte_lpm_delete_all()
H A Drte_lpm6.h31 uint32_t number_tbl8s; /**< Number of tbl8s to allocate. */ member
/f-stack/dpdk/lib/librte_table/
H A Drte_table_lpm.h58 uint32_t number_tbl8s; member
H A Drte_table_lpm_ipv6.h59 uint32_t number_tbl8s; member
H A Drte_table_lpm_ipv6.c69 if (p->number_tbl8s == 0) { in rte_table_lpm_ipv6_create()
104 lpm6_config.number_tbl8s = p->number_tbl8s; in rte_table_lpm_ipv6_create()
H A Drte_table_lpm.c71 if (p->number_tbl8s == 0) { in rte_table_lpm_create()
106 lpm_config.number_tbl8s = p->number_tbl8s; in rte_table_lpm_create()
/f-stack/dpdk/lib/librte_fib/
H A Ddir24_8.c158 for (i = 0; (i < (dp->number_tbl8s >> BITMAP_SLAB_BIT_SIZE_LOG2)) && in tbl8_get_idx()
161 if (i < (dp->number_tbl8s >> BITMAP_SLAB_BIT_SIZE_LOG2)) { in tbl8_get_idx()
449 (dp->rsvd_tbl8s >= dp->number_tbl8s)) in dir24_8_modify()
549 dp->number_tbl8s = num_tbl8; in dir24_8_create()
553 RTE_ALIGN_CEIL(dp->number_tbl8s, 64) >> 3, in dir24_8_create()
H A Dtrie.c129 for (i = 0; i < dp->number_tbl8s; i++) in tbl8_pool_init()
141 if (dp->tbl8_pool_pos == dp->number_tbl8s) in tbl8_get()
561 dp->number_tbl8s - depth_diff)) in trie_modify()
657 dp->number_tbl8s = num_tbl8; in trie_create()
661 sizeof(uint32_t) * dp->number_tbl8s, in trie_create()
H A Dtrie.h36 uint32_t number_tbl8s; /**< Total number of tbl8s */ member
/f-stack/dpdk/examples/ipsec-secgw/
H A Drt.c155 conf.number_tbl8s = RTE_LPM_TBL8_NUM_ENTRIES; in rt_init()
177 conf6.number_tbl8s = RTE_LPM_TBL8_NUM_ENTRIES; in rt_init()
/f-stack/dpdk/app/test-pipeline/
H A Dpipeline_lpm.c91 .number_tbl8s = PIPELINE_LPM_TABLE_NUMBER_TABLE8s, in app_main_loop_worker_pipeline_lpm()
H A Dpipeline_lpm_ipv6.c88 .number_tbl8s = 1 << 21, in app_main_loop_worker_pipeline_lpm_ipv6()

12