test/cycles: restore default delay callback
[dpdk.git] / lib / librte_acl / acl_run_neon.c
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2015 Cavium, Inc
3  */
4
5 #include "acl_run_neon.h"
6
7 int
8 rte_acl_classify_neon(const struct rte_acl_ctx *ctx, const uint8_t **data,
9                       uint32_t *results, uint32_t num, uint32_t categories)
10 {
11         if (likely(num >= 8))
12                 return search_neon_8(ctx, data, results, num, categories);
13         else if (num >= 4)
14                 return search_neon_4(ctx, data, results, num, categories);
15         else
16                 return rte_acl_classify_scalar(ctx, data, results, num,
17                         categories);
18 }