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

Function rte_acl_dump

dpdk/lib/acl/rte_acl.c:508–522  ·  view source on GitHub ↗

* Dump ACL context to the stdout. */

Source from the content-addressed store, hash-verified

506 * Dump ACL context to the stdout.
507 */
508void
509rte_acl_dump(const struct rte_acl_ctx *ctx)
510{
511 if (!ctx)
512 return;
513 printf("acl context <%s>@%p\n", ctx->name, ctx);
514 printf(" socket_id=%"PRId32"\n", ctx->socket_id);
515 printf(" alg=%"PRId32"\n", ctx->alg);
516 printf(" first_load_sz=%"PRIu32"\n", ctx->first_load_sz);
517 printf(" max_rules=%"PRIu32"\n", ctx->max_rules);
518 printf(" rule_size=%"PRIu32"\n", ctx->rule_sz);
519 printf(" num_rules=%"PRIu32"\n", ctx->num_rules);
520 printf(" num_categories=%"PRIu32"\n", ctx->num_categories);
521 printf(" num_tries=%"PRIu32"\n", ctx->num_tries);
522}
523
524/*
525 * Dump all ACL contexts to the stdout.

Callers 7

rte_acl_list_dumpFunction · 0.85
test_invalid_parametersFunction · 0.85
test_miscFunction · 0.85
acx_initFunction · 0.85
app_acl_initFunction · 0.85
acl6_initFunction · 0.85
acl4_initFunction · 0.85

Calls 1

printfFunction · 0.50

Tested by 2

test_invalid_parametersFunction · 0.68
test_miscFunction · 0.68