Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/133954/?format=api
http://patches.dpdk.org/api/patches/133954/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1699400300-22545-2-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": "<1699400300-22545-2-git-send-email-roretzla@linux.microsoft.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1699400300-22545-2-git-send-email-roretzla@linux.microsoft.com", "date": "2023-11-07T23:38:14", "name": "[v3,1/7] distributor: use abstracted bit count functions", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "dc8509e38452391d16ea0ca52c10350b7fef1667", "submitter": { "id": 2077, "url": "http://patches.dpdk.org/api/people/2077/?format=api", "name": "Tyler Retzlaff", "email": "roretzla@linux.microsoft.com" }, "delegate": { "id": 1, "url": "http://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1699400300-22545-2-git-send-email-roretzla@linux.microsoft.com/mbox/", "series": [ { "id": 30193, "url": "http://patches.dpdk.org/api/series/30193/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=30193", "date": "2023-11-07T23:38:13", "name": "use abstracted bit count functions", "version": 3, "mbox": "http://patches.dpdk.org/series/30193/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/133954/comments/", "check": "warning", "checks": "http://patches.dpdk.org/api/patches/133954/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 18D8D432CC;\n\tWed, 8 Nov 2023 00:38:30 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id A9E6B42D76;\n\tWed, 8 Nov 2023 00:38:25 +0100 (CET)", "from linux.microsoft.com (linux.microsoft.com [13.77.154.182])\n by mails.dpdk.org (Postfix) with ESMTP id 94B4240689\n for <dev@dpdk.org>; Wed, 8 Nov 2023 00:38:22 +0100 (CET)", "by linux.microsoft.com (Postfix, from userid 1086)\n id BA7E820B74C1; Tue, 7 Nov 2023 15:38:21 -0800 (PST)" ], "DKIM-Filter": "OpenDKIM Filter v2.11.0 linux.microsoft.com BA7E820B74C1", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;\n s=default; t=1699400301;\n bh=b9vPWAPxatAB2C2eslSLiTdJANCajBnB3l4tPn3nQS8=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=jQ+l/oPIAzvrTLVWCXAsFBP0ILuJg5fQq0a9/8BXO64Fn25EJCOpVqSPzW++kqlxt\n +rwLiTwSqYhgtOX4+MTWSptyLUD0x35mK73gOqMipw79hmu7/k2xwl+DYBpzgkGHHR\n sqGRB1MG6CyL/duK/tnokFoKo3w/Ghp8lDB/nuts=", "From": "Tyler Retzlaff <roretzla@linux.microsoft.com>", "To": "dev@dpdk.org", "Cc": "Bruce Richardson <bruce.richardson@intel.com>,\n Cristian Dumitrescu <cristian.dumitrescu@intel.com>,\n David Hunt <david.hunt@intel.com>,\n Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>,\n Ruifeng Wang <ruifeng.wang@arm.com>,\n Sameh Gobriel <sameh.gobriel@intel.com>,\n Tyler Retzlaff <roretzla@linux.microsoft.com>,\n Vladimir Medvedkin <vladimir.medvedkin@intel.com>,\n Yipeng Wang <yipeng1.wang@intel.com>, mb@smartsharesystems.com", "Subject": "[PATCH v3 1/7] distributor: use abstracted bit count functions", "Date": "Tue, 7 Nov 2023 15:38:14 -0800", "Message-Id": "<1699400300-22545-2-git-send-email-roretzla@linux.microsoft.com>", "X-Mailer": "git-send-email 1.8.3.1", "In-Reply-To": "<1699400300-22545-1-git-send-email-roretzla@linux.microsoft.com>", "References": "<1698887132-5347-1-git-send-email-roretzla@linux.microsoft.com>\n <1699400300-22545-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": "Use rte_ctz32 or rte_ctz64 respectively instead of __builtin_ctzl\ndepending on the resultant type of the expression passed as an argument\n\nFixes: 18898c4d06f9 (\"eal: use abstracted bit count functions\")\n\nSigned-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com>\n---\n lib/distributor/rte_distributor_single.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/lib/distributor/rte_distributor_single.c b/lib/distributor/rte_distributor_single.c\nindex ad43c13..08144e5 100644\n--- a/lib/distributor/rte_distributor_single.c\n+++ b/lib/distributor/rte_distributor_single.c\n@@ -252,7 +252,7 @@ struct rte_mbuf *\n \n \t\t\tif (match) {\n \t\t\t\tnext_mb = NULL;\n-\t\t\t\tunsigned worker = __builtin_ctzl(match);\n+\t\t\t\tunsigned worker = rte_ctz64(match);\n \t\t\t\tif (add_to_backlog(&d->backlog[worker],\n \t\t\t\t\t\tnext_value) < 0)\n \t\t\t\t\tnext_idx--;\n", "prefixes": [ "v3", "1/7" ] }{ "id": 133954, "url": "