[v2,15/29] meter: remove experimental warning from comments

Message ID 20230809001017.293037-16-stephen@networkplumber.org (mailing list archive)
State Superseded, archived
Delegated to: Thomas Monjalon
Headers
Series promote many API's to stable |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Stephen Hemminger Aug. 9, 2023, 12:10 a.m. UTC
  The API's for rte_meter_trtcm were never properly flagged
as experimental; missing __rte_experimental but there was
an experimental comment in the docbook comment.
Remove the comment.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/meter/rte_meter.h | 12 ------------
 1 file changed, 12 deletions(-)
  

Comments

Bruce Richardson Oct. 18, 2023, 5:07 p.m. UTC | #1
On Tue, Aug 08, 2023 at 05:10:03PM -0700, Stephen Hemminger wrote:
> The API's for rte_meter_trtcm were never properly flagged
> as experimental; missing __rte_experimental but there was
> an experimental comment in the docbook comment.
> Remove the comment.
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
  
David Marchand Oct. 19, 2023, 6:54 a.m. UTC | #2
On Wed, Aug 9, 2023 at 2:12 AM Stephen Hemminger
<stephen@networkplumber.org> wrote:
>
> The API's for rte_meter_trtcm were never properly flagged
> as experimental; missing __rte_experimental but there was

The 4115 trtcm API was properly marked experimental in the past.
See commit 655796d2b5fb ("meter: support RFC4115 trTCM").

The only thing wrong here is that when this API was marked stable, we
forgot to remove those banners in the comments.


> an experimental comment in the docbook comment.
> Remove the comment.
>
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
  

Patch

diff --git a/lib/meter/rte_meter.h b/lib/meter/rte_meter.h
index 6ba99674361a..bd68cbe38903 100644
--- a/lib/meter/rte_meter.h
+++ b/lib/meter/rte_meter.h
@@ -124,9 +124,6 @@  int
 rte_meter_trtcm_profile_config(struct rte_meter_trtcm_profile *p,
 	struct rte_meter_trtcm_params *params);
 /**
- * @warning
- * @b EXPERIMENTAL: this API may change without prior notice
- *
  * trTCM RFC 4115 profile configuration
  *
  * @param p
@@ -170,9 +167,6 @@  rte_meter_trtcm_config(struct rte_meter_trtcm *m,
 	struct rte_meter_trtcm_profile *p);
 
 /**
- * @warning
- * @b EXPERIMENTAL: this API may change without prior notice
- *
  * trTCM RFC 4115 configuration per metered traffic flow
  *
  * @param m
@@ -273,9 +267,6 @@  rte_meter_trtcm_color_aware_check(struct rte_meter_trtcm *m,
 	enum rte_color pkt_color);
 
 /**
- * @warning
- * @b EXPERIMENTAL: this API may change without prior notice
- *
  * trTCM RFC4115 color blind traffic metering
  *
  * @param m
@@ -297,9 +288,6 @@  rte_meter_trtcm_rfc4115_color_blind_check(
 	uint32_t pkt_len);
 
 /**
- * @warning
- * @b EXPERIMENTAL: this API may change without prior notice
- *
  * trTCM RFC4115 color aware traffic metering
  *
  * @param m