get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 71182,
    "url": "http://patches.dpdk.org/api/patches/71182/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200610142730.31376-2-dmitry.kozliuk@gmail.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": "<20200610142730.31376-2-dmitry.kozliuk@gmail.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200610142730.31376-2-dmitry.kozliuk@gmail.com",
    "date": "2020-06-10T14:27:20",
    "name": "[v8,01/11] eal: replace rte_page_sizes with a set of constants",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "b456b0ea81cb031086cef98b7f85be2477d794de",
    "submitter": {
        "id": 1581,
        "url": "http://patches.dpdk.org/api/people/1581/?format=api",
        "name": "Dmitry Kozlyuk",
        "email": "dmitry.kozliuk@gmail.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/20200610142730.31376-2-dmitry.kozliuk@gmail.com/mbox/",
    "series": [
        {
            "id": 10386,
            "url": "http://patches.dpdk.org/api/series/10386/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=10386",
            "date": "2020-06-10T14:27:19",
            "name": "Windows basic memory management",
            "version": 8,
            "mbox": "http://patches.dpdk.org/series/10386/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/71182/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/71182/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id B86B5A051F;\n\tWed, 10 Jun 2020 16:27:59 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 977E55F2F;\n\tWed, 10 Jun 2020 16:27:52 +0200 (CEST)",
            "from mail-lf1-f65.google.com (mail-lf1-f65.google.com\n [209.85.167.65]) by dpdk.org (Postfix) with ESMTP id 731032B89\n for <dev@dpdk.org>; Wed, 10 Jun 2020 16:27:49 +0200 (CEST)",
            "by mail-lf1-f65.google.com with SMTP id c12so1562609lfc.10\n for <dev@dpdk.org>; Wed, 10 Jun 2020 07:27:49 -0700 (PDT)",
            "from localhost.localdomain (broadband-37-110-65-23.ip.moscow.rt.ru.\n [37.110.65.23])\n by smtp.gmail.com with ESMTPSA id j12sm5051733ljg.15.2020.06.10.07.27.47\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 10 Jun 2020 07:27:47 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n h=from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding;\n bh=Den6qHvEDm3JsYc4oA4k/jcYceD/ng2EEQBQTWAPhoc=;\n b=VV6Fl7GckxRpEgcRicD2Vg1upjcMUql+ZOBXkwbgNfA6ECH0u0SG05Uwpwtmgh+UCD\n iZwllI6a8fXgi6fJcij2CfMcPvBxF7KLaAP/v219P17/fB2AtpCt2kv6tPncpUd7QzAK\n 7CCVrSgvdzNNvoB3EUZSnZq7TISipV+cYKi+1Tzd75azxjk2zcZx0hlKjdlwsyboVI6T\n d+0v4NUjarYJED7bd5rMM+OIG8WxD5n9rot0sTrSuXX0HF7wdse2+3wolCDqt2NSRia7\n pqbpnmmXq+rdOX8xRD6ztEjOmO2WyFmEdUGnUO8LpPxDnKIkQ20DPICZYSZN8Qt0TKVr\n J90w==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20161025;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n :references:mime-version:content-transfer-encoding;\n bh=Den6qHvEDm3JsYc4oA4k/jcYceD/ng2EEQBQTWAPhoc=;\n b=VsC49ocnOXmzeIocW5tEBGXo6LH9CU2kCcm7zjlfwpl/dOS2yBE6C/jtxntoA6EUJn\n smDeWLTFrIAF4LDzlMh5RRJFIgE8prJXGu+LY/QgFAsf813ofsMVKsOuxOikd/VtGTxi\n 3locOUuy6dO7lJYTOuzjHxohjYWASjvmi8iphSkqL01CjbRBWzwfoh71VuZa+ziY4b2B\n wMGq+GDldnqajajbdNzk5YiJ6plJTRpRrjWBsVarbdJYPKd2chu9nLWNb/dNrzcHrG/n\n CfjsrTAeusWuJugYvGiY8JtJG3ogjAGdaLDt2aF8xkdZ/owWUQqkmhb8Sscs5NRhDMUm\n RdZQ==",
        "X-Gm-Message-State": "AOAM533iVzvPn8yvI+lyHTwRUpse42EyLacK1bkzm88EFu6CanhQ/Q8B\n VoWyVyOb6udtgh956x0Z7i3KIzGRBk8T8g==",
        "X-Google-Smtp-Source": "\n ABdhPJxPdNjjtFf7oWxoatCiuijteYNiEgs6yGNEmM+PIh91G1csfKfuyrT/Ph8DcMMUd1/yPR7+aQ==",
        "X-Received": "by 2002:ac2:4d1c:: with SMTP id r28mr1874110lfi.45.1591799268873;\n Wed, 10 Jun 2020 07:27:48 -0700 (PDT)",
        "From": "Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>",
        "To": "dev@dpdk.org",
        "Cc": "Dmitry Malloy <dmitrym@microsoft.com>,\n Narcisa Ana Maria Vasile <Narcisa.Vasile@microsoft.com>,\n Fady Bader <fady@mellanox.com>, Tal Shnaiderman <talshn@mellanox.com>,\n Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>,\n Jerin Jacob <jerinjacobk@gmail.com>,\n John McNamara <john.mcnamara@intel.com>,\n Marko Kovacevic <marko.kovacevic@intel.com>,\n Anatoly Burakov <anatoly.burakov@intel.com>",
        "Date": "Wed, 10 Jun 2020 17:27:20 +0300",
        "Message-Id": "<20200610142730.31376-2-dmitry.kozliuk@gmail.com>",
        "X-Mailer": "git-send-email 2.25.4",
        "In-Reply-To": "<20200610142730.31376-1-dmitry.kozliuk@gmail.com>",
        "References": "<20200608074153.29611-1-dmitry.kozliuk@gmail.com>\n <20200610142730.31376-1-dmitry.kozliuk@gmail.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v8 01/11] eal: replace rte_page_sizes with a set\n\tof constants",
        "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 <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": "Clang on Windows follows MS ABI where enum values are limited to 2^31-1.\nEnum rte_page_sizes has members valued above this limit, which get\nwrapped to zero, resulting in compilation error (duplicate values in\nenum). Using MS ABI is mandatory for Windows EAL to call Win32 APIs.\n\nRemove rte_page_sizes and replace its values with #define's.\nThis enumeration is not used in public API, so there's no ABI breakage.\nAnnounce API changes for 20.08 in documentation.\n\nSuggested-by: Jerin Jacob <jerinjacobk@gmail.com>\nSigned-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>\n---\n doc/guides/rel_notes/release_20_08.rst |  2 ++\n lib/librte_eal/include/rte_memory.h    | 23 ++++++++++-------------\n 2 files changed, 12 insertions(+), 13 deletions(-)",
    "diff": "diff --git a/doc/guides/rel_notes/release_20_08.rst b/doc/guides/rel_notes/release_20_08.rst\nindex 39064afbe..2041a29b9 100644\n--- a/doc/guides/rel_notes/release_20_08.rst\n+++ b/doc/guides/rel_notes/release_20_08.rst\n@@ -85,6 +85,8 @@ API Changes\n    Also, make sure to start the actual text at the margin.\n    =========================================================\n \n+* ``rte_page_sizes`` enumeration is replaced with ``RTE_PGSIZE_xxx`` defines.\n+\n \n ABI Changes\n -----------\ndiff --git a/lib/librte_eal/include/rte_memory.h b/lib/librte_eal/include/rte_memory.h\nindex 3d8d0bd69..65374d53a 100644\n--- a/lib/librte_eal/include/rte_memory.h\n+++ b/lib/librte_eal/include/rte_memory.h\n@@ -24,19 +24,16 @@ extern \"C\" {\n #include <rte_config.h>\n #include <rte_fbarray.h>\n \n-__extension__\n-enum rte_page_sizes {\n-\tRTE_PGSIZE_4K    = 1ULL << 12,\n-\tRTE_PGSIZE_64K   = 1ULL << 16,\n-\tRTE_PGSIZE_256K  = 1ULL << 18,\n-\tRTE_PGSIZE_2M    = 1ULL << 21,\n-\tRTE_PGSIZE_16M   = 1ULL << 24,\n-\tRTE_PGSIZE_256M  = 1ULL << 28,\n-\tRTE_PGSIZE_512M  = 1ULL << 29,\n-\tRTE_PGSIZE_1G    = 1ULL << 30,\n-\tRTE_PGSIZE_4G    = 1ULL << 32,\n-\tRTE_PGSIZE_16G   = 1ULL << 34,\n-};\n+#define RTE_PGSIZE_4K   (1ULL << 12)\n+#define RTE_PGSIZE_64K  (1ULL << 16)\n+#define RTE_PGSIZE_256K (1ULL << 18)\n+#define RTE_PGSIZE_2M   (1ULL << 21)\n+#define RTE_PGSIZE_16M  (1ULL << 24)\n+#define RTE_PGSIZE_256M (1ULL << 28)\n+#define RTE_PGSIZE_512M (1ULL << 29)\n+#define RTE_PGSIZE_1G   (1ULL << 30)\n+#define RTE_PGSIZE_4G   (1ULL << 32)\n+#define RTE_PGSIZE_16G  (1ULL << 34)\n \n #define SOCKET_ID_ANY -1                    /**< Any NUMA socket. */\n \n",
    "prefixes": [
        "v8",
        "01/11"
    ]
}