Home
last modified time | relevance | path

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

/dpdk/app/test/
H A Dtest_acl.c417 if (acx == NULL) { in test_classify()
458 rte_acl_free(acx); in test_classify()
551 if (acx == NULL) { in test_build_ports_range()
594 rte_acl_free(acx); in test_build_ports_range()
922 if (acx == NULL) { in test_convert_rules()
948 rte_acl_free(acx); in test_convert_rules()
1042 if (acx == NULL) { in test_invalid_layout()
1116 rte_acl_free(acx); in test_invalid_layout()
1127 rte_acl_free(acx); in test_invalid_layout()
1170 if (tmp != acx) { in test_create_find_add()
[all …]
/dpdk/app/test-acl/
H A Dmain.c113 struct rte_acl_ctx *acx; member
821 config.acx = rte_acl_create(&prm); in acx_init()
822 if (config.acx == NULL) in acx_init()
827 ret = rte_acl_set_ctx_classify(config.acx, config.alg.alg); in acx_init()
839 ret = add_cb_rules(f, config.acx); in acx_init()
846 ret = rte_acl_build(config.acx, &cfg); in acx_init()
852 rte_acl_dump(config.acx); in acx_init()
876 ret = rte_acl_classify(config.acx, data, results, in search_ip5tuples_once()
1141 rte_acl_free(config.acx); in main()
/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 …]
/dpdk/lib/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()