Cover Detail
Show a cover letter.
GET /api/covers/122449/?format=api
http://patches.dpdk.org/api/covers/122449/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/cover/1674502774-20253-1-git-send-email-roretzla@linux.microsoft.com/", "project": { "id": 1, "url": "http://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": "<1674502774-20253-1-git-send-email-roretzla@linux.microsoft.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1674502774-20253-1-git-send-email-roretzla@linux.microsoft.com", "date": "2023-01-23T19:39:29", "name": "[v7,0/5] add rte_thread_set_name API for rte_thread_t", "submitter": { "id": 2077, "url": "http://patches.dpdk.org/api/people/2077/?format=api", "name": "Tyler Retzlaff", "email": "roretzla@linux.microsoft.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/cover/1674502774-20253-1-git-send-email-roretzla@linux.microsoft.com/mbox/", "series": [ { "id": 26630, "url": "http://patches.dpdk.org/api/series/26630/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=26630", "date": "2023-01-23T19:39:29", "name": "add rte_thread_set_name API for rte_thread_t", "version": 7, "mbox": "http://patches.dpdk.org/series/26630/mbox/" } ], "comments": "http://patches.dpdk.org/api/covers/122449/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 1D22E4246C;\n\tMon, 23 Jan 2023 20:39:38 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B183740223;\n\tMon, 23 Jan 2023 20:39:37 +0100 (CET)", "from linux.microsoft.com (linux.microsoft.com [13.77.154.182])\n by mails.dpdk.org (Postfix) with ESMTP id B714D400EF\n for <dev@dpdk.org>; Mon, 23 Jan 2023 20:39:36 +0100 (CET)", "by linux.microsoft.com (Postfix, from userid 1086)\n id 1016020E2C01; Mon, 23 Jan 2023 11:39:36 -0800 (PST)" ], "DKIM-Filter": "OpenDKIM Filter v2.11.0 linux.microsoft.com 1016020E2C01", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;\n s=default; t=1674502776;\n bh=WLcWVT71CuxonL9JjVw1UH3jlCJVaO+ICkY8KwMl2bE=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=HUqVkk6gEykTQmoIs6MFwz6YFb/MaoplOis6jMinrpLV9RzIVzWDzpLhOvRDp+FGz\n EPmWEG+c4UN/Ej3uAjmeXK6n/aXy4JdIo5BoImhkuvvyqi3qdvF6Ppe2kA10yTUvSH\n syccbY5UwXOm5eQ3VS4mj/yez9P4JxghqGaVljZA=", "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 v7 0/5] add rte_thread_set_name API for rte_thread_t", "Date": "Mon, 23 Jan 2023 11:39:29 -0800", "Message-Id": "<1674502774-20253-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\nv7:\n * don't dereference thread_name after successful completion\n of mbsrtowcs. (fixes NULL dereference on Windows).\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\nSeries-acked-by: Morten Brørup <mb@smartsharesystems.com>\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\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 | 43 ++++++++++++++++++++++++++++++++++++\n 14 files changed, 124 insertions(+), 55 deletions(-)" }{ "id": 122449, "url": "