get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 92033,
    "url": "http://patches.dpdk.org/api/patches/92033/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20210422144030.16746-4-david.hunt@intel.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": "<20210422144030.16746-4-david.hunt@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210422144030.16746-4-david.hunt@intel.com",
    "date": "2021-04-22T14:40:30",
    "name": "[v1,4/4] test/power: fix turbo test",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "68367ca6953ec7b42ad4dfe5d9874c7eab83dcee",
    "submitter": {
        "id": 342,
        "url": "http://patches.dpdk.org/api/people/342/?format=api",
        "name": "Hunt, David",
        "email": "david.hunt@intel.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/20210422144030.16746-4-david.hunt@intel.com/mbox/",
    "series": [
        {
            "id": 16610,
            "url": "http://patches.dpdk.org/api/series/16610/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=16610",
            "date": "2021-04-22T14:40:27",
            "name": "[v1,1/4] test/power: fix check for cpu frequency",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/16610/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/92033/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/92033/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 6BFFEA0548;\n\tThu, 22 Apr 2021 16:41:04 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 442F541DA5;\n\tThu, 22 Apr 2021 16:40:45 +0200 (CEST)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by mails.dpdk.org (Postfix) with ESMTP id 5E96241D92;\n Thu, 22 Apr 2021 16:40:41 +0200 (CEST)",
            "from fmsmga003.fm.intel.com ([10.253.24.29])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 22 Apr 2021 07:40:39 -0700",
            "from silpixa00399952.ir.intel.com (HELO\n silpixa00399952.ger.corp.intel.com) ([10.237.222.38])\n by FMSMGA003.fm.intel.com with ESMTP; 22 Apr 2021 07:40:37 -0700"
        ],
        "IronPort-SDR": [
            "\n TUX8+pkifgNVXEoBKsSiCxWusf+O8++YWDaL8Qmyq6kO8ETHHxgEeYQ9Xd/JqDvTFMPqpS7lIr\n ZtWHif2Pa7iA==",
            "\n Kn1Fh05hrIedZh1zJ/HZAxAYfkixeuuqNd6Wu8eleErGGhFiFwsP2G79B1vAzFcyq7jgWMpJUB\n B7KgvFE8DYWg=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,9962\"; a=\"192709713\"",
            "E=Sophos;i=\"5.82,242,1613462400\"; d=\"scan'208\";a=\"192709713\"",
            "E=Sophos;i=\"5.82,242,1613462400\"; d=\"scan'208\";a=\"453274005\""
        ],
        "X-ExtLoop1": "1",
        "From": "David Hunt <david.hunt@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "david.hunt@intel.com,\n\tstable@dpdk.org",
        "Date": "Thu, 22 Apr 2021 15:40:30 +0100",
        "Message-Id": "<20210422144030.16746-4-david.hunt@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20210422144030.16746-1-david.hunt@intel.com>",
        "References": "<20210422144030.16746-1-david.hunt@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v1 4/4] test/power: fix turbo test",
        "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": "when turbo is enabled or disabled, the frequency is set to a low non-turbo\nfrequency, so we need to set to the frequency expected by the test before\nchecking.\n\nFixes: aeaeaf5f2d62 (\"test/power: add cases for turbo feature\")\nCc: stable@dpdk.org\n\nSigned-off-by: David Hunt <david.hunt@intel.com>\n---\n app/test/test_power_cpufreq.c | 12 ++++++++++++\n 1 file changed, 12 insertions(+)",
    "diff": "diff --git a/app/test/test_power_cpufreq.c b/app/test/test_power_cpufreq.c\nindex e2be807318..ceffebc428 100644\n--- a/app/test/test_power_cpufreq.c\n+++ b/app/test/test_power_cpufreq.c\n@@ -436,6 +436,12 @@ check_power_turbo(void)\n \t\t\t\tTEST_POWER_LCORE_ID);\n \t\treturn -1;\n \t}\n+\tret = rte_power_freq_max(TEST_POWER_LCORE_ID);\n+\tif (ret < 0) {\n+\t\tprintf(\"Fail to scale up the freq to max on lcore %u\\n\",\n+\t\t\t\t\t\tTEST_POWER_LCORE_ID);\n+\t\treturn -1;\n+\t}\n \n \t/* Check the current frequency */\n \tret = check_cur_freq(TEST_POWER_LCORE_ID, 0, 1);\n@@ -455,6 +461,12 @@ check_power_turbo(void)\n \t\t\t\tTEST_POWER_LCORE_ID);\n \t\treturn -1;\n \t}\n+\tret = rte_power_freq_max(TEST_POWER_LCORE_ID);\n+\tif (ret < 0) {\n+\t\tprintf(\"Fail to scale up the freq to max on lcore %u\\n\",\n+\t\t\t\t\t\tTEST_POWER_LCORE_ID);\n+\t\treturn -1;\n+\t}\n \n \t/* Check the current frequency */\n \tret = check_cur_freq(TEST_POWER_LCORE_ID, 1, 0);\n",
    "prefixes": [
        "v1",
        "4/4"
    ]
}