remove more experimental tags
cover remove more experimental tags
Remove some of the older experimental tags for 22.11
Stephen Hemminger (3):
eal: remove experimental from rte_epoll_wait_interruptible
eal: make rte_log_list_types not experimental
rwlock: make trylock operations no longer experimental
lib/eal/include/generic/rte_rwlock.h | 12 ++---------- lib/eal/include/rte_epoll.h | 1 - lib/eal/include/rte_log.h | 4 ---- lib/eal/version.map | 4 ++-- 4 files changed, 4 insertions(+), 17 deletions(-)
Signature · 1 line
2.35.1
PATCH 1/3 eal: remove experimental from rte_epoll_wait_interruptible
This call was added in 20.11, so time to make it not experimental.
--- lib/eal/include/rte_epoll.h | 1 - lib/eal/version.map | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-)
lib/eal/include/rte_epoll.h +0 -1
@@ -85,7 +85,6 @@ rte_epoll_wait(int epfd, struct rte_epoll_event *events,* - On success, returns the number of available event. * - On failure, a negative value. */ -__rte_experimental int rte_epoll_wait_interruptible (int epfd,struct rte_epoll_event *events,int maxevents,int timeout);
lib/eal/version.map +1 -1
@@ -76,6 +76,7 @@ DPDK_23 { rte_eal_wait_lcore; rte_epoll_ctl; rte_epoll_wait; + rte_epoll_wait_interruptible; rte_exit; rte_extmem_attach; rte_extmem_detach;
@@ -387,7 +388,6 @@ EXPERIMENTAL { # added in 20.11 __rte_eal_trace_generic_size_t; # WINDOWS_NO_EXPORT rte_cpu_get_intrinsics_support; # WINDOWS_NO_EXPORT - rte_epoll_wait_interruptible; rte_service_lcore_may_be_active; rte_vect_get_max_simd_bitwidth; rte_vect_set_max_simd_bitwidth;
Signature · 1 line
2.35.1
PATCH 2/3 eal: make rte_log_list_types not experimental
In reply to Stephen HemmingerThis call was added in 21.05 so time to make it stable.
--- lib/eal/include/rte_log.h | 4 ---- lib/eal/version.map | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-)
lib/eal/include/rte_log.h +0 -4
@@ -235,9 +235,6 @@ int rte_log_register(const char *name);int rte_log_register_type_and_pick_level (const char *name,uint32_t level_def);/** -* @warning -* @b EXPERIMENTAL: this API may change without prior notice -* * Dump name of each logtype, one per line. * * @param out
@@ -245,7 +242,6 @@ int rte_log_register_type_and_pick_level(const char *name, uint32_t level_def);* @param prefix * String preceding each logtype in the output. */ -__rte_experimental void rte_log_list_types (FILE *out,const char *prefix);/**
lib/eal/version.map +1 -1
@@ -148,6 +148,7 @@ DPDK_23 { rte_log_get_global_level; rte_log_get_level; rte_log_get_stream; + rte_log_list_types; rte_log_register; rte_log_register_type_and_pick_level; rte_log_set_global_level;
@@ -400,7 +401,6 @@ EXPERIMENTAL { # added in 21.05 rte_devargs_reset; rte_intr_callback_unregister_sync; - rte_log_list_types; rte_thread_key_create; rte_thread_key_delete; rte_thread_value_get;
Signature · 1 line
2.35.1
PATCH 3/3 rwlock: make trylock operations no longer experimental
In reply to Stephen HemmingerThese have been in for since 19.02, time to take off the experimental tag.
--- lib/eal/include/generic/rte_rwlock.h | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-)
lib/eal/include/generic/rte_rwlock.h +2 -10
@@ -108,10 +108,7 @@ rte_rwlock_read_lock(rte_rwlock_t *rwl) }/** -* @warning -* @b EXPERIMENTAL: this API may change without prior notice. -* -* try to take a read lock. +* Try to take a read lock. * * @param rwl * A pointer to a rwlock structure.
@@ -120,7 +117,6 @@ rte_rwlock_read_lock(rte_rwlock_t *rwl)* - -EBUSY if lock could not be acquired for reading because a * writer holds the lock */ -__rte_experimental static inline int rte_rwlock_read_trylock (rte_rwlock_t *rwl) {
@@ -159,10 +155,7 @@ rte_rwlock_read_unlock(rte_rwlock_t *rwl) }/** -* @warning -* @b EXPERIMENTAL: this API may change without prior notice. -* -* try to take a write lock. +* Try to take a write lock. * * @param rwl * A pointer to a rwlock structure.
@@ -171,7 +164,6 @@ rte_rwlock_read_unlock(rte_rwlock_t *rwl)* - -EBUSY if lock could not be acquired for writing because * it was already locked for reading or writing */ -__rte_experimental static inline int rte_rwlock_write_trylock (rte_rwlock_t *rwl) {
Signature · 1 line
2.35.1
Quoted 8 lines · Stephen Hemminger
Remove some of the older experimental tags for 22.11
Stephen Hemminger (3):
eal: remove experimental fromrte_epoll_wait_interruptible
eal: makerte_log_list_typesnot experimental
rwlock: make trylock operations no longer experimental
Quoted 5 lines
lib/eal/include/generic/rte_rwlock.h | 12 ++---------- lib/eal/include/rte_epoll.h | 1 - lib/eal/include/rte_log.h | 4 ---- lib/eal/version.map | 4 ++-- 4 files changed, 4 insertions(+), 17 deletions(-)
Patch 1 (resp. 2) removes the last remaining experimental function declared in rte_epoll.h (resp. rte_log.h).
We can drop #include <rte_compat.h> in this header.
For the series,
Signature · 1 line
David Marchand
Quoted 8 lines · Stephen Hemminger
Remove some of the older experimental tags for 22.11
Stephen Hemminger (3):
eal: remove experimental fromrte_epoll_wait_interruptible
eal: makerte_log_list_typesnot experimental
rwlock: make trylock operations no longer experimental
Quoted 5 lines
lib/eal/include/generic/rte_rwlock.h | 12 ++---------- lib/eal/include/rte_epoll.h | 1 - lib/eal/include/rte_log.h | 4 ---- lib/eal/version.map | 4 ++-- 4 files changed, 4 insertions(+), 17 deletions(-)
Series applied.
I added to my todolist that we need a cleanup for unneeded inclusion of rte_compat.h (the headers touched in this series are not the only one concerned).
Signature · 1 line
David Marchand