Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/96479/?format=api
http://patchwork.dpdk.org/api/patches/96479/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20210730214453.19975-1-honnappa.nagarahalli@arm.com/", "project": { "id": 1, "url": "http://patchwork.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": "<20210730214453.19975-1-honnappa.nagarahalli@arm.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210730214453.19975-1-honnappa.nagarahalli@arm.com", "date": "2021-07-30T21:44:53", "name": "doc: abstract the behaviour of rte_ctrl_thread_create", "commit_ref": null, "pull_url": null, "state": "rejected", "archived": true, "hash": "d79624c9a25f72d69522a16e5244c1f8ab3efe86", "submitter": { "id": 1045, "url": "http://patchwork.dpdk.org/api/people/1045/?format=api", "name": "Honnappa Nagarahalli", "email": "honnappa.nagarahalli@arm.com" }, "delegate": { "id": 1, "url": "http://patchwork.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20210730214453.19975-1-honnappa.nagarahalli@arm.com/mbox/", "series": [ { "id": 18111, "url": "http://patchwork.dpdk.org/api/series/18111/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=18111", "date": "2021-07-30T21:44:53", "name": "doc: abstract the behaviour of rte_ctrl_thread_create", "version": 1, "mbox": "http://patchwork.dpdk.org/series/18111/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/96479/comments/", "check": "warning", "checks": "http://patchwork.dpdk.org/api/patches/96479/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 6F108A0C40;\n\tFri, 30 Jul 2021 23:45:05 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id F1B3540040;\n\tFri, 30 Jul 2021 23:45:04 +0200 (CEST)", "from foss.arm.com (foss.arm.com [217.140.110.172])\n by mails.dpdk.org (Postfix) with ESMTP id 49F5B4003F\n for <dev@dpdk.org>; Fri, 30 Jul 2021 23:45:03 +0200 (CEST)", "from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14])\n by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A8A2811B3;\n Fri, 30 Jul 2021 14:45:02 -0700 (PDT)", "from qc2400f-1.austin.arm.com (qc2400f-1.austin.arm.com\n [10.118.12.44])\n by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 948253F70D;\n Fri, 30 Jul 2021 14:45:02 -0700 (PDT)" ], "From": "Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>", "To": "dev@dpdk.org, honnappa.nagarahalli@arm.com, olivier.matz@6wind.com,\n lucp.at.work@gmail.com, david.marchand@redhat.com, thomas@monjalon.net", "Cc": "ruifeng.wang@arm.com,\n\tnd@arm.com", "Date": "Fri, 30 Jul 2021 16:44:53 -0500", "Message-Id": "<20210730214453.19975-1-honnappa.nagarahalli@arm.com>", "X-Mailer": "git-send-email 2.17.1", "Subject": "[dpdk-dev] [PATCH] doc: abstract the behaviour of\n rte_ctrl_thread_create", "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", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "The current expected behaviour of the function rte_ctrl_thread_create\nis rigid which makes the implementation of the function complex.\nMake the expected behaviour abstract to allow for simplified\nimplementation.\n\nWith this change, the calls to pthread_setaffinity_np can be moved\nto the control thread. This will avoid the use of\npthread_barrier_wait and simplify the synchronization mechanism\nbetween rte_ctrl_thread_create and the calling thread.\n\nSigned-off-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>\n---\nPossible patch is at:\nhttp://patches.dpdk.org/project/dpdk/patch/20210730213709.19400-1-honnappa.nagarahalli@arm.com/\n\n doc/guides/rel_notes/deprecation.rst | 7 +++++++\n 1 file changed, 7 insertions(+)", "diff": "diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst\nindex 9584d6bfd7..1960e3c8bf 100644\n--- a/doc/guides/rel_notes/deprecation.rst\n+++ b/doc/guides/rel_notes/deprecation.rst\n@@ -11,6 +11,13 @@ here.\n Deprecation Notices\n -------------------\n \n+* eal: The expected behaviour of the function ``rte_ctrl_thread_create``\n+ abstracted to allow for simplified implementation. The new behaviour is\n+ as follows:\n+ Creates a control thread with the given name. The affinity of the new\n+ thread is based on the CPU affinity retrieved at the time rte_eal_init()\n+ was called, the dataplane and service lcores are then excluded.\n+\n * kvargs: The function ``rte_kvargs_process`` will get a new parameter\n for returning key match count. It will ease handling of no-match case.\n \n", "prefixes": [] }{ "id": 96479, "url": "