DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] ethdev: fix flow API support for P4-programmable devices
@ 2023-10-27  9:17 wenjing.qiao
  2023-10-29  7:17 ` Ori Kam
  0 siblings, 1 reply; 3+ messages in thread
From: wenjing.qiao @ 2023-10-27  9:17 UTC (permalink / raw)
  To: orika; +Cc: qi.z.zhang, dev, cristian.dumitrescu, Wenjing Qiao

From: Wenjing Qiao <wenjing.qiao@intel.com>

"program" action should also be added in structure rte_flow_desc_action.

Fixes: 8f1953f1914d ("ethdev: add flow API for P4-programmable devices")

Signed-off-by: Wenjing Qiao <wenjing.qiao@intel.com>
---
 lib/ethdev/rte_flow.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/ethdev/rte_flow.c b/lib/ethdev/rte_flow.c
index 3a67f1aaba..4d6c28ee0e 100644
--- a/lib/ethdev/rte_flow.c
+++ b/lib/ethdev/rte_flow.c
@@ -267,6 +267,8 @@ static const struct rte_flow_desc_data rte_flow_desc_action[] = {
 	MK_FLOW_ACTION(IPV6_EXT_REMOVE, sizeof(struct rte_flow_action_ipv6_ext_remove)),
 	MK_FLOW_ACTION(INDIRECT_LIST,
 		       sizeof(struct rte_flow_action_indirect_list)),
+	MK_FLOW_ACTION(PROG,
+		       sizeof(struct rte_flow_action_prog)),
 };
 
 int
-- 
2.34.1


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

end of thread, other threads:[~2023-10-31 11:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-27  9:17 [PATCH] ethdev: fix flow API support for P4-programmable devices wenjing.qiao
2023-10-29  7:17 ` Ori Kam
2023-10-31 11:04   ` Ferruh Yigit

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).