meter: remove experimental from profile APIs
Checks
Commit Message
As per guideline that new APIs must be experimental
for at least one release, it is now possible to remove
the experimental tag from:
rte_meter_srtcm_profile_config()
rte_meter_trtcm_profile_config()
Cc: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
---
examples/qos_meter/Makefile | 1 -
examples/qos_meter/meson.build | 1 -
lib/librte_meter/rte_meter.c | 4 ++--
lib/librte_meter/rte_meter.h | 5 ++---
lib/librte_meter/rte_meter_version.map | 2 +-
5 files changed, 5 insertions(+), 8 deletions(-)
Comments
> -----Original Message-----
> From: Kevin Traynor [mailto:ktraynor@redhat.com]
> Sent: Wednesday, August 1, 2018 4:31 PM
> To: Dumitrescu, Cristian <cristian.dumitrescu@intel.com>
> Cc: dev@dpdk.org; Kevin Traynor <ktraynor@redhat.com>
> Subject: [PATCH] meter: remove experimental from profile APIs
>
> As per guideline that new APIs must be experimental
> for at least one release, it is now possible to remove
> the experimental tag from:
>
> rte_meter_srtcm_profile_config()
> rte_meter_trtcm_profile_config()
>
> Cc: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
> Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
> ---
> examples/qos_meter/Makefile | 1 -
> examples/qos_meter/meson.build | 1 -
> lib/librte_meter/rte_meter.c | 4 ++--
> lib/librte_meter/rte_meter.h | 5 ++---
> lib/librte_meter/rte_meter_version.map | 2 +-
> 5 files changed, 5 insertions(+), 8 deletions(-)
>
Thanks, Kevin!
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
> > As per guideline that new APIs must be experimental
> > for at least one release, it is now possible to remove
> > the experimental tag from:
> >
> > rte_meter_srtcm_profile_config()
> > rte_meter_trtcm_profile_config()
> >
> > Cc: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
> > Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
>
> Thanks, Kevin!
>
> Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Applied, thanks
@@ -51,5 +51,4 @@ RTE_TARGET ?= x86_64-native-linuxapp-gcc
include $(RTE_SDK)/mk/rte.vars.mk
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
@@ -8,5 +8,4 @@
deps += 'meter'
-allow_experimental_apis = true
sources = files(
'main.c', 'rte_policer.c'
@@ -31,5 +31,5 @@
}
-int __rte_experimental
+int
rte_meter_srtcm_profile_config(struct rte_meter_srtcm_profile *p,
struct rte_meter_srtcm_params *params)
@@ -69,5 +69,5 @@
}
-int __rte_experimental
+int
rte_meter_trtcm_profile_config(struct rte_meter_trtcm_profile *p,
struct rte_meter_trtcm_params *params)
@@ -21,5 +21,4 @@
#include <stdint.h>
-#include <rte_compat.h>
/*
@@ -83,5 +82,5 @@ struct rte_meter_trtcm_params {
* 0 upon success, error code otherwise
*/
-int __rte_experimental
+int
rte_meter_srtcm_profile_config(struct rte_meter_srtcm_profile *p,
struct rte_meter_srtcm_params *params);
@@ -97,5 +96,5 @@ struct rte_meter_trtcm_params {
* 0 upon success, error code otherwise
*/
-int __rte_experimental
+int
rte_meter_trtcm_profile_config(struct rte_meter_trtcm_profile *p,
struct rte_meter_trtcm_params *params);
@@ -12,5 +12,5 @@ DPDK_2.0 {
};
-EXPERIMENTAL {
+DPDK_18.08 {
global: