From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id BDE5D4247A; Tue, 24 Jan 2023 19:02:58 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EADC442D3F; Tue, 24 Jan 2023 19:02:42 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id B1AC84113F for ; Tue, 24 Jan 2023 19:02:38 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1086) id 145C820E34CD; Tue, 24 Jan 2023 10:02:37 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 145C820E34CD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1674583358; bh=bquWnT26v6YDH7aj/cY8c0igM5gjFXsZ8el7rXJDfw0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=e+gFDtpBKdGmacHUDs56TzuKEpov/d9i3KBzmCdshaIdHb1bpK92sBBQ3BALJxk1r TJKXznyFYqSQeuLvpk4RQXbCQ6jEyhbi/CWk7wX057FosQT8Z7yVzS9V60m40YCz2h jj5pFDQPcCSWmWotrKFACVaZxxM8Ik3QJxm3a2zU= From: Tyler Retzlaff To: dev@dpdk.org Cc: thomas@monjalon.net, david.marchand@redhat.com, jerinjacobk@gmail.com, mb@smartsharesystems.com, Tyler Retzlaff Subject: [PATCH v9 4/4] eal: deprecation notice for rte thread setname API Date: Tue, 24 Jan 2023 10:02:31 -0800 Message-Id: <1674583351-15292-5-git-send-email-roretzla@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1674583351-15292-1-git-send-email-roretzla@linux.microsoft.com> References: <1670439617-9054-1-git-send-email-roretzla@linux.microsoft.com> <1674583351-15292-1-git-send-email-roretzla@linux.microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 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 Acked-by: Morten Brørup Acked-by: David Marchand --- doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index e18ac34..5eb930f 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -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 -- 1.8.3.1