* Reset all rules and destroys RT structures. */
| 494 | * Reset all rules and destroys RT structures. |
| 495 | */ |
| 496 | void |
| 497 | rte_acl_reset(struct rte_acl_ctx *ctx) |
| 498 | { |
| 499 | if (ctx != NULL) { |
| 500 | rte_acl_reset_rules(ctx); |
| 501 | rte_acl_build(ctx, &ctx->config); |
| 502 | } |
| 503 | } |
| 504 | |
| 505 | /* |
| 506 | * Dump ACL context to the stdout. |