Home
last modified time | relevance | path

Searched refs:trie (Results 1 – 16 of 16) sorted by relevance

/dpdk/lib/acl/
H A Dacl_run.h40 uint32_t trie; member
136 parms[n].data_index = ctx->trie[flows->trie].data_index; in acl_start_next_trie()
139 if (flows->trie == 0) { in acl_start_next_trie()
150 ctx->trie[flows->trie].root_index]; in acl_start_next_trie()
156 flows->trie++; in acl_start_next_trie()
157 if (flows->trie >= ctx->num_tries) { in acl_start_next_trie()
158 flows->trie = 0; in acl_start_next_trie()
181 flows->trie = 0; in acl_set_flow()
H A Dacl_gen.c430 acl_count_trie_types(counts, node_bld_trie[n].trie, in acl_calc_counts_indices()
448 rte_acl_gen(struct rte_acl_ctx *ctx, struct rte_acl_trie *trie, in rte_acl_gen() argument
510 acl_gen_node(node_bld_trie[n].trie, node_array, no_match, in rte_acl_gen()
513 if (node_bld_trie[n].trie->node_index == no_match) in rte_acl_gen()
514 trie[n].root_index = 0; in rte_acl_gen()
516 trie[n].root_index = node_bld_trie[n].trie->node_index; in rte_acl_gen()
528 memcpy(ctx->trie, trie, sizeof(ctx->trie)); in rte_acl_gen()
H A Dacl_run_avx512.c23 uint32_t trie, const uint8_t *data[], uint32_t *matches, in acl_set_flow_avx512() argument
29 flow->root_index = ctx->trie[trie].root_index; in acl_set_flow_avx512()
31 flow->data_index = ctx->trie[trie].data_index; in acl_set_flow_avx512()
H A Dacl.h163 struct rte_acl_node *trie; member
184 struct rte_acl_trie trie[RTE_ACL_MAX_TRIES]; member
190 int rte_acl_gen(struct rte_acl_ctx *ctx, struct rte_acl_trie *trie,
H A Dacl_bld.c947 struct rte_acl_node *trie; in build_trie() local
956 trie = acl_alloc_node(context, 0); in build_trie()
1052 if (acl_merge_trie(context, trie, root, 0, NULL)) in build_trie()
1058 return trie; in build_trie()
1066 return trie; in build_trie()
1353 context->bld_tries[n].trie = NULL; in acl_build_tries()
1367 if (context->bld_tries[n].trie == NULL) { in acl_build_tries()
1386 acl_free_node(context, context->bld_tries[n].trie); in acl_build_tries()
1486 n = ctx->trie[i].num_data_indexes; in acl_set_data_indexes()
1487 memcpy(ctx->data_indexes + ofs, ctx->trie[i].data_index, in acl_set_data_indexes()
[all …]
/dpdk/app/test/
H A Dtest_fib6.c91 config.trie.num_tbl8 = MAX_TBL8; in test_create_invalid()
93 config.trie.nh_sz = RTE_FIB6_TRIE_8B + 1; in test_create_invalid()
97 config.trie.nh_sz = RTE_FIB6_TRIE_8B; in test_create_invalid()
99 config.trie.num_tbl8 = 0; in test_create_invalid()
376 config.trie.nh_sz = RTE_FIB6_TRIE_2B; in test_lookup()
377 config.trie.num_tbl8 = MAX_TBL8 - 1; in test_lookup()
385 config.trie.nh_sz = RTE_FIB6_TRIE_4B; in test_lookup()
386 config.trie.num_tbl8 = MAX_TBL8; in test_lookup()
394 config.trie.nh_sz = RTE_FIB6_TRIE_8B; in test_lookup()
395 config.trie.num_tbl8 = MAX_TBL8; in test_lookup()
H A Dtest_fib6_perf.c94 conf.trie.nh_sz = RTE_FIB6_TRIE_4B; in test_fib6_perf()
95 conf.trie.num_tbl8 = RTE_MIN(get_max_nh(conf.trie.nh_sz), 1000000U); in test_fib6_perf()
/dpdk/lib/fib/
H A Dtrie.c614 (conf->trie.nh_sz < RTE_FIB6_TRIE_2B) || in trie_create()
615 (conf->trie.nh_sz > RTE_FIB6_TRIE_8B) || in trie_create()
616 (conf->trie.num_tbl8 > in trie_create()
617 get_max_nh(conf->trie.nh_sz)) || in trie_create()
618 (conf->trie.num_tbl8 == 0) || in trie_create()
620 get_max_nh(conf->trie.nh_sz))) { in trie_create()
627 nh_sz = conf->trie.nh_sz; in trie_create()
628 num_tbl8 = conf->trie.num_tbl8; in trie_create()
H A Drte_fib6.h79 } trie; member
H A Dmeson.build11 sources = files('rte_fib.c', 'rte_fib6.c', 'dir24_8.c', 'trie.c')
/dpdk/app/test-fib/
H A Dmain.c1067 conf.trie.nh_sz = __builtin_ctz(config.ent_sz); in run_v6()
1068 conf.trie.num_tbl8 = RTE_MIN(config.tbl8, in run_v6()
1069 get_max_nh(conf.trie.nh_sz)); in run_v6()
1111 lpm_conf.number_tbl8s = RTE_MAX(conf.trie.num_tbl8, in run_v6()
/dpdk/examples/l3fwd/
H A Dl3fwd_fib.c657 config.trie.nh_sz = RTE_FIB6_TRIE_4B; in setup_fib()
658 config.trie.num_tbl8 = (1 << 15); in setup_fib()
/dpdk/doc/guides/prog_guide/
H A Dlpm6_lib.rst18 * Number of tbl8s: A tbl8 is a node of the trie that the LPM6 algorithm is based on.
54 The implementation can be seen as a multi-bit trie where the *stride*
57 This effectively means that the trie has 14 levels at the most, depending on the rules that are add…
H A Dpacket_classif_access_ctrl.rst321 rule-set into several non-intersecting subsets and construct a separate trie
/dpdk/doc/guides/sample_app_ug/
H A Dl3_forward_access_ctrl.rst205 …Call the ACL library function to add the rules into the database and compile them as a trie of pat…
338 adds rules parsed from the file into the database and build an ACL trie.
/dpdk/doc/guides/rel_notes/
H A Drelease_2_1.rst395 an ambiguity in building the trie and test results.
404 * **acl: Fix unneeded trie splitting for subset of rules.**
406 When rebuilding a trie for limited rule-set, don't try to split the rule-set