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: introduce config parameter for performance/space trade-off
[dpdk.git]
/
lib
/
librte_acl
/
rte_acl.c
diff --git
a/lib/librte_acl/rte_acl.c
b/lib/librte_acl/rte_acl.c
index
a9cd349
..
7d10301
100644
(file)
--- a/
lib/librte_acl/rte_acl.c
+++ b/
lib/librte_acl/rte_acl.c
@@
-543,6
+543,7
@@
rte_acl_ipv4vlan_build(struct rte_acl_ctx *ctx,
if (ctx == NULL || layout == NULL)
return -EINVAL;
+ memset(&cfg, 0, sizeof(cfg));
acl_ipv4vlan_config(&cfg, layout, num_categories);
return rte_acl_build(ctx, &cfg);
}