[02/13] ethdev: strip experimental tag off port ID items and actions

Message ID 20220812191827.3187441-3-ivan.malov@oktetlabs.ru (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers
Series ethdev: proceed with flow subsystem rework |

Checks

Context Check Description
ci/checkpatch warning coding style issues

Commit Message

Ivan Malov Aug. 12, 2022, 7:18 p.m. UTC
  The following set of primitives has been introduced in 21.11:

- RTE_FLOW_ACTION_TYPE_PORT_REPRESENTOR
- RTE_FLOW_ACTION_TYPE_REPRESENTED_PORT
- RTE_FLOW_ITEM_TYPE_PORT_REPRESENTOR
- RTE_FLOW_ITEM_TYPE_REPRESENTED_PORT

Since then, no one has requested any fixes. At the same time,
the set is required by series [1] in OvS for the new release.

[1] http://patchwork.ozlabs.org/project/openvswitch/list/?series=310415

Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>
Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
---
 doc/guides/rel_notes/release_22_11.rst | 8 ++++++++
 lib/ethdev/rte_flow.h                  | 6 ------
 2 files changed, 8 insertions(+), 6 deletions(-)
  

Comments

Ori Kam Aug. 15, 2022, 12:59 p.m. UTC | #1
Hi,

> -----Original Message-----
> From: Ivan Malov <ivan.malov@oktetlabs.ru>
> Sent: Friday, 12 August 2022 22:18
> 
> The following set of primitives has been introduced in 21.11:
> 
> - RTE_FLOW_ACTION_TYPE_PORT_REPRESENTOR
> - RTE_FLOW_ACTION_TYPE_REPRESENTED_PORT
> - RTE_FLOW_ITEM_TYPE_PORT_REPRESENTOR
> - RTE_FLOW_ITEM_TYPE_REPRESENTED_PORT
> 
> Since then, no one has requested any fixes. At the same time,
> the set is required by series [1] in OvS for the new release.
> 
> [1] http://patchwork.ozlabs.org/project/openvswitch/list/?series=310415
> 
> Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>
> Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
> ---
>  doc/guides/rel_notes/release_22_11.rst | 8 ++++++++
>  lib/ethdev/rte_flow.h                  | 6 ------
>  2 files changed, 8 insertions(+), 6 deletions(-)
> 
> diff --git a/doc/guides/rel_notes/release_22_11.rst
> b/doc/guides/rel_notes/release_22_11.rst
> index 6760ab8b87..f039b857e2 100644
> --- a/doc/guides/rel_notes/release_22_11.rst
> +++ b/doc/guides/rel_notes/release_22_11.rst
> @@ -87,6 +87,14 @@ API Changes
>  * ethdev: promoted ``rte_eth_rx_metadata_negotiate()``
>    from experimental to stable.
> 
> +* ethdev: promoted the following flow primitives
> +  from experimental to stable:
> +
> +  - ``RTE_FLOW_ACTION_TYPE_PORT_REPRESENTOR``
> +  - ``RTE_FLOW_ACTION_TYPE_REPRESENTED_PORT``
> +  - ``RTE_FLOW_ITEM_TYPE_PORT_REPRESENTOR``
> +  - ``RTE_FLOW_ITEM_TYPE_REPRESENTED_PORT``
> +
> 
>  ABI Changes
>  -----------
> diff --git a/lib/ethdev/rte_flow.h b/lib/ethdev/rte_flow.h
> index a79f1e7ef0..e5d2d87403 100644
> --- a/lib/ethdev/rte_flow.h
> +++ b/lib/ethdev/rte_flow.h
> @@ -1918,9 +1918,6 @@ static const struct rte_flow_item_conntrack
> rte_flow_item_conntrack_mask = {
>  #endif
> 
>  /**
> - * @warning
> - * @b EXPERIMENTAL: this structure may change without prior notice
> - *
>   * Provides an ethdev port ID for use with the following items:
>   * RTE_FLOW_ITEM_TYPE_PORT_REPRESENTOR,
>   * RTE_FLOW_ITEM_TYPE_REPRESENTED_PORT.
> @@ -3643,9 +3640,6 @@ struct rte_flow_action_meter_color {
>  };
> 
>  /**
> - * @warning
> - * @b EXPERIMENTAL: this structure may change without prior notice
> - *
>   * Provides an ethdev port ID for use with the following actions:
>   * RTE_FLOW_ACTION_TYPE_PORT_REPRESENTOR,
>   * RTE_FLOW_ACTION_TYPE_REPRESENTED_PORT.
> --
> 2.30.2

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

Patch

diff --git a/doc/guides/rel_notes/release_22_11.rst b/doc/guides/rel_notes/release_22_11.rst
index 6760ab8b87..f039b857e2 100644
--- a/doc/guides/rel_notes/release_22_11.rst
+++ b/doc/guides/rel_notes/release_22_11.rst
@@ -87,6 +87,14 @@  API Changes
 * ethdev: promoted ``rte_eth_rx_metadata_negotiate()``
   from experimental to stable.
 
+* ethdev: promoted the following flow primitives
+  from experimental to stable:
+
+  - ``RTE_FLOW_ACTION_TYPE_PORT_REPRESENTOR``
+  - ``RTE_FLOW_ACTION_TYPE_REPRESENTED_PORT``
+  - ``RTE_FLOW_ITEM_TYPE_PORT_REPRESENTOR``
+  - ``RTE_FLOW_ITEM_TYPE_REPRESENTED_PORT``
+
 
 ABI Changes
 -----------
diff --git a/lib/ethdev/rte_flow.h b/lib/ethdev/rte_flow.h
index a79f1e7ef0..e5d2d87403 100644
--- a/lib/ethdev/rte_flow.h
+++ b/lib/ethdev/rte_flow.h
@@ -1918,9 +1918,6 @@  static const struct rte_flow_item_conntrack rte_flow_item_conntrack_mask = {
 #endif
 
 /**
- * @warning
- * @b EXPERIMENTAL: this structure may change without prior notice
- *
  * Provides an ethdev port ID for use with the following items:
  * RTE_FLOW_ITEM_TYPE_PORT_REPRESENTOR,
  * RTE_FLOW_ITEM_TYPE_REPRESENTED_PORT.
@@ -3643,9 +3640,6 @@  struct rte_flow_action_meter_color {
 };
 
 /**
- * @warning
- * @b EXPERIMENTAL: this structure may change without prior notice
- *
  * Provides an ethdev port ID for use with the following actions:
  * RTE_FLOW_ACTION_TYPE_PORT_REPRESENTOR,
  * RTE_FLOW_ACTION_TYPE_REPRESENTED_PORT.