DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] ethdev: fix RTE_FLOW_PORT_FLAG_SHARE_INDIRECT definition
@ 2023-10-29 17:53 Gregory Etelson
  2023-10-30  6:22 ` Ori Kam
  0 siblings, 1 reply; 3+ messages in thread
From: Gregory Etelson @ 2023-10-29 17:53 UTC (permalink / raw)
  To: dev
  Cc: getelson, mkashani, stable, Ori Kam, Thomas Monjalon,
	Ferruh Yigit, Andrew Rybchenko, Viacheslav Ovsiienko

Fix value of RTE_FLOW_PORT_FLAG_SHARE_INDIRECT.

Fixes: f5b2846d89d7 ("ethdev: share indirect action between ports")
Cc: stable@dpdk.org
Signed-off-by: Gregory Etelson <getelson@nvidia.com>
---
 lib/ethdev/rte_flow.h | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/lib/ethdev/rte_flow.h b/lib/ethdev/rte_flow.h
index edefa34c10..c16fe8c21f 100644
--- a/lib/ethdev/rte_flow.h
+++ b/lib/ethdev/rte_flow.h
@@ -5365,6 +5365,13 @@ rte_flow_flex_item_release(uint16_t port_id,
  */
 #define RTE_FLOW_PORT_FLAG_STRICT_QUEUE RTE_BIT32(0)
 
+/**
+ * Indicate all steering objects should be created on contexts
+ * of the host port, providing indirect object sharing between
+ * ports.
+ */
+#define RTE_FLOW_PORT_FLAG_SHARE_INDIRECT RTE_BIT32(1)
+
 /**
  * @warning
  * @b EXPERIMENTAL: this API may change without prior notice.
@@ -5450,13 +5457,6 @@ rte_flow_info_get(uint16_t port_id,
 		  struct rte_flow_queue_info *queue_info,
 		  struct rte_flow_error *error);
 
-/**
- * Indicate all steering objects should be created on contexts
- * of the host port, providing indirect object sharing between
- * ports.
- */
-#define RTE_FLOW_PORT_FLAG_SHARE_INDIRECT RTE_BIT32(0)
-
 /**
  * @warning
  * @b EXPERIMENTAL: this API may change without prior notice.
-- 
2.39.2


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

* RE: [PATCH] ethdev: fix RTE_FLOW_PORT_FLAG_SHARE_INDIRECT definition
  2023-10-29 17:53 [PATCH] ethdev: fix RTE_FLOW_PORT_FLAG_SHARE_INDIRECT definition Gregory Etelson
@ 2023-10-30  6:22 ` Ori Kam
  2023-10-31 11:06   ` Ferruh Yigit
  0 siblings, 1 reply; 3+ messages in thread
From: Ori Kam @ 2023-10-30  6:22 UTC (permalink / raw)
  To: Gregory Etelson, dev
  Cc: Maayan Kashani, stable, NBU-Contact-Thomas Monjalon (EXTERNAL),
	Ferruh Yigit, Andrew Rybchenko, Slava Ovsiienko



> -----Original Message-----
> From: Gregory Etelson <getelson@nvidia.com>
> Sent: Sunday, October 29, 2023 7:54 PM
> To: dev@dpdk.org
> 
> Fix value of RTE_FLOW_PORT_FLAG_SHARE_INDIRECT.
> 
> Fixes: f5b2846d89d7 ("ethdev: share indirect action between ports")
> Cc: stable@dpdk.org
> Signed-off-by: Gregory Etelson <getelson@nvidia.com>
> ---
>  lib/ethdev/rte_flow.h | 14 +++++++-------
>  1 file changed, 7 insertions(+), 7 deletions(-)
> 
> diff --git a/lib/ethdev/rte_flow.h b/lib/ethdev/rte_flow.h
> index edefa34c10..c16fe8c21f 100644
> --- a/lib/ethdev/rte_flow.h
> +++ b/lib/ethdev/rte_flow.h
> @@ -5365,6 +5365,13 @@ rte_flow_flex_item_release(uint16_t port_id,
>   */
>  #define RTE_FLOW_PORT_FLAG_STRICT_QUEUE RTE_BIT32(0)
> 
> +/**
> + * Indicate all steering objects should be created on contexts
> + * of the host port, providing indirect object sharing between
> + * ports.
> + */
> +#define RTE_FLOW_PORT_FLAG_SHARE_INDIRECT RTE_BIT32(1)
> +
>  /**
>   * @warning
>   * @b EXPERIMENTAL: this API may change without prior notice.
> @@ -5450,13 +5457,6 @@ rte_flow_info_get(uint16_t port_id,
>  		  struct rte_flow_queue_info *queue_info,
>  		  struct rte_flow_error *error);
> 
> -/**
> - * Indicate all steering objects should be created on contexts
> - * of the host port, providing indirect object sharing between
> - * ports.
> - */
> -#define RTE_FLOW_PORT_FLAG_SHARE_INDIRECT RTE_BIT32(0)
> -
>  /**
>   * @warning
>   * @b EXPERIMENTAL: this API may change without prior notice.
> --
> 2.39.2

Acked-by: Ori Kam <orika@nvidia.com>
Best,
Ori


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

* Re: [PATCH] ethdev: fix RTE_FLOW_PORT_FLAG_SHARE_INDIRECT definition
  2023-10-30  6:22 ` Ori Kam
@ 2023-10-31 11:06   ` Ferruh Yigit
  0 siblings, 0 replies; 3+ messages in thread
From: Ferruh Yigit @ 2023-10-31 11:06 UTC (permalink / raw)
  To: Ori Kam, Gregory Etelson, dev
  Cc: Maayan Kashani, stable, NBU-Contact-Thomas Monjalon (EXTERNAL),
	Andrew Rybchenko, Slava Ovsiienko

On 10/30/2023 6:22 AM, Ori Kam wrote:
> 
> 
>> -----Original Message-----
>> From: Gregory Etelson <getelson@nvidia.com>
>> Sent: Sunday, October 29, 2023 7:54 PM
>> To: dev@dpdk.org
>>
>> Fix value of RTE_FLOW_PORT_FLAG_SHARE_INDIRECT.
>>
>> Fixes: f5b2846d89d7 ("ethdev: share indirect action between ports")
>> Cc: stable@dpdk.org
>>
>> Signed-off-by: Gregory Etelson <getelson@nvidia.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:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-29 17:53 [PATCH] ethdev: fix RTE_FLOW_PORT_FLAG_SHARE_INDIRECT definition Gregory Etelson
2023-10-30  6:22 ` Ori Kam
2023-10-31 11:06   ` 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).