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

Function rte_acl_classify_alg

dpdk/lib/acl/rte_acl.c:285–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283}
284
285int
286rte_acl_classify_alg(const struct rte_acl_ctx *ctx, const uint8_t **data,
287 uint32_t *results, uint32_t num, uint32_t categories,
288 enum rte_acl_classify_alg alg)
289{
290 if (categories != 1 &&
291 ((RTE_ACL_RESULTS_MULTIPLIER - 1) & categories) != 0)
292 return -EINVAL;
293
294 return classify_fns[alg](ctx, data, results, num, categories);
295}
296
297int
298rte_acl_classify(const struct rte_acl_ctx *ctx, const uint8_t **data,

Callers 1

rte_acl_classifyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected