]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_acl/rte_acl.c
acl: introduce config parameter for performance/space trade-off
[dpdk.git] / lib / librte_acl / rte_acl.c
index a9cd34971f6240516b8aec645159607ef2edb726..7d103019c3f44d058e33253422b46779c51a0777 100644 (file)
@@ -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);
 }