get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 48848,
    "url": "https://patches.dpdk.org/api/patches/48848/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20181214114946.21570-5-david.hunt@intel.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": "<20181214114946.21570-5-david.hunt@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20181214114946.21570-5-david.hunt@intel.com",
    "date": "2018-12-14T11:49:46",
    "name": "[v2,4/4] examples/power: increase max cores to 256",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "61a85a534750fa043c1a8d25865fdf0af20af4cf",
    "submitter": {
        "id": 342,
        "url": "https://patches.dpdk.org/api/people/342/?format=api",
        "name": "Hunt, David",
        "email": "david.hunt@intel.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/20181214114946.21570-5-david.hunt@intel.com/mbox/",
    "series": [
        {
            "id": 2777,
            "url": "https://patches.dpdk.org/api/series/2777/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=2777",
            "date": "2018-12-14T11:49:42",
            "name": "examples/power: allow use of more than 64 cores",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/2777/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/48848/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/48848/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 2FDBA1B9E3;\n\tFri, 14 Dec 2018 12:50:06 +0100 (CET)",
            "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n\tby dpdk.org (Postfix) with ESMTP id 182231B9AE\n\tfor <dev@dpdk.org>; Fri, 14 Dec 2018 12:50:00 +0100 (CET)",
            "from orsmga005.jf.intel.com ([10.7.209.41])\n\tby fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t14 Dec 2018 03:50:00 -0800",
            "from silpixa00399952.ir.intel.com (HELO\n\tsilpixa00399952.ger.corp.intel.com) ([10.237.223.64])\n\tby orsmga005.jf.intel.com with ESMTP; 14 Dec 2018 03:49:59 -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,352,1539673200\"; d=\"scan'208\";a=\"283557692\"",
        "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 11:49:46 +0000",
        "Message-Id": "<20181214114946.21570-5-david.hunt@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20181214114946.21570-1-david.hunt@intel.com>",
        "References": "<20181122170220.55482-2-david.hunt@intel.com>\n\t<20181214114946.21570-1-david.hunt@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v2 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 119b0d5cc..d2a398216 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": [
        "v2",
        "4/4"
    ]
}