[PATCH] ethdev: fix flow API support for P4-programmable devices
Ori Kam
orika at nvidia.com
Sun Oct 29 08:17:37 CET 2023
Hi Wenjing,
> -----Original Message-----
> From: wenjing.qiao at intel.com <wenjing.qiao at intel.com>
> Sent: Friday, October 27, 2023 12:18 PM
>
> From: Wenjing Qiao <wenjing.qiao at 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 at 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
Acked-by: Ori Kam <orika at nvidia.com>
Best,
Ori
More information about the dev
mailing list