acl: introduce config parameter for performance/space trade-off
[dpdk.git] / lib / librte_acl / rte_acl.h
index 652a234..30aea03 100644 (file)
@@ -94,6 +94,8 @@ struct rte_acl_config {
        uint32_t num_fields;     /**< Number of field definitions. */
        struct rte_acl_field_def defs[RTE_ACL_MAX_FIELDS];
        /**< array of field definitions. */
+       size_t max_size;
+       /**< max memory limit for internal run-time structures. */
 };
 
 /**