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 CD647A0543; Wed, 14 Dec 2022 17:47:25 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B9FED4021D; Wed, 14 Dec 2022 17:47:25 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 2CB5E400D6 for ; Wed, 14 Dec 2022 17:47:24 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1086) id 76DD120B87C8; Wed, 14 Dec 2022 08:47:23 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 76DD120B87C8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1671036443; bh=PKK/5gFRGqt3WdN/WksDpttev2MSI0qy4nzZN7rtj4g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lPjJO3F4JtNggk+/dRZQjqnU2xmbC6MBTSajwiRKK4XT5b/OOVKwi39zWUQeX///2 XjqxeN3tyt0jwvDt6yLNXSpJK53acOnvbAFhD6waHrns0LpMPALpEq7LOJEf6J7cD0 T1ctsA/CPJHb4NI1zaGK0+hpn/IcygiD5SKo6NV0= From: Tyler Retzlaff To: dev@dpdk.org Cc: thomas@monjalon.net, david.marchand@redhat.com, olivier.matz@6wind.com, stephen@networkplumber.org, mb@smartsharesystems.com, Tyler Retzlaff Subject: [PATCH v2 0/4] add rte_thread_set_name API for rte_thread_t Date: Wed, 14 Dec 2022 08:47:17 -0800 Message-Id: <1671036441-10234-1-git-send-email-roretzla@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1670439617-9054-1-git-send-email-roretzla@linux.microsoft.com> References: <1670439617-9054-1-git-send-email-roretzla@linux.microsoft.com> 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 Replace the rte_thread_setname API which operates on pthread_t with rte_thread_set_name that operates on rte_thread_t. v2: * initial series provided get/set for lcore thread id, those additions have been removed as per discussion. including unit test. * add a single api rte_thread_set_name does not fail but emits debug logging if the internal implementation is aware of in-exact use of the name or failure to set the name. * adapt mlx5 driver to avoid use of deprecated API. Tyler Retzlaff (4): eal: add thread set name API operating on rte thread eal: remove thread getname API eal: deprecate rte thread setname API drivers: mlx5 use rte thread set name doc/guides/rel_notes/deprecation.rst | 4 ++++ drivers/net/mlx5/mlx5_hws_cnt.c | 4 +++- drivers/vdpa/mlx5/mlx5_vdpa_event.c | 3 +-- lib/eal/common/eal_common_thread.c | 9 +++---- lib/eal/common/eal_common_trace.c | 2 -- lib/eal/freebsd/eal.c | 4 +++- lib/eal/freebsd/eal_thread.c | 20 +++++++++------- lib/eal/include/rte_lcore.h | 19 ++------------- lib/eal/include/rte_thread.h | 17 +++++++++++++ lib/eal/linux/eal.c | 8 +++---- lib/eal/linux/eal_thread.c | 29 ++++++++++++++--------- lib/eal/version.map | 4 +++- lib/eal/windows/rte_thread.c | 46 ++++++++++++++++++++++++++++++++++++ 13 files changed, 114 insertions(+), 55 deletions(-) -- 1.8.3.1