eal: promote register type and pick level API as stable

Message ID 20210831181435.3440-1-ivan.malov@oktetlabs.ru (mailing list archive)
State Accepted, archived
Delegated to: David Marchand
Headers
Series eal: promote register type and pick level API as stable |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/github-robot: build success github build: passed
ci/iol-broadcom-Performance success Performance Testing PASS
ci/iol-broadcom-Functional success Functional Testing PASS
ci/iol-intel-Functional success Functional Testing PASS
ci/iol-intel-Performance success Performance Testing PASS
ci/iol-aarch64-compile-testing success Testing PASS
ci/iol-mellanox-Performance fail Performance Testing issues
ci/iol-x86_64-compile-testing success Testing PASS
ci/iol-x86_64-unit-testing success Testing PASS
ci/Intel-compilation success Compilation OK
ci/intel-Testing success Testing PASS

Commit Message

Ivan Malov Aug. 31, 2021, 6:14 p.m. UTC
  This one might be quite mature to be attested as stable.

Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>
Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
---
 lib/eal/include/rte_log.h | 4 ----
 lib/eal/version.map       | 2 +-
 2 files changed, 1 insertion(+), 5 deletions(-)
  

Comments

Ray Kinsella Aug. 31, 2021, 6:30 p.m. UTC | #1
On 31/08/2021 19:14, Ivan Malov wrote:
> This one might be quite mature to be attested as stable.
> 
> Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>
> Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
> ---

Acked-by: Ray Kinsella <mdr@ashroe.eu>
  
David Marchand Oct. 2, 2021, 8:29 a.m. UTC | #2
On Tue, Aug 31, 2021 at 8:31 PM Kinsella, Ray <mdr@ashroe.eu> wrote:
> On 31/08/2021 19:14, Ivan Malov wrote:
> > This one might be quite mature to be attested as stable.
> >
> > Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>
> > Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
> > ---
>
> Acked-by: Ray Kinsella <mdr@ashroe.eu>
>

Applied, thanks.
  

Patch

diff --git a/lib/eal/include/rte_log.h b/lib/eal/include/rte_log.h
index b706bb8710..44bf21bcb1 100644
--- a/lib/eal/include/rte_log.h
+++ b/lib/eal/include/rte_log.h
@@ -219,9 +219,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
@@ -237,7 +234,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 beeb986adc..e4c11d8fa3 100644
--- a/lib/eal/version.map
+++ b/lib/eal/version.map
@@ -110,6 +110,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;
@@ -251,7 +252,6 @@  EXPERIMENTAL {
 	rte_fbarray_is_used;
 	rte_fbarray_set_free;
 	rte_fbarray_set_used;
-	rte_log_register_type_and_pick_level;
 	rte_malloc_dump_heaps;
 	rte_mem_alloc_validator_register;
 	rte_mem_alloc_validator_unregister;