get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 125673,
    "url": "http://patches.dpdk.org/api/patches/125673/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20230331060909.43701-2-linglix.chen@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": "<20230331060909.43701-2-linglix.chen@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20230331060909.43701-2-linglix.chen@intel.com",
    "date": "2023-03-31T06:09:08",
    "name": "[V1,2/3] tests/queue_start_stop: optimize test script to remove re-compile dpdk test step",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "e3fb9a5f49939829a9b65d3b86309ff4c6ccbd42",
    "submitter": {
        "id": 1843,
        "url": "http://patches.dpdk.org/api/people/1843/?format=api",
        "name": "Lingli Chen",
        "email": "linglix.chen@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20230331060909.43701-2-linglix.chen@intel.com/mbox/",
    "series": [
        {
            "id": 27592,
            "url": "http://patches.dpdk.org/api/series/27592/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=27592",
            "date": "2023-03-31T06:09:07",
            "name": "[V1,1/3] test_plans/vf_queue_start_stop: add new vf test_plan",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/27592/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/125673/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/125673/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 5B3FF42881;\n\tFri, 31 Mar 2023 09:18:11 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id CDD3842BFE;\n\tFri, 31 Mar 2023 09:18:10 +0200 (CEST)",
            "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n by mails.dpdk.org (Postfix) with ESMTP id D80A9427F2\n for <dts@dpdk.org>; Fri, 31 Mar 2023 09:18:09 +0200 (CEST)",
            "from orsmga008.jf.intel.com ([10.7.209.65])\n by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 31 Mar 2023 00:18:09 -0700",
            "from unknown (HELO localhost.localdomain) ([10.239.252.99])\n by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 31 Mar 2023 00:18:07 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1680247090; x=1711783090;\n h=from:to:cc:subject:date:message-id:in-reply-to: references;\n bh=FuV7IHgTmnyetzbFecufeYV8bt1bdo3KHh+TFuVxxoY=;\n b=kVdJas6WYmWwDDFzKxTDEfX8RgNKIGFkjr/YN3h9Vl76+MHNni7kOQiO\n Hq8Oux9a33VeA4m5tpXBKGLpmsLQHcq5Wt9zW6FNlzG24Nix49SX0FXog\n QhUHqSXzz+1VcK81EFI8BK9stxg0AeREsY800s75iOmxF9WNbWdUxdp4B\n sqf63dGgwCPs4NfKnChhG/aiPIcVYnSWuiNLKsdV8h4esh4cvHDSfl4iZ\n 0mvyytT9HXGRyAcTiGAcEPtBZvr1GIENzfzSeX9GXBEO8a809CEStiFmT\n feVGMMOhbwgbVS56rbZxzzF41TMMZFJJyS5HkPZFtn9kUh5+Ea2lMPWjS g==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10665\"; a=\"321771321\"",
            "E=Sophos;i=\"5.98,307,1673942400\"; d=\"scan'208\";a=\"321771321\"",
            "E=McAfee;i=\"6600,9927,10665\"; a=\"715352774\"",
            "E=Sophos;i=\"5.98,307,1673942400\"; d=\"scan'208\";a=\"715352774\""
        ],
        "X-ExtLoop1": "1",
        "From": "Lingli Chen <linglix.chen@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "yuan.peng@intel.com,\n\tLingli Chen <linglix.chen@intel.com>",
        "Subject": "[dts][PATCH V1 2/3] tests/queue_start_stop: optimize test script to\n remove re-compile dpdk test step",
        "Date": "Fri, 31 Mar 2023 02:09:08 -0400",
        "Message-Id": "<20230331060909.43701-2-linglix.chen@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20230331060909.43701-1-linglix.chen@intel.com>",
        "References": "<20230331060909.43701-1-linglix.chen@intel.com>",
        "X-BeenThere": "dts@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "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"
    },
    "content": "remove re-compile dpdk test step to sync with test_plans\n\nSigned-off-by: Lingli Chen <linglix.chen@intel.com>\n---\n tests/TestSuite_queue_start_stop.py | 42 +++--------------------------\n 1 file changed, 3 insertions(+), 39 deletions(-)",
    "diff": "diff --git a/tests/TestSuite_queue_start_stop.py b/tests/TestSuite_queue_start_stop.py\nindex 80baf8d6..27af1419 100644\n--- a/tests/TestSuite_queue_start_stop.py\n+++ b/tests/TestSuite_queue_start_stop.py\n@@ -43,21 +43,6 @@ class TestQueueStartStop(TestCase):\n         \"\"\"\n         Run before each test case.\n         \"\"\"\n-        try:\n-            patch_file = FOLDERS[\"Depends\"] + r\"/macfwd_log.patch\"\n-        except:\n-            self.logger.warning(str(FOLDERS))\n-            patch_file = r\"dep/macfwd_log.patch\"\n-            FOLDERS[\"Depends\"] = \"dep\"\n-        patch_dst = \"/tmp/\"\n-\n-        # dpdk patch and build\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_install_dpdk(self.target)\n-        except Exception as e:\n-            raise IOError(\"dpdk setup failure: %s\" % e)\n \n     def check_forwarding(self, ports, nic, pktSize=64, received=True):\n         self.send_packet(ports[0], ports[1], self.nic, pktSize, received)\n@@ -85,20 +70,6 @@ class TestQueueStartStop(TestCase):\n         else:\n             self.verify(len(sniff_pkts) == 0, \"stop queue not work as expected\")\n \n-    def patch_hotfix_dpdk(self, patch_dir, on=True):\n-        \"\"\"\n-        This function is to apply or remove patch for dpdk.\n-        patch_dir: the abs path of the patch\n-        on: True for apply, False for remove\n-        \"\"\"\n-        try:\n-            if on:\n-                self.dut.send_expect(\"patch -p0 < %s\" % patch_dir, \"[~|~\\]]# \")\n-            else:\n-                self.dut.send_expect(\"patch -p0 -R < %s\" % patch_dir, \"[~|~\\]]# \")\n-        except Exception as e:\n-            raise ValueError(\"patch_hotfix_dpdk failure: %s\" % e)\n-\n     def test_queue_start_stop(self):\n         \"\"\"\n         queue start/stop test\n@@ -114,6 +85,7 @@ class TestQueueStartStop(TestCase):\n             )\n             time.sleep(5)\n             self.dut.send_expect(\"set fwd mac\", \"testpmd>\")\n+            self.dut.send_expect(\"set verbose 1\", \"testpmd>\")\n             self.dut.send_expect(\"start\", \"testpmd>\")\n             self.check_forwarding([0, 0], self.nic)\n         except Exception as e:\n@@ -138,7 +110,7 @@ class TestQueueStartStop(TestCase):\n         except Exception as e:\n             raise IOError(\"queue start/stop forward failure: %s\" % e)\n         self.verify(\n-            \"ports 0 queue 0 receive \" not in out,\n+            \"port 0/queue 0: received 1 packets\" not in out,\n             \"start queue revice package failed, out = %s\" % out,\n         )\n \n@@ -153,7 +125,7 @@ class TestQueueStartStop(TestCase):\n         except Exception as e:\n             raise IOError(\"queue start/stop forward failure: %s\" % e)\n         self.verify(\n-            \"ports 0 queue 0 receive \" in out,\n+            \"port 0/queue 0: received 1 packets\" in out,\n             \"start queue revice package failed, out = %s\" % out,\n         )\n \n@@ -161,7 +133,6 @@ class TestQueueStartStop(TestCase):\n         \"\"\"\n         Run after each test case.\n         \"\"\"\n-        patch_dst = \"/tmp/\"\n \n         try:\n             self.dut.send_expect(\"stop\", \"testpmd>\")\n@@ -169,13 +140,6 @@ class TestQueueStartStop(TestCase):\n         except:\n             print(\"Failed to quit testpmd\")\n \n-        self.dut.kill_all()\n-\n-        try:\n-            self.patch_hotfix_dpdk(patch_dst + \"macfwd_log.patch\", False)\n-        except Exception as e:\n-            print((\"patch_hotfix_dpdk remove failure :%s\" % e))\n-\n     def tear_down_all(self):\n         \"\"\"\n         Run after each test suite.\n",
    "prefixes": [
        "V1",
        "2/3"
    ]
}