These haven't changed in a while, time has come to make them
not experimental.

Signed-off-by: Stephen Hemminger <step...@networkplumber.org>
---
 lib/ethdev/rte_mtr.h   | 25 +------------------------
 lib/ethdev/version.map | 34 ++++++++++++++++------------------
 2 files changed, 17 insertions(+), 42 deletions(-)

diff --git a/lib/ethdev/rte_mtr.h b/lib/ethdev/rte_mtr.h
index 7e6a66b938bf..ed498f36b179 100644
--- a/lib/ethdev/rte_mtr.h
+++ b/lib/ethdev/rte_mtr.h
@@ -41,10 +41,8 @@
  *    A) Whether an MTR object is private to a flow or potentially shared by
  *       several flows has to be specified at creation time.
  *    B) Several meter actions can be potentially registered for the same flow.
- *
- * @warning
- * @b EXPERIMENTAL: this API may change without prior notice
  */
+
 #include <stdint.h>
 #include <rte_compat.h>
 #include <rte_common.h>
@@ -570,7 +568,6 @@ struct rte_mtr_error {
  * @return
  *   0 on success, non-zero error code otherwise.
  */
-__rte_experimental
 int
 rte_mtr_capabilities_get(uint16_t port_id,
        struct rte_mtr_capabilities *cap,
@@ -594,7 +591,6 @@ rte_mtr_capabilities_get(uint16_t port_id,
  * @return
  *   0 on success, non-zero error code otherwise.
  */
-__rte_experimental
 int
 rte_mtr_meter_profile_add(uint16_t port_id,
        uint32_t meter_profile_id,
@@ -616,7 +612,6 @@ rte_mtr_meter_profile_add(uint16_t port_id,
  * @return
  *   0 on success, non-zero error code otherwise.
  */
-__rte_experimental
 int
 rte_mtr_meter_profile_delete(uint16_t port_id,
        uint32_t meter_profile_id,
@@ -636,7 +631,6 @@ rte_mtr_meter_profile_delete(uint16_t port_id,
  * @return
  *   A valid handle in case of success, NULL otherwise.
  */
-__rte_experimental
 struct rte_flow_meter_profile *
 rte_mtr_meter_profile_get(uint16_t port_id,
        uint32_t meter_profile_id,
@@ -664,7 +658,6 @@ rte_mtr_meter_profile_get(uint16_t port_id,
  * @return
  *   0 on success, non-zero error code otherwise.
  */
-__rte_experimental
 int
 rte_mtr_meter_policy_validate(uint16_t port_id,
        struct rte_mtr_meter_policy_params *policy,
@@ -691,7 +684,6 @@ rte_mtr_meter_policy_validate(uint16_t port_id,
  * @return
  *   0 on success, non-zero error code otherwise.
  */
-__rte_experimental
 int
 rte_mtr_meter_policy_add(uint16_t port_id,
        uint32_t policy_id,
@@ -712,7 +704,6 @@ rte_mtr_meter_policy_add(uint16_t port_id,
  * @return
  *   A valid handle in case of success, NULL otherwise.
  */
-__rte_experimental
 struct rte_flow_meter_policy *
 rte_mtr_meter_policy_get(uint16_t port_id,
        uint32_t policy_id,
@@ -794,7 +785,6 @@ struct rte_mtr_meter_policy_params policy = \
  * @return
  *   0 on success, non-zero error code otherwise.
  */
-__rte_experimental
 int
 rte_mtr_meter_policy_delete(uint16_t port_id,
        uint32_t policy_id,
@@ -823,7 +813,6 @@ rte_mtr_meter_policy_delete(uint16_t port_id,
  *
  * @see enum rte_flow_action_type::RTE_FLOW_ACTION_TYPE_METER
  */
-__rte_experimental
 int
 rte_mtr_create(uint16_t port_id,
        uint32_t mtr_id,
@@ -847,7 +836,6 @@ rte_mtr_create(uint16_t port_id,
  * @return
  *   0 on success, non-zero error code otherwise.
  */
-__rte_experimental
 int
 rte_mtr_destroy(uint16_t port_id,
        uint32_t mtr_id,
@@ -875,7 +863,6 @@ rte_mtr_destroy(uint16_t port_id,
  * @return
  *   0 on success, non-zero error code otherwise.
  */
-__rte_experimental
 int
 rte_mtr_meter_disable(uint16_t port_id,
        uint32_t mtr_id,
@@ -897,7 +884,6 @@ rte_mtr_meter_disable(uint16_t port_id,
  * @return
  *   0 on success, non-zero error code otherwise.
  */
-__rte_experimental
 int
 rte_mtr_meter_enable(uint16_t port_id,
        uint32_t mtr_id,
@@ -917,7 +903,6 @@ rte_mtr_meter_enable(uint16_t port_id,
  * @return
  *   0 on success, non-zero error code otherwise.
  */
-__rte_experimental
 int
 rte_mtr_meter_profile_update(uint16_t port_id,
        uint32_t mtr_id,
@@ -938,7 +923,6 @@ rte_mtr_meter_profile_update(uint16_t port_id,
  * @return
  *   0 on success, non-zero error code otherwise.
  */
-__rte_experimental
 int
 rte_mtr_meter_policy_update(uint16_t port_id,
        uint32_t mtr_id,
@@ -965,7 +949,6 @@ rte_mtr_meter_policy_update(uint16_t port_id,
  * @return
  *   0 on success, non-zero error code otherwise.
  */
-__rte_experimental
 int
 rte_mtr_meter_dscp_table_update(uint16_t port_id,
        uint32_t mtr_id, enum rte_mtr_color_in_protocol proto,
@@ -992,7 +975,6 @@ rte_mtr_meter_dscp_table_update(uint16_t port_id,
  * @return
  *   0 on success, non-zero error code otherwise.
  */
-__rte_experimental
 int
 rte_mtr_meter_vlan_table_update(uint16_t port_id, uint32_t mtr_id,
                                enum rte_mtr_color_in_protocol proto,
@@ -1023,7 +1005,6 @@ rte_mtr_meter_vlan_table_update(uint16_t port_id, 
uint32_t mtr_id,
  * @return
  *   0 on success, non-zero error code otherwise.
  */
-__rte_experimental
 int
 rte_mtr_color_in_protocol_set(uint16_t port_id, uint32_t mtr_id,
        enum rte_mtr_color_in_protocol proto, uint32_t priority,
@@ -1043,7 +1024,6 @@ rte_mtr_color_in_protocol_set(uint16_t port_id, uint32_t 
mtr_id,
  * @return
  *   0 on success, non-zero error code otherwise.
  */
-__rte_experimental
 int
 rte_mtr_color_in_protocol_get(uint16_t port_id, uint32_t mtr_id,
        uint64_t *proto_mask,
@@ -1065,7 +1045,6 @@ rte_mtr_color_in_protocol_get(uint16_t port_id, uint32_t 
mtr_id,
  * @return
  *   0 on success, non-zero error code otherwise.
  */
-__rte_experimental
 int
 rte_mtr_color_in_protocol_priority_get(uint16_t port_id, uint32_t mtr_id,
        enum rte_mtr_color_in_protocol proto, uint32_t *priority,
@@ -1089,7 +1068,6 @@ rte_mtr_color_in_protocol_priority_get(uint16_t port_id, 
uint32_t mtr_id,
  *
  * @see enum rte_mtr_stats_type
  */
-__rte_experimental
 int
 rte_mtr_stats_update(uint16_t port_id,
        uint32_t mtr_id,
@@ -1121,7 +1099,6 @@ rte_mtr_stats_update(uint16_t port_id,
  *
  * @see enum rte_mtr_stats_type
  */
-__rte_experimental
 int
 rte_mtr_stats_read(uint16_t port_id,
        uint32_t mtr_id,
diff --git a/lib/ethdev/version.map b/lib/ethdev/version.map
index b965d6aa5274..a275cce48164 100644
--- a/lib/ethdev/version.map
+++ b/lib/ethdev/version.map
@@ -135,26 +135,34 @@ DPDK_24 {
        rte_flow_pick_transfer_proxy;
        rte_flow_query;
        rte_flow_validate;
-
-       local: *;
-};
-
-EXPERIMENTAL {
-       global:
-
-       # added in 17.11
        rte_mtr_capabilities_get;
+       rte_mtr_color_in_protocol_get;
+       rte_mtr_color_in_protocol_priority_get;
+       rte_mtr_color_in_protocol_set;
        rte_mtr_create;
        rte_mtr_destroy;
        rte_mtr_meter_disable;
        rte_mtr_meter_dscp_table_update;
        rte_mtr_meter_enable;
+       rte_mtr_meter_policy_add;
+       rte_mtr_meter_policy_delete;
+       rte_mtr_meter_policy_get;
+       rte_mtr_meter_policy_update;
+       rte_mtr_meter_policy_validate;
        rte_mtr_meter_profile_add;
        rte_mtr_meter_profile_delete;
+       rte_mtr_meter_profile_get;
        rte_mtr_meter_profile_update;
+       rte_mtr_meter_vlan_table_update;
        rte_mtr_stats_read;
        rte_mtr_stats_update;
 
+       local: *;
+};
+
+EXPERIMENTAL {
+       global:
+
        # added in 18.05
        rte_eth_dev_get_module_eeprom;
        rte_eth_dev_get_module_info;
@@ -237,10 +245,6 @@ EXPERIMENTAL {
        rte_flow_action_handle_destroy;
        rte_flow_action_handle_update;
        rte_flow_action_handle_query;
-       rte_mtr_meter_policy_add;
-       rte_mtr_meter_policy_delete;
-       rte_mtr_meter_policy_update;
-       rte_mtr_meter_policy_validate;
 
        # added in 21.11
        rte_eth_dev_capability_name;
@@ -275,10 +279,6 @@ EXPERIMENTAL {
        # added in 22.07
        rte_eth_rx_avail_thresh_query;
        rte_eth_rx_avail_thresh_set;
-       rte_mtr_color_in_protocol_get;
-       rte_mtr_color_in_protocol_priority_get;
-       rte_mtr_color_in_protocol_set;
-       rte_mtr_meter_vlan_table_update;
 
        # added in 22.11
        rte_eth_buffer_split_get_supported_hdr_ptypes;
@@ -290,8 +290,6 @@ EXPERIMENTAL {
        rte_eth_tx_descriptor_dump;
        rte_flow_async_action_handle_query;
        rte_flow_get_q_aged_flows;
-       rte_mtr_meter_policy_get;
-       rte_mtr_meter_profile_get;
 
        # added in 23.03
        rte_eth_dev_count_aggr_ports;
-- 
2.39.2

Reply via email to