get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 45169,
    "url": "https://patches.dpdk.org/api/patches/45169/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1537617311-1092-1-git-send-email-jananeex.m.parthasarathy@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": "<1537617311-1092-1-git-send-email-jananeex.m.parthasarathy@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1537617311-1092-1-git-send-email-jananeex.m.parthasarathy@intel.com",
    "date": "2018-09-22T11:55:11",
    "name": "test: reduce duration for timer autotest",
    "commit_ref": null,
    "pull_url": null,
    "state": "rejected",
    "archived": true,
    "hash": "1cea1d8679723d944842cc24b81579199bd80e21",
    "submitter": {
        "id": 1024,
        "url": "https://patches.dpdk.org/api/people/1024/?format=api",
        "name": "Jananee Parthasarathy",
        "email": "jananeex.m.parthasarathy@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/1537617311-1092-1-git-send-email-jananeex.m.parthasarathy@intel.com/mbox/",
    "series": [
        {
            "id": 1452,
            "url": "https://patches.dpdk.org/api/series/1452/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=1452",
            "date": "2018-09-22T11:55:11",
            "name": "test: reduce duration for timer autotest",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/1452/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/45169/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/45169/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 9C2E1A49;\n\tSat, 22 Sep 2018 14:01:03 +0200 (CEST)",
            "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n\tby dpdk.org (Postfix) with ESMTP id CFD43255\n\tfor <dev@dpdk.org>; Sat, 22 Sep 2018 14:01:01 +0200 (CEST)",
            "from fmsmga007.fm.intel.com ([10.253.24.52])\n\tby fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t22 Sep 2018 05:01:00 -0700",
            "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby fmsmga007.fm.intel.com with ESMTP; 22 Sep 2018 04:55:30 -0700",
            "from wgcvswdev001.ir.intel.com (wgcvswdev001.ir.intel.com\n\t[10.102.246.100])\n\tby irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id\n\tw8MBtTwP001414; Sat, 22 Sep 2018 12:55:29 +0100",
            "from wgcvswdev001.ir.intel.com (localhost [127.0.0.1])\n\tby wgcvswdev001.ir.intel.com with ESMTP id w8MBtHwT001143;\n\tSat, 22 Sep 2018 12:55:17 +0100",
            "(from jmparthx@localhost)\n\tby wgcvswdev001.ir.intel.com with ? id w8MBtHC5001139;\n\tSat, 22 Sep 2018 12:55:17 +0100"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.54,289,1534834800\"; d=\"scan'208\";a=\"72052356\"",
        "From": "Jananee Parthasarathy <jananeex.m.parthasarathy@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "reshma.pattan@intel.com, rsanford@akamai.com,\n\tJananee Parthasarathy <jananeex.m.parthasarathy@intel.com>",
        "Date": "Sat, 22 Sep 2018 12:55:11 +0100",
        "Message-Id": "<1537617311-1092-1-git-send-email-jananeex.m.parthasarathy@intel.com>",
        "X-Mailer": "git-send-email 1.7.12.2",
        "Subject": "[dpdk-dev] [PATCH] test: reduce duration for timer autotest",
        "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": "Reduced the test duration of timer_autotest.\nThe number of iterations was very large to test the timer functionality.\nAlthough the method to identify random timers can be different,\nmany iterations would be needed for stress or performance test only.\n\nSigned-off-by: Jananee Parthasarathy <jananeex.m.parthasarathy@intel.com>\n---\n test/test/test_timer.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/test/test/test_timer.c b/test/test/test_timer.c\nindex e2aab5308..d625f1f4d 100644\n--- a/test/test/test_timer.c\n+++ b/test/test/test_timer.c\n@@ -358,7 +358,7 @@ timer_stress2_main_loop(__attribute__((unused)) void *arg)\n \t\t\t\ttimer_stress2_cb, NULL);\n \n \t/* pick random timer to reset, stopping them first half the time */\n-\tfor (i = 0; i < 100000; i++) {\n+\tfor (i = 0; i < NB_STRESS2_TIMERS; i++) {\n \t\tint r = rand() % NB_STRESS2_TIMERS;\n \t\tif (i % 2)\n \t\t\trte_timer_stop(&timers[r]);\n",
    "prefixes": []
}