get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 104809,
    "url": "http://patchwork.dpdk.org/api/patches/104809/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/1638384245-12587-8-git-send-email-jizh@linux.microsoft.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<1638384245-12587-8-git-send-email-jizh@linux.microsoft.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1638384245-12587-8-git-send-email-jizh@linux.microsoft.com",
    "date": "2021-12-01T18:44:03",
    "name": "[v10,7/9] app/test: remove two alarm_autotest cases",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "8362f5771cade48a9fa8a561b5a4364c3f928835",
    "submitter": {
        "id": 1934,
        "url": "http://patchwork.dpdk.org/api/people/1934/?format=api",
        "name": "Jie Zhou",
        "email": "jizh@linux.microsoft.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patchwork.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/1638384245-12587-8-git-send-email-jizh@linux.microsoft.com/mbox/",
    "series": [
        {
            "id": 20828,
            "url": "http://patchwork.dpdk.org/api/series/20828/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=20828",
            "date": "2021-12-01T18:43:57",
            "name": "app/test: enable subset of tests on Windows",
            "version": 10,
            "mbox": "http://patchwork.dpdk.org/series/20828/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/104809/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/104809/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 D795BA0C41;\n\tWed,  1 Dec 2021 19:44:45 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 2C27F426EB;\n\tWed,  1 Dec 2021 19:44:16 +0100 (CET)",
            "from linux.microsoft.com (linux.microsoft.com [13.77.154.182])\n by mails.dpdk.org (Postfix) with ESMTP id E45854067B\n for <dev@dpdk.org>; Wed,  1 Dec 2021 19:44:10 +0100 (CET)",
            "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 BEF9720E61A9;\n Wed,  1 Dec 2021 10:44:09 -0800 (PST)"
        ],
        "DKIM-Filter": "OpenDKIM Filter v2.11.0 linux.microsoft.com BEF9720E61A9",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;\n s=default; t=1638384249;\n bh=pTb7orGI6mnmS3PLLi3x9Z2napBJklWtMQ0pt1Um1kY=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=RCZ9GfhBfsnPPb47vhk3szKRud56QcU83OLhqZSJshwpiseMAaKe98UyxhNISBMJx\n tvc4N5X/h/gjDZaeE9JlRkjrqXxS6Nr3js+DGJoPBbjifptNT0XOboq2HhAHp3B2g+\n Q/9vmV0rb/eKvrDxOPmNZI2QHuiR2FSxJ/SF+Hsc=",
        "From": "Jie Zhou <jizh@linux.microsoft.com>",
        "To": "dev@dpdk.org",
        "Cc": "dmitry.kozliuk@gmail.com, roretzla@microsoft.com,\n navasile@linux.microsoft.com, dmitrym@microsoft.com,\n pallavi.kadam@intel.com, talshn@nvidia.com, thomas@monjalon.net,\n aconole@redhat.com",
        "Subject": "[PATCH v10 7/9] app/test: remove two alarm_autotest cases",
        "Date": "Wed,  1 Dec 2021 10:44:03 -0800",
        "Message-Id": "<1638384245-12587-8-git-send-email-jizh@linux.microsoft.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1638384245-12587-1-git-send-email-jizh@linux.microsoft.com>",
        "References": "<1638381938-6113-1-git-send-email-jizh@linux.microsoft.com>\n <1638384245-12587-1-git-send-email-jizh@linux.microsoft.com>",
        "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"
    },
    "content": "Remove two alarm_autotest test cases which do bogus range check\non Windows.\n\nSigned-off-by: Jie Zhou <jizh@linux.microsoft.com>\n\n---\n app/test/test_alarm.c | 4 ++++\n 1 file changed, 4 insertions(+)",
    "diff": "diff --git a/app/test/test_alarm.c b/app/test/test_alarm.c\nindex b4034339b8..70e97a3109 100644\n--- a/app/test/test_alarm.c\n+++ b/app/test/test_alarm.c\n@@ -10,6 +10,7 @@\n \n #include \"test.h\"\n \n+#ifndef RTE_EXEC_ENV_WINDOWS\n static volatile int flag;\n \n static void\n@@ -18,6 +19,7 @@ test_alarm_callback(void *cb_arg)\n \tflag = 1;\n \tprintf(\"Callback setting flag - OK. [cb_arg = %p]\\n\", cb_arg);\n }\n+#endif\n \n static int\n test_alarm(void)\n@@ -27,6 +29,7 @@ test_alarm(void)\n \treturn 0;\n #endif\n \n+#ifndef RTE_EXEC_ENV_WINDOWS\n \t/* check if it will fail to set alarm with wrong us value */\n \tprintf(\"check if it will fail to set alarm with wrong ms values\\n\");\n \tif (rte_eal_alarm_set(0, test_alarm_callback,\n@@ -39,6 +42,7 @@ test_alarm(void)\n \t\tprintf(\"should not be successful with (UINT64_MAX-1) us value\\n\");\n \t\treturn -1;\n \t}\n+#endif\n \n \t/* check if it will fail to set alarm with null callback parameter */\n \tprintf(\"check if it will fail to set alarm with null callback parameter\\n\");\n",
    "prefixes": [
        "v10",
        "7/9"
    ]
}