get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 121485,
    "url": "http://patches.dpdk.org/api/patches/121485/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20221230184039.1005671-1-songx.jiale@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": "<20221230184039.1005671-1-songx.jiale@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20221230184039.1005671-1-songx.jiale@intel.com",
    "date": "2022-12-30T18:40:38",
    "name": "[V3,1/2] tests/multiprocess_iavf: add new case according to testplan",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "08c355bab2a6d6fa425d7028f86ffa6a4ed90b93",
    "submitter": {
        "id": 2352,
        "url": "http://patches.dpdk.org/api/people/2352/?format=api",
        "name": "Jiale, SongX",
        "email": "songx.jiale@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20221230184039.1005671-1-songx.jiale@intel.com/mbox/",
    "series": [
        {
            "id": 26336,
            "url": "http://patches.dpdk.org/api/series/26336/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=26336",
            "date": "2022-12-30T18:40:38",
            "name": "[V3,1/2] tests/multiprocess_iavf: add new case according to testplan",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/26336/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/121485/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/121485/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 EBCACA0032;\n\tFri, 30 Dec 2022 11:42:52 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id C626B40DD8;\n\tFri, 30 Dec 2022 11:42:52 +0100 (CET)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by mails.dpdk.org (Postfix) with ESMTP id 542F04067B\n for <dts@dpdk.org>; Fri, 30 Dec 2022 11:42:50 +0100 (CET)",
            "from orsmga005.jf.intel.com ([10.7.209.41])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 30 Dec 2022 02:42:49 -0800",
            "from unknown (HELO localhost.localdomain) ([10.239.252.20])\n by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 30 Dec 2022 02:42:47 -0800"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1672396970; x=1703932970;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=lFJ3FVioJbpHErij8HZO9Fv6uPUHqR0wSfq9eKQhYn4=;\n b=ZybH/IpcYgh7P6OR8/9TvwJkQQ/8fkGPI4zCM0W4CKe3vElH+diH4U9u\n sCvztBG8B3wEnD4l18Hosd8jAt0711EOvcRJX3/N4pOa9iDlhiHwhNlwS\n k5A0pbzz0PPMA1mSozuSp8XPusi4hriZJzYAZNWA8lFWLMarlNEYF8foa\n /AvC9RFYMWlY/+ETeZZATl+zpHTYpD0SlHbfFqI51c7ddFqIUVHh1vfO3\n 3Lc2uIqFo/v5/n/Vzo4ZqtqmrhkDu2lHwBpT/QvjU9vj/FNZAWMVZlG1Y\n ujYDvpy+rSDif+/nr9Q0z/9FSnOclW1sNFX1x4kw4Aniev0cVY9zrodI8 Q==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6500,9779,10575\"; a=\"318887650\"",
            "E=Sophos;i=\"5.96,287,1665471600\"; d=\"scan'208\";a=\"318887650\"",
            "E=McAfee;i=\"6500,9779,10575\"; a=\"827944183\"",
            "E=Sophos;i=\"5.96,287,1665471600\"; d=\"scan'208\";a=\"827944183\""
        ],
        "From": "Song Jiale <songx.jiale@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Song Jiale <songx.jiale@intel.com>",
        "Subject": "[dts] [PATCH V3 1/2] tests/multiprocess_iavf: add new case according\n to testplan",
        "Date": "Fri, 30 Dec 2022 18:40:38 +0000",
        "Message-Id": "<20221230184039.1005671-1-songx.jiale@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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": "1. add 1 case according to testplan.\n2. the optimization script, sort the results of regular matching.\n\nSigned-off-by: Song Jiale <songx.jiale@intel.com>\n---\n\nv3:\n-rework the test case according to the new testplan\n\n tests/TestSuite_multiprocess_iavf.py | 46 +++++++++++++++++++++++++++-\n 1 file changed, 45 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/tests/TestSuite_multiprocess_iavf.py b/tests/TestSuite_multiprocess_iavf.py\nindex bb8e0c98..c52bfa9c 100644\n--- a/tests/TestSuite_multiprocess_iavf.py\n+++ b/tests/TestSuite_multiprocess_iavf.py\n@@ -476,7 +476,7 @@ class TestMultiprocessIavf(TestCase):\n         )\n         pkt_num = kwargs.get(\"pkt_num\")\n         res = self.get_pkt_statistic(out, **kwargs)\n-        res_num = res[\"rx-total\"]\n+        res_num = res[\"rx-packets\"]\n         self.verify(\n             res_num == pkt_num,\n             \"fail: got wrong number of packets, expect pakcet number {}, got {}\".format(\n@@ -1068,6 +1068,7 @@ class TestMultiprocessIavf(TestCase):\n             r\"Port \\d+\\s+-\\s+rx:\\s+(?P<rx>\\d+)\\s+tx:.*PORTS\", out, re.DOTALL\n         )\n         rx_num = re.findall(r\"Client\\s+\\d\\s+-\\s+rx:\\s+(\\d+)\", res.group(0))\n+        rx_num.sort(reverse=True)\n         for i in range(proc_num):\n             self.verify(\n                 int(rx_num[i]) > 0,\n@@ -1677,6 +1678,49 @@ class TestMultiprocessIavf(TestCase):\n         }\n         self.rte_flow(mac_ipv4_symmetric, self.multiprocess_rss_data, **pmd_param)\n \n+    def test_multiprocess_negative_action(self):\n+        \"\"\"\n+        Test Case: test_multiprocess_negative_action\n+\n+        \"\"\"\n+        # start testpmd multi-process\n+        self.launch_multi_testpmd(\n+            proc_type=\"auto\",\n+            queue_num=4,\n+            process_num=2,\n+        )\n+        for pmd_output in self.pmd_output_list:\n+            pmd_output.execute_cmd(\"stop\")\n+        # set primary process port stop\n+        try:\n+            self.pmd_output_list[0].execute_cmd(\"port stop 0\")\n+        except Exception as ex:\n+            out = ex.output\n+            self.logger.error(out)\n+            self.verify(\n+                \"core dump\" not in out, \"Core dump occurred in the primary process!!!\"\n+            )\n+        for pmd_output in self.pmd_output_list:\n+            pmd_output.quit()\n+        # start testpmd multi-process\n+        self.launch_multi_testpmd(\n+            proc_type=\"auto\",\n+            queue_num=4,\n+            process_num=2,\n+        )\n+        for pmd_output in self.pmd_output_list:\n+            pmd_output.execute_cmd(\"stop\")\n+        # reset port in secondary process\n+        try:\n+            self.pmd_output_list[1].execute_cmd(\"port stop 0\")\n+            self.pmd_output_list[1].execute_cmd(\"port reset 0\")\n+        except Exception as ex:\n+            out = ex.output\n+            self.logger.error(out)\n+            self.verify(\n+                \"core dump\" not in out, \"Core dump occurred in the second process!!!\"\n+            )\n+\n     def set_fields(self):\n         \"\"\"set ip protocol field behavior\"\"\"\n         fields_config = {\n",
    "prefixes": [
        "V3",
        "1/2"
    ]
}