get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 77306,
    "url": "http://patches.dpdk.org/api/patches/77306/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20200911025758.9246-3-weix.xie@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": "<20200911025758.9246-3-weix.xie@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20200911025758.9246-3-weix.xie@intel.com",
    "date": "2020-09-11T02:57:55",
    "name": "[V1,2/5] tests/TestSuite_enable_package_download_in_ice_driver:support meson build method",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "ac15b7378967d7da6bf1538fd1c9a7289beecd63",
    "submitter": {
        "id": 1686,
        "url": "http://patches.dpdk.org/api/people/1686/?format=api",
        "name": "Xie, WeiX",
        "email": "weix.xie@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20200911025758.9246-3-weix.xie@intel.com/mbox/",
    "series": [
        {
            "id": 12122,
            "url": "http://patches.dpdk.org/api/series/12122/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=12122",
            "date": "2020-09-11T02:57:53",
            "name": "support meson build method",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/12122/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/77306/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/77306/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 1FEEEA04B5;\n\tFri, 11 Sep 2020 04:59:55 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 193961C0B9;\n\tFri, 11 Sep 2020 04:59:55 +0200 (CEST)",
            "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n by dpdk.org (Postfix) with ESMTP id 7303C1B9B7\n for <dts@dpdk.org>; Fri, 11 Sep 2020 04:59:53 +0200 (CEST)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 10 Sep 2020 19:59:53 -0700",
            "from unknown (HELO localhost.localdomain) ([10.240.183.80])\n by orsmga002.jf.intel.com with ESMTP; 10 Sep 2020 19:59:51 -0700"
        ],
        "IronPort-SDR": [
            "\n q4pjfzr8/RSKV4e7CvKu4BqbxEYsEjK3HIz6yt3KtcJeZ9psh4+L++vX8QE4auG+9+aI//3gld\n aveU4OrhGVyw==",
            "\n kVuMoNyaQux/fEOwdsQp7KwOKPoYviNEOXxZfWpyCQep9Mf2Rb448jzFwVpxin/Ml42XPYq5W/\n ysD1tctQ6q3A=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9740\"; a=\"222881662\"",
            "E=Sophos;i=\"5.76,413,1592895600\"; d=\"scan'208\";a=\"222881662\"",
            "E=Sophos;i=\"5.76,413,1592895600\"; d=\"scan'208\";a=\"318135475\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Xie wei <weix.xie@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Xie wei <weix.xie@intel.com>",
        "Date": "Fri, 11 Sep 2020 10:57:55 +0800",
        "Message-Id": "<20200911025758.9246-3-weix.xie@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20200911025758.9246-1-weix.xie@intel.com>",
        "References": "<20200911025758.9246-1-weix.xie@intel.com>",
        "Subject": "[dts] [PATCH V1 2/5]\n\ttests/TestSuite_enable_package_download_in_ice_driver:support\n\tmeson build method",
        "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": "Signed-off-by: Xie wei <weix.xie@intel.com>\n---\n tests/TestSuite_enable_package_download_in_ice_driver.py | 5 +++--\n 1 file changed, 3 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/tests/TestSuite_enable_package_download_in_ice_driver.py b/tests/TestSuite_enable_package_download_in_ice_driver.py\nindex 5364975..b57eb79 100644\n--- a/tests/TestSuite_enable_package_download_in_ice_driver.py\n+++ b/tests/TestSuite_enable_package_download_in_ice_driver.py\n@@ -53,6 +53,7 @@ class TestEnable_Package_Download_In_Ice_Driver(TestCase):\n         self.dut_p0_mac = self.dut.get_mac_address(self.dut_ports[0])\n         self.tester_p0_mac = self.tester.get_mac(localPort0)\n         self.dut_testpmd = PmdOutput(self.dut)\n+        self.path = self.dut.apps_name['test-pmd']\n \n         self.pkg_file1 = '/lib/firmware/intel/ice/ddp/ice.pkg'\n         self.pkg_file2 = '/lib/firmware/updates/intel/ice/ddp/ice.pkg'\n@@ -288,7 +289,7 @@ class TestEnable_Package_Download_In_Ice_Driver(TestCase):\n         use wrong ice.pkg and start testpmd without \"safe-mode-suppor\", no port is loaded in testpmd\n         \"\"\"\n         self.use_correct_ice_pkg(flag=\"false\")\n-        cmd = \"./%s/app/testpmd -c 0x7 -n 4 -- -i --nb-cores=8 --rxq=%s --txq=%s --port-topology=chained\" % (self.target, self.PF_QUEUE, self.PF_QUEUE)\n+        cmd = self.path + \"-c 0x7 -n 4 -- -i --nb-cores=8 --rxq=%s --txq=%s --port-topology=chained\" % (self.PF_QUEUE, self.PF_QUEUE)\n         out = self.dut.send_expect(cmd, \"#\", 60)\n         error_messages = [\"ice_load_pkg(): failed to allocate buf of size 0 for package\", \\\n                 \"ice_dev_init(): Failed to load the DDP package,Use safe-mode-support=1 to enter Safe Mode\"]\n@@ -340,7 +341,7 @@ class TestEnable_Package_Download_In_Ice_Driver(TestCase):\n             self.generate_delete_specify_pkg(pkg_ver=self.new_pkgs[i], sn=self.nic_sn[i], key=\"true\")\n \n         eal_param = \"-w %s \" % self.nic_pci[0] + \"-w %s \" % self.nic_pci[1] + \"--log-level=8\"\n-        out = self.dut_testpmd.execute_cmd(\"./%s/app/testpmd %s -- -i \" % (self.target, eal_param))\n+        out = self.dut_testpmd.execute_cmd(self.path + eal_param + \" -- -i \")\n         self.dut_testpmd.quit()\n \n         # Delete ice-<interface serial number>.pkg to recover the ENV\n",
    "prefixes": [
        "V1",
        "2/5"
    ]
}