> From: Levend Sayar <levendsa...@gmail.com>

Could you provide some explanation:
What do you think is wrong with current version and why,
and what your fix does. 

> 
> Signed-off-by: Levend Sayar <levendsa...@gmail.com>
> ---
>  lib/librte_acl/rte_acl.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/librte_acl/rte_acl.h b/lib/librte_acl/rte_acl.h
> index aa22e70c6..d34fdbc0e 100644
> --- a/lib/librte_acl/rte_acl.h
> +++ b/lib/librte_acl/rte_acl.h
> @@ -116,7 +116,7 @@ struct rte_acl_rule_data {
>  RTE_ACL_RULE_DEF(rte_acl_rule,);
> 
>  #define      RTE_ACL_RULE_SZ(fld_num)        \
> -     (sizeof(struct rte_acl_rule) + sizeof(struct rte_acl_field) * (fld_num))
> +     (sizeof(struct rte_acl_rule_data) + sizeof(struct rte_acl_field) * 
> (fld_num))
> 
> 
>  /** Max number of characters in name.*/
> --
> 2.27.0

Reply via email to