get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 92036,
    "url": "http://patches.dpdk.org/api/patches/92036/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1619137920-13449-3-git-send-email-jizh@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": "<1619137920-13449-3-git-send-email-jizh@linux.microsoft.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1619137920-13449-3-git-send-email-jizh@linux.microsoft.com",
    "date": "2021-04-23T00:31:52",
    "name": "[v7,02/10] eal/windows: add necessary macros",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "c6e4f6e2e4548c382dec1a506a6a0fa96844ceed",
    "submitter": {
        "id": 1934,
        "url": "http://patches.dpdk.org/api/people/1934/?format=api",
        "name": "Jie Zhou",
        "email": "jizh@linux.microsoft.com"
    },
    "delegate": {
        "id": 319,
        "url": "http://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1619137920-13449-3-git-send-email-jizh@linux.microsoft.com/mbox/",
    "series": [
        {
            "id": 16612,
            "url": "http://patches.dpdk.org/api/series/16612/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=16612",
            "date": "2021-04-23T00:31:51",
            "name": "app/testpmd: enable testpmd on Windows",
            "version": 7,
            "mbox": "http://patches.dpdk.org/series/16612/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/92036/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/92036/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 BE02AA0A02;\n\tFri, 23 Apr 2021 02:32:14 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id EA2D941D07;\n\tFri, 23 Apr 2021 02:32:08 +0200 (CEST)",
            "from linux.microsoft.com (linux.microsoft.com [13.77.154.182])\n by mails.dpdk.org (Postfix) with ESMTP id CCAF241CAF\n for <dev@dpdk.org>; Fri, 23 Apr 2021 02:32:06 +0200 (CEST)",
            "from\n linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net\n (linux.microsoft.com [13.77.154.182])\n by linux.microsoft.com (Postfix) with ESMTPSA id 25AE320B8003;\n Thu, 22 Apr 2021 17:32:06 -0700 (PDT)"
        ],
        "DKIM-Filter": "OpenDKIM Filter v2.11.0 linux.microsoft.com 25AE320B8003",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;\n s=default; t=1619137926;\n bh=5LPM2rmORGMATev58irZm9pEEVNWj1JadTGwtKpktOQ=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=kHa/29CuQIkgG+7R82ruTUrd3qXZFKlSNrRQOlPqUNWD2pDJbTNE+RSFSolRW1FjL\n 6XRSeM/jvDCKgpW3ZNhF+l8DiOS737rQGq1VUFcNPepXUCBzARjMz/4cPcD0hRYcam\n VLyxhDSN6qxPObZbeGs1WVeQrbZYlYIOsiOSE4ZI=",
        "From": "Jie Zhou <jizh@linux.microsoft.com>",
        "To": "dev@dpdk.org",
        "Cc": "dmitry.kozliuk@gmail.com, xiaoyun.li@intel.com, roretzla@microsoft.com,\n pallavi.kadam@intel.com, thomas@monjalon.net, bruce.richardson@intel.com,\n ferruh.yigit@intel.com, konstantin.ananyev@intel.com",
        "Date": "Thu, 22 Apr 2021 17:31:52 -0700",
        "Message-Id": "<1619137920-13449-3-git-send-email-jizh@linux.microsoft.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1619137920-13449-1-git-send-email-jizh@linux.microsoft.com>",
        "References": "<1618874400-26819-1-git-send-email-jizh@linux.microsoft.com>\n <1619137920-13449-1-git-send-email-jizh@linux.microsoft.com>",
        "Subject": "[dpdk-dev] [PATCH v7 02/10] eal/windows: add necessary macros",
        "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": "Add required macros by testpmd on Windows in rte_os_shim.h\n\nSigned-off-by: Jie Zhou <jizh@microsoft.com>\nSigned-off-by: Jie Zhou <jizh@linux.microsoft.com>\n---\n lib/eal/windows/include/rte_os_shim.h | 9 +++++++++\n 1 file changed, 9 insertions(+)",
    "diff": "diff --git a/lib/eal/windows/include/rte_os_shim.h b/lib/eal/windows/include/rte_os_shim.h\nindex 433fa02c4..e60f27400 100644\n--- a/lib/eal/windows/include/rte_os_shim.h\n+++ b/lib/eal/windows/include/rte_os_shim.h\n@@ -20,6 +20,7 @@\n \n #define strdup(str) _strdup(str)\n #define strtok_r(str, delim, saveptr) strtok_s(str, delim, saveptr)\n+#define strcasecmp _stricmp\n #define strncasecmp(s1, s2, count) _strnicmp(s1, s2, count)\n \n #define open(path, flags, ...) _open(path, flags, ##__VA_ARGS__)\n@@ -36,6 +37,14 @@\n #define IPPROTO_SCTP\t132\n #endif\n \n+#ifndef IPDEFTTL\n+#define IPDEFTTL 64\n+#endif\n+\n+#ifndef S_ISREG\n+#define S_ISREG(mode)  (((mode)&S_IFMT) == S_IFREG)\n+#endif\n+\n #ifdef RTE_TOOLCHAIN_GCC\n \n #define TIME_UTC 1\n",
    "prefixes": [
        "v7",
        "02/10"
    ]
}