get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 133742,
    "url": "http://patches.dpdk.org/api/patches/133742/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1698887132-5347-3-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": "<1698887132-5347-3-git-send-email-roretzla@linux.microsoft.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1698887132-5347-3-git-send-email-roretzla@linux.microsoft.com",
    "date": "2023-11-02T01:05:29",
    "name": "[2/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/1698887132-5347-3-git-send-email-roretzla@linux.microsoft.com/mbox/",
    "series": [
        {
            "id": 30103,
            "url": "http://patches.dpdk.org/api/series/30103/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=30103",
            "date": "2023-11-02T01:05:28",
            "name": "use abstracted bit count functions",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/30103/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/133742/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/133742/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 D3D0B43267;\n\tThu,  2 Nov 2023 02:05:42 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 7EFAF42DCD;\n\tThu,  2 Nov 2023 02:05:37 +0100 (CET)",
            "from linux.microsoft.com (linux.microsoft.com [13.77.154.182])\n by mails.dpdk.org (Postfix) with ESMTP id EAD364027D\n for <dev@dpdk.org>; Thu,  2 Nov 2023 02:05:34 +0100 (CET)",
            "by linux.microsoft.com (Postfix, from userid 1086)\n id 378DB20B74C2; Wed,  1 Nov 2023 18:05:34 -0700 (PDT)"
        ],
        "DKIM-Filter": "OpenDKIM Filter v2.11.0 linux.microsoft.com 378DB20B74C2",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;\n s=default; t=1698887134;\n bh=IMQnlYfUF1j7V+03S0MTjLICYCoypIPt0TvJwAmDgPY=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=q6lslEZBZYIIERUpgTAU7boRkeNU0srbkikcib3UvZsVYGImmP8EbWPcutq+E8jhj\n s8vYdkn00YuJ3ymKEGxER1r5x8CpVzKfvTpZmZHKqF9FyBaJP/l0BLjbav2/fGlalk\n 9o6wNNJXKcCkM6Qlrw0vTBZhVTMfmbsO9CMaddG0=",
        "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>",
        "Subject": "[PATCH 2/5] distributor: use abstracted bit count functions",
        "Date": "Wed,  1 Nov 2023 18:05:29 -0700",
        "Message-Id": "<1698887132-5347-3-git-send-email-roretzla@linux.microsoft.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1698887132-5347-1-git-send-email-roretzla@linux.microsoft.com>",
        "References": "<1698887132-5347-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_ctz64 instead of __builtin_ctzl\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": [
        "2/5"
    ]
}