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
acl: remove redundant macro
[dpdk.git]
/
app
/
test-acl
/
main.c
diff --git
a/app/test-acl/main.c
b/app/test-acl/main.c
index
524c43a
..
be3d773
100644
(file)
--- a/
app/test-acl/main.c
+++ b/
app/test-acl/main.c
@@
-739,7
+739,8
@@
add_cb_rules(FILE *f, struct rte_acl_ctx *ctx)
return rc;
}
- v.data.category_mask = LEN2MASK(RTE_ACL_MAX_CATEGORIES);
+ v.data.category_mask = RTE_LEN2MASK(RTE_ACL_MAX_CATEGORIES,
+ typeof(v.data.category_mask));
v.data.priority = RTE_ACL_MAX_PRIORITY - n;
v.data.userdata = n;