* [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
* RE: [PATCH] ethdev: fix flow API support for P4-programmable devices
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
0 siblings, 1 reply; 3+ messages in thread
From: Ori Kam @ 2023-10-29 7:17 UTC (permalink / raw)
To: wenjing.qiao; +Cc: qi.z.zhang, dev, cristian.dumitrescu
Hi Wenjing,
> -----Original Message-----
> From: wenjing.qiao@intel.com <wenjing.qiao@intel.com>
> Sent: Friday, October 27, 2023 12:18 PM
>
> 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
Acked-by: Ori Kam <orika@nvidia.com>
Best,
Ori
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ethdev: fix flow API support for P4-programmable devices
2023-10-29 7:17 ` Ori Kam
@ 2023-10-31 11:04 ` Ferruh Yigit
0 siblings, 0 replies; 3+ messages in thread
From: Ferruh Yigit @ 2023-10-31 11:04 UTC (permalink / raw)
To: Ori Kam, wenjing.qiao; +Cc: qi.z.zhang, dev, cristian.dumitrescu
On 10/29/2023 7:17 AM, Ori Kam wrote:
> Hi Wenjing,
>
>> -----Original Message-----
>> From: wenjing.qiao@intel.com <wenjing.qiao@intel.com>
>> Sent: Friday, October 27, 2023 12:18 PM
>>
>> 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>
> Acked-by: Ori Kam <orika@nvidia.com>
>
>
Applied to dpdk-next-net/main, thanks.
^ 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).