get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 94802,
    "url": "https://patches.dpdk.org/api/patches/94802/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1624580843-4521-1-git-send-email-navasile@linux.microsoft.com/",
    "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": "<1624580843-4521-1-git-send-email-navasile@linux.microsoft.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1624580843-4521-1-git-send-email-navasile@linux.microsoft.com",
    "date": "2021-06-25T00:27:23",
    "name": "eal/windows: ensure all the CPUs in the set are checked",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "9e788e9f842d188c52cd0e8789428583f4e6171e",
    "submitter": {
        "id": 1668,
        "url": "https://patches.dpdk.org/api/people/1668/?format=api",
        "name": "Narcisa Ana Maria Vasile",
        "email": "navasile@linux.microsoft.com"
    },
    "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/1624580843-4521-1-git-send-email-navasile@linux.microsoft.com/mbox/",
    "series": [
        {
            "id": 17480,
            "url": "https://patches.dpdk.org/api/series/17480/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=17480",
            "date": "2021-06-25T00:27:23",
            "name": "eal/windows: ensure all the CPUs in the set are checked",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/17480/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/94802/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/94802/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 124E4A034F;\n\tFri, 25 Jun 2021 02:27:35 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 7C5C640040;\n\tFri, 25 Jun 2021 02:27:34 +0200 (CEST)",
            "from linux.microsoft.com (linux.microsoft.com [13.77.154.182])\n by mails.dpdk.org (Postfix) with ESMTP id 83CE04003C\n for <dev@dpdk.org>; Fri, 25 Jun 2021 02:27:33 +0200 (CEST)",
            "by linux.microsoft.com (Postfix, from userid 1059)\n id 812AB20B6C50; Thu, 24 Jun 2021 17:27:32 -0700 (PDT)"
        ],
        "DKIM-Filter": "OpenDKIM Filter v2.11.0 linux.microsoft.com 812AB20B6C50",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;\n s=default; t=1624580852;\n bh=BV+79asjBaAp8/vGdQVwJ2d1IPGs+eulw2kKb2z6Tg8=;\n h=From:To:Cc:Subject:Date:From;\n b=HW/pq3F1D7arS6RKRDLoaBAlG5ErnDpEz0jkbJ4x5vLFnBdmuKa53+MBf3W1CBnmr\n y1niv+ty8oBXqVLX3QuPcdzMMXBO6wnw7pwR7lQqvWeEJD0CzbqMc4yM01Uczw2uLi\n VHNpV4HtGYitr8LieD6cjtjnL9eZmAuaYZp5oQ1I=",
        "From": "Narcisa Ana Maria Vasile <navasile@linux.microsoft.com>",
        "To": "dev@dpdk.org, thomas@monjalon.net, dmitry.kozliuk@gmail.com,\n ocardona@microsoft.com, pallavi.kadam@intel.com, talshn@nvidia.com,\n dmitrym@microsoft.com",
        "Cc": "Narcisa Vasile <navasile@microsoft.com>",
        "Date": "Thu, 24 Jun 2021 17:27:23 -0700",
        "Message-Id": "<1624580843-4521-1-git-send-email-navasile@linux.microsoft.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "Subject": "[dpdk-dev] [PATCH] eal/windows: ensure all the CPUs in the set are\n checked",
        "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",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "From: Narcisa Vasile <navasile@microsoft.com>\n\nFix count_cpu() to ensure it iterates through all the CPUs in a set.\ncount_cpu() iterates through the CPUs in the set 's' and counts the\nselected ones.\n\nPreviously, it was incorrectly using the number of CPUSETS to iterate\nthrough the CPUs.\n\nSigned-off-by: Narcisa Vasile <navasile@microsoft.com>\n---\n lib/eal/windows/include/sched.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/lib/eal/windows/include/sched.h b/lib/eal/windows/include/sched.h\nindex ff572b5dcb..bc31cc8465 100644\n--- a/lib/eal/windows/include/sched.h\n+++ b/lib/eal/windows/include/sched.h\n@@ -49,7 +49,7 @@ count_cpu(rte_cpuset_t *s)\n \tunsigned int _i;\n \tint count = 0;\n \n-\tfor (_i = 0; _i < _NUM_SETS(CPU_SETSIZE); _i++)\n+\tfor (_i = 0; _i < CPU_SETSIZE; _i++)\n \t\tif (CPU_ISSET(_i, s) != 0LL)\n \t\t\tcount++;\n \treturn count;\n",
    "prefixes": []
}