Cover Detail
Show a cover letter.
GET /api/covers/122318/?format=api
https://patches.dpdk.org/api/covers/122318/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/cover/1674071646-6854-1-git-send-email-roretzla@linux.microsoft.com/", "project": { "id": 1, "url": "https://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<1674071646-6854-1-git-send-email-roretzla@linux.microsoft.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1674071646-6854-1-git-send-email-roretzla@linux.microsoft.com", "date": "2023-01-18T19:54:01", "name": "[v6,0/5] add rte_thread_set_name API for rte_thread_t", "submitter": { "id": 2077, "url": "https://patches.dpdk.org/api/people/2077/?format=api", "name": "Tyler Retzlaff", "email": "roretzla@linux.microsoft.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/cover/1674071646-6854-1-git-send-email-roretzla@linux.microsoft.com/mbox/", "series": [ { "id": 26599, "url": "https://patches.dpdk.org/api/series/26599/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=26599", "date": "2023-01-18T19:54:01", "name": "add rte_thread_set_name API for rte_thread_t", "version": 6, "mbox": "https://patches.dpdk.org/series/26599/mbox/" } ], "comments": "https://patches.dpdk.org/api/covers/122318/comments/", "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 25E1342411;\n\tWed, 18 Jan 2023 20:54:13 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B461740223;\n\tWed, 18 Jan 2023 20:54:12 +0100 (CET)", "from linux.microsoft.com (linux.microsoft.com [13.77.154.182])\n by mails.dpdk.org (Postfix) with ESMTP id 0649C400D6\n for <dev@dpdk.org>; Wed, 18 Jan 2023 20:54:10 +0100 (CET)", "by linux.microsoft.com (Postfix, from userid 1086)\n id 4586720E0A06; Wed, 18 Jan 2023 11:54:10 -0800 (PST)" ], "DKIM-Filter": "OpenDKIM Filter v2.11.0 linux.microsoft.com 4586720E0A06", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;\n s=default; t=1674071650;\n bh=d6MSMnBezGIMNO+p/ocBlPQZBQPyK9fJN2LKtslDK2E=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=jYaZubfdf0Ektd58geaik1JQp2iYhaWmVovnC9EL7/C/xss1A86P86RIz1nrJVKZs\n LE/7E5+4mzD7qXizmJPkC8MHniIAajMW2HQeskcwE2+UFYYHf/gl026b1B1r54e1Jw\n YOR7++VDFQeVxM9ovd/Z825C1POQG4pxLwRiu854=", "From": "Tyler Retzlaff <roretzla@linux.microsoft.com>", "To": "dev@dpdk.org", "Cc": "thomas@monjalon.net, david.marchand@redhat.com, jerinjacobk@gmail.com,\n mb@smartsharesystems.com, Tyler Retzlaff <roretzla@linux.microsoft.com>", "Subject": "[PATCH v6 0/5] add rte_thread_set_name API for rte_thread_t", "Date": "Wed, 18 Jan 2023 11:54:01 -0800", "Message-Id": "<1674071646-6854-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>", "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 <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org" }, "content": "Replace the rte_thread_setname API which operates on pthread_t with\nrte_thread_set_name that operates on rte_thread_t.\n\nWe should try to align tracing output from the EAL for all platforms\nbut in this case we are retaining an exception for linux as requested\nfrom the community.\n\nv6:\n * clean up commit descriptions\n * add patch to set worker thread name on windows\n * remove __rte_deprecated from rte_thread_setname\n\nv5:\n * rename rte_thread_getname -> thread_get_name\n\nv4:\n * retain and move rte_thread_getname function to the\n single site of use\n\nv3:\n * fix coding style error\n * move remove of rte_thread_getname to patch #2\n\nv2:\n * initial series provided get/set for lcore thread id, those\n additions have been removed as per discussion. including\n unit test\n * add a single api rte_thread_set_name does not fail but emits\n debug logging if the internal implementation is aware of\n in-exact use of the name or failure to set the name\n * adapt mlx5 driver to avoid use of deprecated API\n\nTyler Retzlaff (5):\n eal: add thread set name API operating on rte thread\n eal: remove thread getname API\n eal: set thread name on Windows worker threads\n drivers: mlx5 use rte thread set name\n eal: deprecation notice for rte thread setname API\n\nSeries-acked-by: Morten Brørup <mb@smartsharesystems.com>\n\n doc/guides/rel_notes/deprecation.rst | 4 ++++\n drivers/net/mlx5/mlx5_hws_cnt.c | 3 ++-\n drivers/vdpa/mlx5/mlx5_vdpa_event.c | 3 +--\n lib/eal/common/eal_common_thread.c | 8 ++-----\n lib/eal/common/eal_common_trace.c | 15 +++++++++++-\n lib/eal/freebsd/eal.c | 3 +--\n lib/eal/freebsd/eal_thread.c | 20 +++++++++-------\n lib/eal/include/rte_lcore.h | 17 -------------\n lib/eal/include/rte_thread.h | 17 +++++++++++++\n lib/eal/linux/eal.c | 6 +----\n lib/eal/linux/eal_thread.c | 29 ++++++++++++++---------\n lib/eal/version.map | 4 +++-\n lib/eal/windows/eal.c | 7 ++++++\n lib/eal/windows/rte_thread.c | 46 ++++++++++++++++++++++++++++++++++++\n 14 files changed, 127 insertions(+), 55 deletions(-)" }{ "id": 122318, "url": "