[v5,14/26] meter: remove experimental warning from comments

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

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Stephen Hemminger Oct. 20, 2023, 8:57 p.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>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
---
 lib/meter/rte_meter.h | 12 ------------
 1 file changed, 12 deletions(-)
  

Comments

David Marchand Oct. 23, 2023, 7:29 a.m. UTC | #1
On Fri, Oct 20, 2023 at 11:00 PM 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
> an experimental comment in the docbook comment.
> Remove the comment.

While I don't object to this removal, I mentionned in previous mail
that this commitlog is wrong.
Those API were properly flagged as experimental.

I'll update the commitlog myself...

>
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
> Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
  
Stephen Hemminger Oct. 24, 2023, 2:30 a.m. UTC | #2
On Mon, 23 Oct 2023 09:29:52 +0200
David Marchand <david.marchand@redhat.com> wrote:

> On Fri, Oct 20, 2023 at 11:00 PM 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
> > an experimental comment in the docbook comment.
> > Remove the comment.  
> 
> While I don't object to this removal, I mentionned in previous mail
> that this commitlog is wrong.
> Those API were properly flagged as experimental.
> 
> I'll update the commitlog myself...

Look at rte_meter in main branch. For example:

/**
 * @warning
 * @b EXPERIMENTAL: this API may change without prior notice
 *
 * trTCM RFC 4115 profile configuration
 *
 * @param p
 *    Pointer to pre-allocated trTCM profile data structure
 * @param params
 *    trTCM profile parameters
 * @return
 *    0 upon success, error code otherwise
 */
int
rte_meter_trtcm_rfc4115_profile_config(
	struct rte_meter_trtcm_rfc4115_profile *p,
	struct rte_meter_trtcm_rfc4115_params *params);

The function is documented as experimental but the function
was not marked experimental in version.map or with __rte_experimental
attribute.  Will reword the commit message to clarify.
  

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