Home
last modified time | relevance | path

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

/f-stack/dpdk/app/test/
H A Dtest_acl.c407 if (acx == NULL) { in test_classify()
448 rte_acl_free(acx); in test_classify()
541 if (acx == NULL) { in test_build_ports_range()
584 rte_acl_free(acx); in test_build_ports_range()
912 if (acx == NULL) { in test_convert_rules()
938 rte_acl_free(acx); in test_convert_rules()
1032 if (acx == NULL) { in test_invalid_layout()
1106 rte_acl_free(acx); in test_invalid_layout()
1117 rte_acl_free(acx); in test_invalid_layout()
1160 if (tmp != acx) { in test_create_find_add()
[all …]
/f-stack/dpdk/app/test-acl/
H A Dmain.c111 struct rte_acl_ctx *acx; member
788 config.acx = rte_acl_create(&prm); in acx_init()
789 if (config.acx == NULL) in acx_init()
794 ret = rte_acl_set_ctx_classify(config.acx, config.alg.alg); in acx_init()
806 ret = add_cb_rules(f, config.acx); in acx_init()
813 ret = rte_acl_build(config.acx, &cfg); in acx_init()
819 rte_acl_dump(config.acx); in acx_init()
843 ret = rte_acl_classify(config.acx, data, results, in search_ip5tuples_once()
1108 rte_acl_free(config.acx); in main()
/f-stack/dpdk/doc/guides/prog_guide/
H A Dpacket_classif_access_ctrl.rst340 struct rte_acl_ctx * acx;
345 * assuming that acx points to already created and
351 ret = rte_acl_build(acx, &cfg);
359 ret = rte_acl_build(acx, &cfg);
417 struct rte_acl_ctx * acx;
486 if ((acx = rte_acl_create(&prm)) == NULL) {
494 ret = rte_acl_add_rules(acx, acl_rules, RTE_DIM(acl_rules));
508 ret = rte_acl_build(acx, &cfg);
520 rte_acl_classify(acx, data, results, 1, 4);
544 rte_acl_classify(acx, data, results, 1, 4);
[all …]
/f-stack/dpdk/lib/librte_acl/
H A Dacl_bld.c67 const struct rte_acl_ctx *acx; member
1422 ctx->acx->name, in acl_build_log()
1446 n = bcx->acx->num_rules; in acl_build_rules()
1458 ((uintptr_t)bcx->acx->rules + bcx->acx->rule_sz * i); in acl_build_rules()
1508 bcx->acx = ctx; in acl_bld()
1522 bcx->acx->name, __func__, rc); in acl_bld()