get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 48883,
    "url": "http://patches.dpdk.org/api/patches/48883/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20181214133137.23516-5-david.hunt@intel.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": "<20181214133137.23516-5-david.hunt@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20181214133137.23516-5-david.hunt@intel.com",
    "date": "2018-12-14T13:31:37",
    "name": "[v3,4/4] examples/power: increase max cores to 256",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "61a85a534750fa043c1a8d25865fdf0af20af4cf",
    "submitter": {
        "id": 342,
        "url": "http://patches.dpdk.org/api/people/342/?format=api",
        "name": "Hunt, David",
        "email": "david.hunt@intel.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/20181214133137.23516-5-david.hunt@intel.com/mbox/",
    "series": [
        {
            "id": 2784,
            "url": "http://patches.dpdk.org/api/series/2784/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=2784",
            "date": "2018-12-14T13:31:33",
            "name": "examples/power: allow use of more than 64 cores",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/2784/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/48883/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/48883/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 2D3481BC02;\n\tFri, 14 Dec 2018 14:31:50 +0100 (CET)",
            "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n\tby dpdk.org (Postfix) with ESMTP id 2535C1BBE7\n\tfor <dev@dpdk.org>; Fri, 14 Dec 2018 14:31:45 +0100 (CET)",
            "from orsmga003.jf.intel.com ([10.7.209.27])\n\tby orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t14 Dec 2018 05:31:45 -0800",
            "from silpixa00399952.ir.intel.com (HELO\n\tsilpixa00399952.ger.corp.intel.com) ([10.237.223.64])\n\tby orsmga003.jf.intel.com with ESMTP; 14 Dec 2018 05:31:44 -0800"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.56,353,1539673200\"; d=\"scan'208\";a=\"110384025\"",
        "From": "David Hunt <david.hunt@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "lei.a.yao@intel.com, anatoly.burakov@intel.com,\n\tDavid Hunt <david.hunt@intel.com>",
        "Date": "Fri, 14 Dec 2018 13:31:37 +0000",
        "Message-Id": "<20181214133137.23516-5-david.hunt@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20181214133137.23516-1-david.hunt@intel.com>",
        "References": "<20181214114946.21570-1-david.hunt@intel.com>\n\t<20181214133137.23516-1-david.hunt@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v3 4/4] examples/power: increase max cores to 256",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Increase the number of addressable cores from 64 to 256. Also remove the\nwarning that incresing this number beyond 64 will cause problems (because\nof the previous use of uint64_t masks). Now this number can be increased\nsignificantly without causing problems.\n\nSigned-off-by: David Hunt <david.hunt@intel.com>\nReviewed-by: Anatoly Burakov <anatoly.burakov@intel.com>\n---\n examples/vm_power_manager/channel_manager.h | 8 ++------\n examples/vm_power_manager/power_manager.h   | 2 +-\n 2 files changed, 3 insertions(+), 7 deletions(-)",
    "diff": "diff --git a/examples/vm_power_manager/channel_manager.h b/examples/vm_power_manager/channel_manager.h\nindex 5e050ed8d..c3cdce492 100644\n--- a/examples/vm_power_manager/channel_manager.h\n+++ b/examples/vm_power_manager/channel_manager.h\n@@ -14,17 +14,13 @@ extern \"C\" {\n #include <rte_atomic.h>\n \n /* Maximum number of CPUs */\n-#define CHANNEL_CMDS_MAX_CPUS        64\n-#if CHANNEL_CMDS_MAX_CPUS > 64\n-#error Maximum number of cores is 64, overflow is guaranteed to \\\n-    cause problems with VM Power Management\n-#endif\n+#define CHANNEL_CMDS_MAX_CPUS        256\n \n /* Maximum name length including '\\0' terminator */\n #define CHANNEL_MGR_MAX_NAME_LEN    64\n \n /* Maximum number of channels to each Virtual Machine */\n-#define CHANNEL_MGR_MAX_CHANNELS    64\n+#define CHANNEL_MGR_MAX_CHANNELS    256\n \n /* Hypervisor Path for libvirt(qemu/KVM) */\n #define CHANNEL_MGR_DEFAULT_HV_PATH \"qemu:///system\"\ndiff --git a/examples/vm_power_manager/power_manager.h b/examples/vm_power_manager/power_manager.h\nindex 605b3c8f6..c3673844c 100644\n--- a/examples/vm_power_manager/power_manager.h\n+++ b/examples/vm_power_manager/power_manager.h\n@@ -33,7 +33,7 @@ core_info_init(void);\n #define RTE_LOGTYPE_POWER_MANAGER RTE_LOGTYPE_USER1\n \n /* Maximum number of CPUS to manage */\n-#define POWER_MGR_MAX_CPUS 64\n+#define POWER_MGR_MAX_CPUS 256\n /**\n  * Initialize power management.\n  * Initializes resources and verifies the number of CPUs on the system.\n",
    "prefixes": [
        "v3",
        "4/4"
    ]
}