git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
eal: deprecate old cpu features check function
[dpdk.git]
/
lib
/
librte_acl
/
acl_run_scalar.c
diff --git
a/lib/librte_acl/acl_run_scalar.c
b/lib/librte_acl/acl_run_scalar.c
index
9935125
..
5be216c
100644
(file)
--- a/
lib/librte_acl/acl_run_scalar.c
+++ b/
lib/librte_acl/acl_run_scalar.c
@@
-147,10
+147,6
@@
rte_acl_classify_scalar(const struct rte_acl_ctx *ctx, const uint8_t **data,
struct completion cmplt[MAX_SEARCHES_SCALAR];
struct parms parms[MAX_SEARCHES_SCALAR];
struct completion cmplt[MAX_SEARCHES_SCALAR];
struct parms parms[MAX_SEARCHES_SCALAR];
- if (categories != 1 &&
- ((RTE_ACL_RESULTS_MULTIPLIER - 1) & categories) != 0)
- return -EINVAL;
-
acl_set_flow(&flows, cmplt, RTE_DIM(cmplt), data, results, num,
categories, ctx->trans_table);
acl_set_flow(&flows, cmplt, RTE_DIM(cmplt), data, results, num,
categories, ctx->trans_table);