meter: remove experimental tag from profile API
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() Signed-off-by: Kevin Traynor <ktraynor@redhat.com> Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
This commit is contained in:
parent
aed1a766ed
commit
3a787d5bf1
@ -50,7 +50,6 @@ RTE_TARGET ?= x86_64-native-linuxapp-gcc
|
||||
|
||||
include $(RTE_SDK)/mk/rte.vars.mk
|
||||
|
||||
CFLAGS += -DALLOW_EXPERIMENTAL_API
|
||||
CFLAGS += -O3
|
||||
CFLAGS += $(WERROR_FLAGS)
|
||||
|
||||
|
@ -7,7 +7,6 @@
|
||||
# DPDK instance, use 'make'
|
||||
|
||||
deps += 'meter'
|
||||
allow_experimental_apis = true
|
||||
sources = files(
|
||||
'main.c', 'rte_policer.c'
|
||||
)
|
||||
|
@ -30,7 +30,7 @@ rte_meter_get_tb_params(uint64_t hz, uint64_t rate, uint64_t *tb_period, uint64_
|
||||
}
|
||||
}
|
||||
|
||||
int __rte_experimental
|
||||
int
|
||||
rte_meter_srtcm_profile_config(struct rte_meter_srtcm_profile *p,
|
||||
struct rte_meter_srtcm_params *params)
|
||||
{
|
||||
@ -68,7 +68,7 @@ rte_meter_srtcm_config(struct rte_meter_srtcm *m,
|
||||
return 0;
|
||||
}
|
||||
|
||||
int __rte_experimental
|
||||
int
|
||||
rte_meter_trtcm_profile_config(struct rte_meter_trtcm_profile *p,
|
||||
struct rte_meter_trtcm_params *params)
|
||||
{
|
||||
|
@ -20,7 +20,6 @@ extern "C" {
|
||||
***/
|
||||
|
||||
#include <stdint.h>
|
||||
#include <rte_compat.h>
|
||||
|
||||
/*
|
||||
* Application Programmer's Interface (API)
|
||||
@ -82,7 +81,7 @@ struct rte_meter_trtcm;
|
||||
* @return
|
||||
* 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);
|
||||
|
||||
@ -96,7 +95,7 @@ rte_meter_srtcm_profile_config(struct rte_meter_srtcm_profile *p,
|
||||
* @return
|
||||
* 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);
|
||||
|
||||
|
@ -11,7 +11,7 @@ DPDK_2.0 {
|
||||
local: *;
|
||||
};
|
||||
|
||||
EXPERIMENTAL {
|
||||
DPDK_18.08 {
|
||||
global:
|
||||
|
||||
rte_meter_srtcm_profile_config;
|
||||
|
Loading…
x
Reference in New Issue
Block a user