MCPcopy Create free account
hub / github.com/F-Stack/f-stack / acl_build_log

Function acl_build_log

dpdk/lib/acl/acl_bld.c:1419–1440  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1417}
1418
1419static void
1420acl_build_log(const struct acl_build_context *ctx)
1421{
1422 uint32_t n;
1423
1424 RTE_LOG(DEBUG, ACL, "Build phase for ACL \"%s\":\n"
1425 "node limit for tree split: %u\n"
1426 "nodes created: %u\n"
1427 "memory consumed: %zu\n",
1428 ctx->acx->name,
1429 ctx->node_max,
1430 ctx->num_nodes,
1431 ctx->pool.alloc);
1432
1433 for (n = 0; n < RTE_DIM(ctx->tries); n++) {
1434 if (ctx->tries[n].count != 0)
1435 RTE_LOG(DEBUG, ACL,
1436 "trie %u: number of rules: %u, indexes: %u\n",
1437 n, ctx->tries[n].count,
1438 ctx->tries[n].num_data_indexes);
1439 }
1440}
1441
1442static int
1443acl_build_rules(struct acl_build_context *bcx)

Callers 1

rte_acl_buildFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected