Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/130312/?format=api
https://patches.dpdk.org/api/patches/130312/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20230815013826.1288972-7-okaya@kernel.org/", "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": "<20230815013826.1288972-7-okaya@kernel.org>", "list_archive_url": "https://inbox.dpdk.org/dev/20230815013826.1288972-7-okaya@kernel.org", "date": "2023-08-15T01:38:25", "name": "[v1,6/7] eal_interrupts: don't reinitialize threads", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "8ca58711c414b93158bcda32d06e213997e85a9f", "submitter": { "id": 2903, "url": "https://patches.dpdk.org/api/people/2903/?format=api", "name": "Sinan Kaya", "email": "okaya@kernel.org" }, "delegate": { "id": 1, "url": "https://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20230815013826.1288972-7-okaya@kernel.org/mbox/", "series": [ { "id": 29223, "url": "https://patches.dpdk.org/api/series/29223/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=29223", "date": "2023-08-15T01:38:19", "name": "support reinit flow", "version": 1, "mbox": "https://patches.dpdk.org/series/29223/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/130312/comments/", "check": "warning", "checks": "https://patches.dpdk.org/api/patches/130312/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 D138843067;\n\tTue, 15 Aug 2023 03:39:13 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id F338E43274;\n\tTue, 15 Aug 2023 03:38:45 +0200 (CEST)", "from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217])\n by mails.dpdk.org (Postfix) with ESMTP id 5002643036\n for <dev@dpdk.org>; Tue, 15 Aug 2023 03:38:39 +0200 (CEST)", "from smtp.kernel.org (relay.kernel.org [52.25.139.140])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits))\n (No client certificate requested)\n by dfw.source.kernel.org (Postfix) with ESMTPS id D400860F8F;\n Tue, 15 Aug 2023 01:38:38 +0000 (UTC)", "by smtp.kernel.org (Postfix) with ESMTPSA id E3E84C433C8;\n Tue, 15 Aug 2023 01:38:37 +0000 (UTC)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;\n s=k20201202; t=1692063518;\n bh=9zO4GbT0DX01CrTot/ga9uo+cU4znM3HqJDI7z2lsZE=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=Aeqop0yto75tVQbe9qvySueyiSi7j63xnROV3STWVjdZgl8AoNGzrut/YubUm6ju4\n czYTW5gsTVhr2RH7zIwJ1sK4x6bl9/7mTv3u96uxLUaE5afMiEkuA/w2laeEvyJrST\n x+rT1tHoN0Cx83FdJpYcmttXtRMDYecnlSEHeGvCyoz57ZF39CH+ChNRZS64AabdNW\n yIwmAWclZ6cRAB/DhTHyVqhCksxvyjTEhCFzPwW2BR72u5sPUJYa7eEKSN4EZ1ClIU\n VTSWi50C4TiXKLUZ6OMJhmbwf0cvrQB7fteeaLzQQ//Ec6J6/nmZLjCyxvfXGVLpHO\n cjX3vy2Gzynfw==", "From": "okaya@kernel.org", "To": "Harman Kalra <hkalra@marvell.com>", "Cc": "dev@dpdk.org,\n\tSinan Kaya <okaya@kernel.org>", "Subject": "[PATCH v1 6/7] eal_interrupts: don't reinitialize threads", "Date": "Mon, 14 Aug 2023 21:38:25 -0400", "Message-Id": "<20230815013826.1288972-7-okaya@kernel.org>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20230815013826.1288972-1-okaya@kernel.org>", "References": "<20230815013826.1288972-1-okaya@kernel.org>", "MIME-Version": "1.0", "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": "From: Sinan Kaya <okaya@kernel.org>\n\nSigned-off-by: Sinan Kaya <okaya@kernel.org>\n---\n lib/eal/linux/eal_interrupts.c | 5 +++++\n 1 file changed, 5 insertions(+)", "diff": "diff --git a/lib/eal/linux/eal_interrupts.c b/lib/eal/linux/eal_interrupts.c\nindex d52ec8eb4c..aa296f153b 100644\n--- a/lib/eal/linux/eal_interrupts.c\n+++ b/lib/eal/linux/eal_interrupts.c\n@@ -1174,6 +1174,10 @@ int\n rte_eal_intr_init(void)\n {\n \tint ret = 0;\n+\tstatic int initialized = 0;\n+\n+\tif (initialized)\n+\t\treturn 0;\n \n \t/* init the global interrupt source head */\n \tTAILQ_INIT(&intr_sources);\n@@ -1196,6 +1200,7 @@ rte_eal_intr_init(void)\n \t\t\t\"Failed to create thread for interrupt handling\\n\");\n \t}\n \n+\tinitialized = true;\n \treturn ret;\n }\n \n", "prefixes": [ "v1", "6/7" ] }{ "id": 130312, "url": "