From 8cfad59e29a84dc8ae21ad6dc6b9b5f1079319e1 Mon Sep 17 00:00:00 2001 From: Ivan Malov Date: Tue, 31 Aug 2021 21:14:35 +0300 Subject: [PATCH] log: promote some function to stable This one might be quite mature to be attested as stable. Signed-off-by: Ivan Malov Reviewed-by: Andrew Rybchenko Acked-by: Ray Kinsella --- lib/eal/include/rte_log.h | 4 ---- lib/eal/version.map | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/eal/include/rte_log.h b/lib/eal/include/rte_log.h index bb3523467b..319e4044a5 100644 --- a/lib/eal/include/rte_log.h +++ b/lib/eal/include/rte_log.h @@ -218,9 +218,6 @@ int rte_log_cur_msg_logtype(void); int rte_log_register(const char *name); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Register a dynamic log type and try to pick its level from EAL options * * rte_log_register() is called inside. If successful, the function tries @@ -236,7 +233,6 @@ int rte_log_register(const char *name); * - >=0: the newly registered log type * - <0: rte_log_register() error value */ -__rte_experimental int rte_log_register_type_and_pick_level(const char *name, uint32_t level_def); /** diff --git a/lib/eal/version.map b/lib/eal/version.map index 2719b1a283..38f7de83e1 100644 --- a/lib/eal/version.map +++ b/lib/eal/version.map @@ -140,6 +140,7 @@ DPDK_22 { rte_log_get_level; rte_log_get_stream; rte_log_register; + rte_log_register_type_and_pick_level; rte_log_set_global_level; rte_log_set_level; rte_log_set_level_pattern; @@ -299,7 +300,6 @@ EXPERIMENTAL { rte_dev_event_callback_unregister; rte_dev_event_monitor_start; rte_dev_event_monitor_stop; - rte_log_register_type_and_pick_level; # added in 18.08 rte_class_find; -- 2.20.1