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

Function rte_acl_reset

dpdk/lib/acl/rte_acl.c:496–503  ·  view source on GitHub ↗

* Reset all rules and destroys RT structures. */

Source from the content-addressed store, hash-verified

494 * Reset all rules and destroys RT structures.
495 */
496void
497rte_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.

Callers 2

test_classifyFunction · 0.85
test_build_ports_rangeFunction · 0.85

Calls 2

rte_acl_reset_rulesFunction · 0.85
rte_acl_buildFunction · 0.85

Tested by 2

test_classifyFunction · 0.68
test_build_ports_rangeFunction · 0.68