| /f-stack/freebsd/contrib/dpdk_rte_lpm/ |
| H A D | dpdk_lpm.c | 68 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 D | dpdk_lpm6.c | 73 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 D | rte_lpm6.c | 96 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 D | rte_lpm.c | 155 || 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 D | dpdk_lpm6.h | 44 uint32_t number_tbl8s; /**< Number of tbl8s to allocate. */ member
|
| H A D | rte_lpm.h | 107 uint32_t number_tbl8s; /**< Number of tbl8s to allocate. */ member 136 uint32_t number_tbl8s; /**< Number of tbl8s. */ member
|
| H A D | rte_lpm6.h | 35 uint32_t number_tbl8s; /**< Number of tbl8s to allocate. */ member
|
| /f-stack/dpdk/app/test/ |
| H A D | test_lpm6.c | 129 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 D | test_lpm.c | 90 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 D | test_mp_secondary.c | 185 config.number_tbl8s = 256; in run_object_creation_tests()
|
| H A D | test_lpm6_perf.c | 65 config.number_tbl8s = NUMBER_TBL8S; in test_lpm6_perf()
|
| H A D | test_table_tables.c | 301 .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 D | rte_lpm6.c | 103 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 D | rte_lpm.c | 63 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 D | rte_lpm6.h | 31 uint32_t number_tbl8s; /**< Number of tbl8s to allocate. */ member
|
| /f-stack/dpdk/lib/librte_table/ |
| H A D | rte_table_lpm.h | 58 uint32_t number_tbl8s; member
|
| H A D | rte_table_lpm_ipv6.h | 59 uint32_t number_tbl8s; member
|
| H A D | rte_table_lpm_ipv6.c | 69 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 D | rte_table_lpm.c | 71 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 D | dir24_8.c | 158 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 D | trie.c | 129 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 D | trie.h | 36 uint32_t number_tbl8s; /**< Total number of tbl8s */ member
|
| /f-stack/dpdk/examples/ipsec-secgw/ |
| H A D | rt.c | 155 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 D | pipeline_lpm.c | 91 .number_tbl8s = PIPELINE_LPM_TABLE_NUMBER_TABLE8s, in app_main_loop_worker_pipeline_lpm()
|
| H A D | pipeline_lpm_ipv6.c | 88 .number_tbl8s = 1 << 21, in app_main_loop_worker_pipeline_lpm_ipv6()
|