From: Wenjing Qiao <[email protected]>
"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 <[email protected]>
---
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