get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 76853,
    "url": "http://patches.dpdk.org/api/patches/76853/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20200908071825.118583-19-junx.w.zhou@intel.com/",
    "project": {
        "id": 3,
        "url": "http://patches.dpdk.org/api/projects/3/?format=api",
        "name": "DTS",
        "link_name": "dts",
        "list_id": "dts.dpdk.org",
        "list_email": "dts@dpdk.org",
        "web_url": "",
        "scm_url": "git://dpdk.org/tools/dts",
        "webscm_url": "http://git.dpdk.org/tools/dts/",
        "list_archive_url": "https://inbox.dpdk.org/dts",
        "list_archive_url_format": "https://inbox.dpdk.org/dts/{}",
        "commit_url_format": ""
    },
    "msgid": "<20200908071825.118583-19-junx.w.zhou@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20200908071825.118583-19-junx.w.zhou@intel.com",
    "date": "2020-09-08T07:18:05",
    "name": "[18/38] tests/TestSuite_metering_and_policing.py: adapt to support both meson and makefile build",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "9cedd02765b1a5a2677779e36a14bdc2e9e317cb",
    "submitter": {
        "id": 1646,
        "url": "http://patches.dpdk.org/api/people/1646/?format=api",
        "name": "Zhou, JunX W",
        "email": "junx.w.zhou@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20200908071825.118583-19-junx.w.zhou@intel.com/mbox/",
    "series": [
        {
            "id": 12010,
            "url": "http://patches.dpdk.org/api/series/12010/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=12010",
            "date": "2020-09-08T07:17:47",
            "name": "Modify suites to support meson",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/12010/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/76853/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/76853/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dts-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 5CF10A04AA;\n\tTue,  8 Sep 2020 09:29:50 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 54AB71C0D2;\n\tTue,  8 Sep 2020 09:29:50 +0200 (CEST)",
            "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n by dpdk.org (Postfix) with ESMTP id 4DD3E2BAB\n for <dts@dpdk.org>; Tue,  8 Sep 2020 09:29:48 +0200 (CEST)",
            "from orsmga001.jf.intel.com ([10.7.209.18])\n by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 08 Sep 2020 00:29:48 -0700",
            "from unknown (HELO localhost.localdomain) ([10.240.183.52])\n by orsmga001.jf.intel.com with ESMTP; 08 Sep 2020 00:29:46 -0700"
        ],
        "IronPort-SDR": [
            "\n WdPCMLhhUONUMK3KGWNn6HDWUrQfbPZr+xfB85Up+HZN+AF31Bbf8Wezq+HbPlrV+sXFmHdzYa\n LydsNJ3hC5zg==",
            "\n Wkm/DIFYjxYx1GnWD48MLhZx6ixnJx5RIhiuYxct5abzk+i7DVejHNNyCK+WBZuPB8DzZ0TJuP\n Fr9JtpNjk2mQ=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9737\"; a=\"219646593\"",
            "E=Sophos;i=\"5.76,404,1592895600\"; d=\"scan'208\";a=\"219646593\"",
            "E=Sophos;i=\"5.76,404,1592895600\"; d=\"scan'208\";a=\"377432719\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "\"Zhou, Jun\" <junx.w.zhou@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Zhou jun <junx.w.zhou@intel.com>",
        "Date": "Tue,  8 Sep 2020 07:18:05 +0000",
        "Message-Id": "<20200908071825.118583-19-junx.w.zhou@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20200908071825.118583-1-junx.w.zhou@intel.com>",
        "References": "<20200908071825.118583-1-junx.w.zhou@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dts] [dts 18/38] tests/TestSuite_metering_and_policing.py: adapt\n\tto support both meson and makefile build",
        "X-BeenThere": "dts@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "test suite reviews and discussions <dts.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dts>,\n <mailto:dts-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dts/>",
        "List-Post": "<mailto:dts@dpdk.org>",
        "List-Help": "<mailto:dts-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dts>,\n <mailto:dts-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dts-bounces@dpdk.org",
        "Sender": "\"dts\" <dts-bounces@dpdk.org>"
    },
    "content": "From: Zhou jun <junx.w.zhou@intel.com>\n\nSigned-off-by: Zhou jun <junx.w.zhou@intel.com>\n---\n tests/TestSuite_metering_and_policing.py | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/tests/TestSuite_metering_and_policing.py b/tests/TestSuite_metering_and_policing.py\nindex 73bcdbb..c481d45 100644\n--- a/tests/TestSuite_metering_and_policing.py\n+++ b/tests/TestSuite_metering_and_policing.py\n@@ -44,6 +44,7 @@ from settings import HEADER_SIZE\n from dut import Dut\n from pmd_output import PmdOutput\n \n+\n class TestMeteringAndPolicing(TestCase):\n     scapyCmds = []\n \n@@ -154,7 +155,7 @@ class TestMeteringAndPolicing(TestCase):\n             portmask = \"0x10\"\n             Corelist = \"0x1f\"\n             Servicecorelist = \"0x10\"\n-        self.path = \"./%s/app/testpmd\" % self.target\n+        self.path = self.dut.apps_name['test-pmd']\n         cmd = self.path + \" -c %s -s %s -n %d --vdev 'net_softnic0,firmware=%s' \\\n          -- -i  --rxq=%d --txq=%d --portmask=%s --disable-rss\" \\\n               % (Corelist, Servicecorelist, self.dut.get_memory_channels(), filename, self.port_id, self.port_id, portmask)\n",
    "prefixes": [
        "18/38"
    ]
}