get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 76534,
    "url": "http://patches.dpdk.org/api/patches/76534/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/1599207525-22123-34-git-send-email-xix.zhang@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": "<1599207525-22123-34-git-send-email-xix.zhang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/1599207525-22123-34-git-send-email-xix.zhang@intel.com",
    "date": "2020-09-04T08:18:41",
    "name": "[34/38] tests/TestSuite_queue_start_stop.py:",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "9e8b13d76c0a9efd0bbdc6f181bc184751807347",
    "submitter": {
        "id": 1728,
        "url": "http://patches.dpdk.org/api/people/1728/?format=api",
        "name": "Zhang, XiX",
        "email": "xix.zhang@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/1599207525-22123-34-git-send-email-xix.zhang@intel.com/mbox/",
    "series": [
        {
            "id": 11948,
            "url": "http://patches.dpdk.org/api/series/11948/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=11948",
            "date": "2020-09-04T08:14:07",
            "name": "Modify suite to support meson & makefile",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/11948/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/76534/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/76534/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 22C82A04B1;\n\tFri,  4 Sep 2020 10:17:59 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 6BD821C194;\n\tFri,  4 Sep 2020 10:17:58 +0200 (CEST)",
            "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n by dpdk.org (Postfix) with ESMTP id C5EF41C136\n for <dts@dpdk.org>; Fri,  4 Sep 2020 10:17:56 +0200 (CEST)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 04 Sep 2020 01:17:50 -0700",
            "from unknown (HELO localhost.localdomain.sh.intel.com)\n ([10.240.182.150])\n by orsmga002.jf.intel.com with ESMTP; 04 Sep 2020 01:17:49 -0700"
        ],
        "IronPort-SDR": [
            "\n enpR1+KYA4CFewV2luMs329MHGxmXWDgMxfXUiadysu8zOTcw1ci55gjn+J2d74+dK/NYn3lcq\n VZY9UDOd3C2g==",
            "\n DFLaGTIhRt1oKvKCNEuOx3vI9/c4WQQ7ZdxWO8dRj1GvBi1So57igS5wTNovAY4BrZS6Ibgcwm\n VpE5+2R+o0+w=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9733\"; a=\"242528907\"",
            "E=Sophos;i=\"5.76,389,1592895600\"; d=\"scan'208\";a=\"242528907\"",
            "E=Sophos;i=\"5.76,389,1592895600\"; d=\"scan'208\";a=\"315782807\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "xizhan4x <xix.zhang@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "xizhan4x <xix.zhang@intel.com>",
        "Date": "Fri,  4 Sep 2020 16:18:41 +0800",
        "Message-Id": "<1599207525-22123-34-git-send-email-xix.zhang@intel.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1599207525-22123-1-git-send-email-xix.zhang@intel.com>",
        "References": "<1599207525-22123-1-git-send-email-xix.zhang@intel.com>",
        "Subject": "[dts] [dts 34/38] tests/TestSuite_queue_start_stop.py:",
        "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": "git add  tests/TestSuite_softnic.py\ngit\ngit add  tests/TestSuite_tso.py\ngit commit -m tests/TestSuite_tso.\n\nSigned-off-by: xizhan4x <xix.zhang@intel.com>\n---\n tests/TestSuite_queue_start_stop.py | 5 +++--\n 1 file changed, 3 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/tests/TestSuite_queue_start_stop.py b/tests/TestSuite_queue_start_stop.py\nindex cb59c95..55264dc 100644\n--- a/tests/TestSuite_queue_start_stop.py\n+++ b/tests/TestSuite_queue_start_stop.py\n@@ -65,6 +65,7 @@ class TestQueueStartStop(TestCase):\n         \"\"\"\n         self.ports = self.dut.get_ports(self.nic)\n         self.verify(len(self.ports) >= 1, \"Insufficient number of ports.\")\n+        self.path=self.dut.apps_name['test-pmd']\n \n     def set_up(self):\n         \"\"\"\n@@ -82,7 +83,7 @@ class TestQueueStartStop(TestCase):\n         try:\n             self.dut.session.copy_file_to(patch_file, patch_dst)\n             self.patch_hotfix_dpdk(patch_dst + \"macfwd_log.patch\", True)\n-            self.dut.build_dpdk_apps('./app/test-pmd')\n+            self.dut.build_install_dpdk(self.target)\n         except Exception as e:\n             raise IOError(\"dpdk setup failure: %s\" % e)\n \n@@ -130,7 +131,7 @@ class TestQueueStartStop(TestCase):\n         \"\"\"\n         #dpdk start\n         try:\n-            self.dut.send_expect(\"./app/test-pmd/testpmd -c 0xf -n 4 -- -i --portmask=0x1 --port-topology=loop\", \"testpmd>\", 120)\n+            self.dut.send_expect(\"%s -c 0xf -n 4 -- -i --portmask=0x1 --port-topology=loop\"%self.path, \"testpmd>\", 120)\n             time.sleep(5)\n             self.dut.send_expect(\"set fwd mac\", \"testpmd>\")\n             self.dut.send_expect(\"start\", \"testpmd>\")\n",
    "prefixes": [
        "34/38"
    ]
}