[v9,4/4] eal: deprecation notice for rte thread setname API
Checks
Commit Message
Notify deprecation of rte_thread_setname API, it will be removed as it
exposes platform-specific thread details. The functionality it provided
is now available via the new rte_lcore_set_name API.
Signed-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
Acked-by: Morten Brørup <mb@smartsharesystems.com>
Acked-by: David Marchand <david.marchand@redhat.com>
---
doc/guides/rel_notes/deprecation.rst | 5 +++++
1 file changed, 5 insertions(+)
Comments
24/01/2023 19:02, Tyler Retzlaff:
> +* eal: The function ``rte_thread_setname`` is planned to be deprecated
> + starting with the 23.03 release subject to the replacement API
> + rte_thread_set_name being marked as stable and planned to be removed
> + by the 23.11 release.
You are introducing rte_thread_set_name as experimental in 23.03.
So we are supposed to wait at least a release to make it stable.
Let's deprecate it in 23.07 and remove in 23.11.
On Tue, Jan 24, 2023 at 07:05:18PM +0100, Thomas Monjalon wrote:
> 24/01/2023 19:02, Tyler Retzlaff:
> > +* eal: The function ``rte_thread_setname`` is planned to be deprecated
> > + starting with the 23.03 release subject to the replacement API
> > + rte_thread_set_name being marked as stable and planned to be removed
> > + by the 23.11 release.
>
> You are introducing rte_thread_set_name as experimental in 23.03.
> So we are supposed to wait at least a release to make it stable.
> Let's deprecate it in 23.07 and remove in 23.11.
>
updated with recommended date.
thanks
@@ -18,6 +18,11 @@ Deprecation Notices
in the future. Applications can use ``devtools/cocci/func_or_ret.cocci``
to update their code.
+* eal: The function ``rte_thread_setname`` is planned to be deprecated
+ starting with the 23.03 release subject to the replacement API
+ rte_thread_set_name being marked as stable and planned to be removed
+ by the 23.11 release.
+
* rte_atomicNN_xxx: These APIs do not take memory order parameter. This does
not allow for writing optimized code for all the CPU architectures supported
in DPDK. DPDK has adopted the atomic operations from