DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] acl: Fix RTE_ACL_RULE_SZ macro definition
@ 2020-07-07 12:26 levendsayar
  2020-07-07 12:42 ` Ananyev, Konstantin
  0 siblings, 1 reply; 5+ messages in thread
From: levendsayar @ 2020-07-07 12:26 UTC (permalink / raw)
  To: konstantin.ananyev; +Cc: dev, Levend Sayar

From: Levend Sayar <levendsayar@gmail.com>

Signed-off-by: Levend Sayar <levendsayar@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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-07-08 12:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-07 12:26 [dpdk-dev] [PATCH] acl: Fix RTE_ACL_RULE_SZ macro definition levendsayar
2020-07-07 12:42 ` Ananyev, Konstantin
2020-07-07 15:25   ` Levend Sayar
2020-07-07 16:44     ` Ananyev, Konstantin
2020-07-07 16:59       ` Levend Sayar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).