get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/133947/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 133947,
    "url": "http://patches.dpdk.org/api/patches/133947/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1699384205-12999-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": "<1699384205-12999-2-git-send-email-roretzla@linux.microsoft.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1699384205-12999-2-git-send-email-roretzla@linux.microsoft.com",
    "date": "2023-11-07T19:10:01",
    "name": "[v2,1/5] distributor: use abstracted bit count functions",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "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/1699384205-12999-2-git-send-email-roretzla@linux.microsoft.com/mbox/",
    "series": [
        {
            "id": 30189,
            "url": "http://patches.dpdk.org/api/series/30189/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=30189",
            "date": "2023-11-07T19:10:00",
            "name": "use abstracted bit count functions",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/30189/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/133947/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/133947/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 9A385432CA;\n\tTue,  7 Nov 2023 20:10:34 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 5AB1042D2E;\n\tTue,  7 Nov 2023 20:10:15 +0100 (CET)",
            "from linux.microsoft.com (linux.microsoft.com [13.77.154.182])\n by mails.dpdk.org (Postfix) with ESMTP id 438204113C\n for <dev@dpdk.org>; Tue,  7 Nov 2023 20:10:08 +0100 (CET)",
            "by linux.microsoft.com (Postfix, from userid 1086)\n id 56AC820B74C1; Tue,  7 Nov 2023 11:10:07 -0800 (PST)"
        ],
        "DKIM-Filter": "OpenDKIM Filter v2.11.0 linux.microsoft.com 56AC820B74C1",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;\n s=default; t=1699384207;\n bh=b9vPWAPxatAB2C2eslSLiTdJANCajBnB3l4tPn3nQS8=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=qBAcj/AUpI1K/0qEJaThXPTak7Vpp67/HZpXkbpek931e6TF9VRXaHK1brLCqs8ZY\n YmQtKZhcZ27FBHaLrWksNSA0o75IjY/tt7mWS5EP5YZcJ2MM0jrsoJtSxSL8XY3fKa\n dFMGVLUYwJLEnZzsykN1fl6jMhxV/mBi53vh3XSI=",
        "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 v2 1/5] distributor: use abstracted bit count functions",
        "Date": "Tue,  7 Nov 2023 11:10:01 -0800",
        "Message-Id": "<1699384205-12999-2-git-send-email-roretzla@linux.microsoft.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1699384205-12999-1-git-send-email-roretzla@linux.microsoft.com>",
        "References": "<1698887132-5347-1-git-send-email-roretzla@linux.microsoft.com>\n <1699384205-12999-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": [
        "v2",
        "1/5"
    ]
}