Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/133676/?format=api
https://patches.dpdk.org/api/patches/133676/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20231031145756.517091-1-thomas@monjalon.net/", "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": "<20231031145756.517091-1-thomas@monjalon.net>", "list_archive_url": "https://inbox.dpdk.org/dev/20231031145756.517091-1-thomas@monjalon.net", "date": "2023-10-31T14:57:56", "name": "vdpa/mlx5: revert event thread to normal priority", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "ecf146f0647edb03c265595c47bf01f0e6d0a555", "submitter": { "id": 685, "url": "https://patches.dpdk.org/api/people/685/?format=api", "name": "Thomas Monjalon", "email": "thomas@monjalon.net" }, "delegate": { "id": 2642, "url": "https://patches.dpdk.org/api/users/2642/?format=api", "username": "mcoquelin", "first_name": "Maxime", "last_name": "Coquelin", "email": "maxime.coquelin@redhat.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20231031145756.517091-1-thomas@monjalon.net/mbox/", "series": [ { "id": 30076, "url": "https://patches.dpdk.org/api/series/30076/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=30076", "date": "2023-10-31T14:57:56", "name": "vdpa/mlx5: revert event thread to normal priority", "version": 1, "mbox": "https://patches.dpdk.org/series/30076/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/133676/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/133676/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 A2D4243252;\n\tTue, 31 Oct 2023 15:58:49 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 72C354029E;\n\tTue, 31 Oct 2023 15:58:49 +0100 (CET)", "from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com\n [66.111.4.26]) by mails.dpdk.org (Postfix) with ESMTP id E44E040284\n for <dev@dpdk.org>; Tue, 31 Oct 2023 15:58:47 +0100 (CET)", "from compute5.internal (compute5.nyi.internal [10.202.2.45])\n by mailout.nyi.internal (Postfix) with ESMTP id 832265C01F5;\n Tue, 31 Oct 2023 10:58:47 -0400 (EDT)", "from mailfrontend1 ([10.202.2.162])\n by compute5.internal (MEProxy); Tue, 31 Oct 2023 10:58:47 -0400", "by mail.messagingengine.com (Postfix) with ESMTPA; Tue,\n 31 Oct 2023 10:58:45 -0400 (EDT)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=\n cc:cc:content-transfer-encoding:content-type:date:date:from:from\n :in-reply-to:message-id:mime-version:reply-to:sender:subject\n :subject:to:to; s=fm3; t=1698764327; x=1698850727; bh=+WsCh3+pos\n iBF/7VhbBYY1D/XPySBXH22JWvc/eCJcI=; b=sOZBIMybAU4t1hqIEPzYlsGUHB\n zgtWM0/pRKGCu2jfr07L0RK4EgP9RlM2D4xUK6MNgbgX/AONvIUQ1quUTMnoMW97\n 11nGMwTRIAB/1kSTwKPXG43sZ7xJjq2vStwyr+iK9Y75w8t3rJ8iR98nDkqWd7fs\n RUBjjtT9QRkXvyv7y9BTDr+dIKP63xeKp0B+Y/UDXBiqqcp85wvrl/LqhfSBib9i\n KYlmSeIgZy56i9IMiuOiSCqnR4l8c5io51Sj6Lk13nVHvGtAe7IbgmDbY4UIrcZG\n Xhh+T8Vw8vKqExTE/aSuR3Lt6pmGBthpSOW1jr8SaMB5rFO73K062yz5VjVQ==", "v=1; a=rsa-sha256; c=relaxed/relaxed; d=\n messagingengine.com; h=cc:cc:content-transfer-encoding\n :content-type:date:date:feedback-id:feedback-id:from:from\n :in-reply-to:message-id:mime-version:reply-to:sender:subject\n :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender\n :x-sasl-enc; s=fm3; t=1698764327; x=1698850727; bh=+WsCh3+posiBF\n /7VhbBYY1D/XPySBXH22JWvc/eCJcI=; b=Xo/BKdjvebHojbm2QPBG0mNjX5m5b\n QUa5ZrYvonHZ7dD7jl1ZrxDSbMglLtdrDaXrku1CY/QA06K9EOvb/6wQgQEfAjdl\n cmJSVZ3qBEDEaNvCfGVrWsR68EZNZfkxNilKpsOLOzfRYEltxcm3Z3lpPO74zbZw\n uOxr2y4Y4uP3Y7mkD6WsArpjb0egrosqxv27900FoAvSrD2LTOqeoD98vkGSkKRb\n sa8iI1sT1D1Q/MNEXW3UGm1FeO5oikQG0X3MBAanXSq1zPBaIeEODwcYkfNFT2ta\n 8pl0qL+Qk3nmCTSdEV+32zLKUkwIcv7iOO9ZGpLS/n210Nd0b7LU2b6Ew==" ], "X-ME-Sender": "<xms:JxZBZQ76iWZxe_mLh3L5lhqI7RDtIEZdTYVxEHHGUbJRc4-0o3YqYg>\n <xme:JxZBZR4oRpAbjYtI6i3Y_J_z9ZHJOM9ISn7OvhNeZ9u6WoQGeZF7oeG5B12eyNDzk\n xJEZMyqYGGqCm-t-g>", "X-ME-Received": "\n <xmr:JxZBZfdg8mw_Yzj2unJlS2Z7-LFqgckrztqem2t3QgVJlmx4nq9lmvr42VGMrwVVg7-QbdZ_VnJer0DmJvoTVte3og>", "X-ME-Proxy-Cause": "\n gggruggvucftvghtrhhoucdtuddrgedvkedruddtvddgieelucetufdoteggodetrfdotf\n fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen\n uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne\n cujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomhepvfhhohhmrghs\n ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf\n frrghtthgvrhhnpeevveefveeiiefhtedukeegkeelieegffeukeevudetueffieduveet\n iedukeefleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh\n hmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght", "X-ME-Proxy": "<xmx:JxZBZVKf6ADIL3GeEb1h6NHnqzRuo4P-ZUZU70M6KhlZP5WxkXS2cA>\n <xmx:JxZBZUJGC5qlc8hV9sQtrMEn2bE-ivGFVBI6R-4aWzi4LL16PjkUew>\n <xmx:JxZBZWzSqjl18CZymOR80GxitaSsITHzbE4SgwZG-ZlCyK-Zkcg73Q>\n <xmx:JxZBZeiPgPEUJ4SYe6eLQbCK0hCJeN3d6grzVIeGWfdh-6Z8la4Q0w>", "Feedback-ID": "i47234305:Fastmail", "From": "Thomas Monjalon <thomas@monjalon.net>", "To": "dev@dpdk.org", "Cc": "Matan Azrad <matan@nvidia.com>,\n Viacheslav Ovsiienko <viacheslavo@nvidia.com>,\n Tyler Retzlaff <roretzla@linux.microsoft.com>,\n Konstantin Ananyev <konstantin.v.ananyev@yandex.ru>,\n Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>, =?utf-8?q?Morten_Br=C3=B8?=\n\t=?utf-8?q?rup?= <mb@smartsharesystems.com>", "Subject": "[PATCH] vdpa/mlx5: revert event thread to normal priority", "Date": "Tue, 31 Oct 2023 15:57:56 +0100", "Message-ID": "<20231031145756.517091-1-thomas@monjalon.net>", "X-Mailer": "git-send-email 2.42.0", "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": "When converting to rte_thread API, the SCHED_RR policy\nhas been translated into RTE_THREAD_PRIORITY_REALTIME_CRITICAL.\nBut SCHED_RR was not effective prior to this conversion because\nPTHREAD_EXPLICIT_SCHED attribute was missing initially.\n\nUsing the default priority RTE_THREAD_PRIORITY_NORMAL\nshould revert to the original behaviour.\n\nBy the way, RTE_THREAD_PRIORITY_REALTIME_CRITICAL is difficult\nto manage properly and is allowed only on Windows so far.\n\nFixes: a7ba40b2b1bf (\"drivers: convert to internal control threads\")\n\nSigned-off-by: Thomas Monjalon <thomas@monjalon.net>\n---\n drivers/vdpa/mlx5/mlx5_vdpa_event.c | 1 -\n 1 file changed, 1 deletion(-)", "diff": "diff --git a/drivers/vdpa/mlx5/mlx5_vdpa_event.c b/drivers/vdpa/mlx5/mlx5_vdpa_event.c\nindex fa26471b18..9557c1042e 100644\n--- a/drivers/vdpa/mlx5/mlx5_vdpa_event.c\n+++ b/drivers/vdpa/mlx5/mlx5_vdpa_event.c\n@@ -514,7 +514,6 @@ mlx5_vdpa_cqe_event_setup(struct mlx5_vdpa_priv *priv)\n \t\tDRV_LOG(ERR, \"Failed to initialize thread attributes\");\n \t\tgoto out;\n \t}\n-\tattr.priority = RTE_THREAD_PRIORITY_REALTIME_CRITICAL;\n \tif (priv->event_core != -1)\n \t\tCPU_SET(priv->event_core, &attr.cpuset);\n \telse\n", "prefixes": [] }{ "id": 133676, "url": "