Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/120541/?format=api
https://patches.dpdk.org/api/patches/120541/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1670445089-23898-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": "<1670445089-23898-1-git-send-email-roretzla@linux.microsoft.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1670445089-23898-1-git-send-email-roretzla@linux.microsoft.com", "date": "2022-12-07T20:31:26", "name": "[v3,0/3] eal: rte_ctrl_thread_create API replacement", "commit_ref": null, "pull_url": null, "state": null, "archived": false, "hash": null, "submitter": { "id": 2077, "url": "https://patches.dpdk.org/api/people/2077/?format=api", "name": "Tyler Retzlaff", "email": "roretzla@linux.microsoft.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1670445089-23898-1-git-send-email-roretzla@linux.microsoft.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/120541/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/120541/checks/", "tags": {}, "related": [], "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 7F082A00C3;\n\tWed, 7 Dec 2022 21:31:33 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 2369B410D7;\n\tWed, 7 Dec 2022 21:31:33 +0100 (CET)", "from linux.microsoft.com (linux.microsoft.com [13.77.154.182])\n by mails.dpdk.org (Postfix) with ESMTP id 8FE74410D7\n for <dev@dpdk.org>; Wed, 7 Dec 2022 21:31:31 +0100 (CET)", "by linux.microsoft.com (Postfix, from userid 1086)\n id BB7C820B6C40; Wed, 7 Dec 2022 12:31:30 -0800 (PST)" ], "DKIM-Filter": "OpenDKIM Filter v2.11.0 linux.microsoft.com BB7C820B6C40", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;\n s=default; t=1670445090;\n bh=kUM4ufnaHbSEEHIbz5dwCNumdjFFhAy4xdV5rO2433c=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=Z9zxzFrhGmD3MzApx45VA928Zlt+rhiFvNQsld4vMjYLFxLpKSvz3NRNoL36DeOYa\n XMzJm8M/c+Z/S6ZVqmHAr87zat4/dNz9Q+mUUou1rMYZ/Yh+OSggDjUK21YnFhGR08\n bcGrnwlBQz3f82GkQX4M5ocaS/Pgz42Xkr2KD3Pw=", "From": "Tyler Retzlaff <roretzla@linux.microsoft.com>", "To": "dev@dpdk.org", "Cc": "thomas@monjalon.net, david.marchand@redhat.com,\n stephen@networkplumber.org,\n olivier.matz@6wind.com, Tyler Retzlaff <roretzla@linux.microsoft.com>", "Subject": "[PATCH v3 0/3] eal: rte_ctrl_thread_create API replacement", "Date": "Wed, 7 Dec 2022 12:31:26 -0800", "Message-Id": "<1670445089-23898-1-git-send-email-roretzla@linux.microsoft.com>", "X-Mailer": "git-send-email 1.8.3.1", "In-Reply-To": "<1670271868-11364-1-git-send-email-roretzla@linux.microsoft.com>", "References": "<1670271868-11364-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 <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": "Remove rte_ctrl_thread_create API which exposes pthread_t and provide\nnew rte_control_thread_create API based on EALs rte_thread_t.\n\nTo limit compatibility regression risk and ease of removal of the\nexisting rte_ctrl_thread_create in the future duplicate most of the\nexisting implementation. The duplication will be removed when\nrte_ctrl_thread_create is finally duplicated/removed.\n\nThe unit test for rte_ctrl_thread_create has been duplicated to exercise\nboth the old and the new API during transition, as with the API the\nduplicate test will be removed when the rte_ctrl_thread_create API is\nremoved.\n\nv3:\n * use {ctrl,control}_start_routine for start_routine field names\n * fix conditional evaluation style p == NULL instead of !p\n * tweak documentation comment for rte_control_thread_create\n - \"the EAL threads are then excluded\"\n - note RTE_MAX_THREAD_NAME_LEN preprocessor definition\n is the name size (including terminating NUL) limit\n * add missing cast to uintptr_t\n\nv2:\n * correct style error void * (*foo) -> void *(*foo)\n * place retval on lhs of comparison 0 != foo() -> foo() != 0\n * add missing commit description on patch 3/3\n * add cast uintptr_t to pthread_t where appropriate\n * fix doxygen @param names to match parameter names\n\nTyler Retzlaff (3):\n eal: add rte control thread create API\n test: add rte control thread create API test\n eal: deprecate pthread control thread create API\n\n app/test/test_lcores.c | 42 ++++++++++++++++\n doc/guides/rel_notes/deprecation.rst | 4 ++\n lib/eal/common/eal_common_thread.c | 93 ++++++++++++++++++++++++++++++++----\n lib/eal/include/rte_thread.h | 30 ++++++++++++\n lib/eal/version.map | 3 ++\n 5 files changed, 164 insertions(+), 8 deletions(-)", "diff": null, "prefixes": [ "v3", "0/3" ] }{ "id": 120541, "url": "