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

Function rte_acl_reset_rules

dpdk/lib/acl/rte_acl.c:486–491  ·  view source on GitHub ↗

* Reset all rules. * Note that RT structures are not affected. */

Source from the content-addressed store, hash-verified

484 * Note that RT structures are not affected.
485 */
486void
487rte_acl_reset_rules(struct rte_acl_ctx *ctx)
488{
489 if (ctx != NULL)
490 ctx->num_rules = 0;
491}
492
493/*
494 * Reset all rules and destroys RT structures.

Callers 2

rte_acl_resetFunction · 0.85
test_classifyFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_classifyFunction · 0.68