* Dump ACL context to the stdout. */
| 506 | * Dump ACL context to the stdout. |
| 507 | */ |
| 508 | void |
| 509 | rte_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. |