Skip to contentSkip to conversation

ethdev: fix RTE_FLOW_PORT_FLAG_SHARE_INDIRECT definition

PATCH Applied Gregory Etelson 3 participants 3 messages Oct 29, 2023 – Oct 31, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ethdev: fix RTE_FLOW_PORT_FLAG_SHARE_INDIRECT definition

Fix value of RTE_FLOW_PORT_FLAG_SHARE_INDIRECT.

Fixes f5b2846d89d7 ("ethdev: share indirect action between ports")
---
 lib/ethdev/rte_flow.h | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
lib/ethdev/rte_flow.h +7 -7
index edefa34c10..c16fe8c21f 100644
@@ -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.
Signature · 1 line
2.39.2
Acked-by on v1 1/1
#1 lore raw
Quoted 49 lines

-----Original Message-----
From: Gregory Etelson <[email protected]>
Sent: Sunday, October 29, 2023 7:54 PM
To: [email protected]

Fix value of RTE_FLOW_PORT_FLAG_SHARE_INDIRECT.

Fixes f5b2846d89d7 ("ethdev: share indirect action between ports")
---
 lib/ethdev/rte_flow.h | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
lib/ethdev/rte_flow.h +7 -8
index edefa34c10..c16fe8c21f 100644
@@ -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.
--
Quoted 1 line

2.39.2

Best,
Ori

Applied
#2 lore raw
Quoted 7 lines · Ori Kam
Quoted 7 lines

-----Original Message-----
From: Gregory Etelson <[email protected]>
Sent: Sunday, October 29, 2023 7:54 PM
To: [email protected]

Quoted 8 lines
Quoted 6 lines

Fix value of RTE_FLOW_PORT_FLAG_SHARE_INDIRECT.

Fixes f5b2846d89d7 ("ethdev: share indirect action between ports")

Applied to dpdk-next-net/main, thanks.