get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 90062,
    "url": "http://patches.dpdk.org/api/patches/90062/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20210330070525.5056-5-yufengx.mo@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": "<20210330070525.5056-5-yufengx.mo@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20210330070525.5056-5-yufengx.mo@intel.com",
    "date": "2021-03-30T07:05:16",
    "name": "[V4,04/13] tests/vf_l3fwd_em_kernelpf: script",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "e9976029110a61143256d8490cf92f7eda033a44",
    "submitter": {
        "id": 1342,
        "url": "http://patches.dpdk.org/api/people/1342/?format=api",
        "name": "Yufen.Mo",
        "email": "yufengx.mo@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20210330070525.5056-5-yufengx.mo@intel.com/mbox/",
    "series": [
        {
            "id": 15965,
            "url": "http://patches.dpdk.org/api/series/15965/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=15965",
            "date": "2021-03-30T07:05:12",
            "name": "vf_l3fwd_kernelpf: add more test scenario",
            "version": 4,
            "mbox": "http://patches.dpdk.org/series/15965/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/90062/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/90062/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 41FEDA034F;\n\tTue, 30 Mar 2021 09:12:36 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 3C39B140DB9;\n\tTue, 30 Mar 2021 09:12:36 +0200 (CEST)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by mails.dpdk.org (Postfix) with ESMTP id 8ECB0406B4\n for <dts@dpdk.org>; Tue, 30 Mar 2021 09:12:34 +0200 (CEST)",
            "from fmsmga008.fm.intel.com ([10.253.24.58])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 30 Mar 2021 00:12:34 -0700",
            "from dpdk-moyufen06.sh.intel.com ([10.67.116.208])\n by fmsmga008.fm.intel.com with ESMTP; 30 Mar 2021 00:12:32 -0700"
        ],
        "IronPort-SDR": [
            "\n J3NENAEClp05UpoxYm+WBN3eeganG2VvBsVQdJp2hCiBLtOzXl+JLWyhdiMJkrtBCm2yTip1O/\n SeN9EoseftXA==",
            "\n FPWBMqT2GKVOv+ZXo0b2Gb50/O345B4W/NDZJRL22tvBqTF+iCn920w856JjhvG2GmpkUb6YeQ\n W3Plj6Ry0lfw=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9938\"; a=\"191805850\"",
            "E=Sophos;i=\"5.81,290,1610438400\"; d=\"scan'208\";a=\"191805850\"",
            "E=Sophos;i=\"5.81,290,1610438400\"; d=\"scan'208\";a=\"411473154\""
        ],
        "X-ExtLoop1": "1",
        "From": "yufengmx <yufengx.mo@intel.com>",
        "To": "dts@dpdk.org,\n\tlijuan.tu@intel.com",
        "Cc": "yufengmx <yufengx.mo@intel.com>",
        "Date": "Tue, 30 Mar 2021 15:05:16 +0800",
        "Message-Id": "<20210330070525.5056-5-yufengx.mo@intel.com>",
        "X-Mailer": "git-send-email 2.21.0",
        "In-Reply-To": "<20210330070525.5056-1-yufengx.mo@intel.com>",
        "References": "<20210330070525.5056-1-yufengx.mo@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dts] [PATCH V4 04/13] tests/vf_l3fwd_em_kernelpf: script",
        "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",
        "Sender": "\"dts\" <dts-bounces@dpdk.org>"
    },
    "content": "vf_l3fwd_em_kernelpf suite automation script.\n\nSigned-off-by: yufengmx <yufengx.mo@intel.com>\n---\n tests/TestSuite_vf_l3fwd_em_kernelpf.py | 89 +++++++++++++++++++++++++\n 1 file changed, 89 insertions(+)\n create mode 100644 tests/TestSuite_vf_l3fwd_em_kernelpf.py",
    "diff": "diff --git a/tests/TestSuite_vf_l3fwd_em_kernelpf.py b/tests/TestSuite_vf_l3fwd_em_kernelpf.py\nnew file mode 100644\nindex 00000000..05cda1d1\n--- /dev/null\n+++ b/tests/TestSuite_vf_l3fwd_em_kernelpf.py\n@@ -0,0 +1,89 @@\n+# BSD LICENSE\n+#\n+# Copyright(c) 2010-2021 Intel Corporation. All rights reserved.\n+# All rights reserved.\n+#\n+# Redistribution and use in source and binary forms, with or without\n+# modification, are permitted provided that the following conditions\n+# are met:\n+#\n+#   * Redistributions of source code must retain the above copyright\n+#     notice, this list of conditions and the following disclaimer.\n+#   * Redistributions in binary form must reproduce the above copyright\n+#     notice, this list of conditions and the following disclaimer in\n+#     the documentation and/or other materials provided with the\n+#     distribution.\n+#   * Neither the name of Intel Corporation nor the names of its\n+#     contributors may be used to endorse or promote products derived\n+#     from this software without specific prior written permission.\n+#\n+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n+# \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n+# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n+# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n+# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n+# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n+# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+\n+import os\n+import time\n+from test_case import TestCase\n+from perf_test_base import PerfTestBase, IP_TYPE, MATCH_MODE, SUITE_TYPE, VF_L3FWD_NIC_SUPPORT\n+\n+\n+class TestVfL3fwdEmKernelPf(TestCase, PerfTestBase):\n+    #\n+    # Test cases.\n+    #\n+\n+    def set_up_all(self):\n+        \"\"\"\n+        Run at the start of each test suite.\n+        \"\"\"\n+        self.verify(self.nic in VF_L3FWD_NIC_SUPPORT,\n+                    \"NIC Unsupported: \" + str(self.nic))\n+        self.dut_ports = self.dut.get_ports(self.nic)\n+        valports = [\n+            _ for _ in self.dut_ports if self.tester.get_local_port(_) != -1]\n+        self.logger.debug(valports)\n+        self.verify_ports_number(valports)\n+        # get socket and cores\n+        socket = self.dut.get_numa_id(self.dut_ports[0])\n+        cores = self.dut.get_core_list(\"1S/6C/1T\", socket=socket)\n+        self.verify(cores, \"Requested 6 cores failed\")\n+        # init l3fwd common base class parameters\n+        PerfTestBase.__init__(self, valports, socket, mode=SUITE_TYPE.VF)\n+        # preset testing environment\n+        self.perf_preset_test_environment(self.get_suite_cfg())\n+\n+    def tear_down_all(self):\n+        \"\"\"\n+        Run after each test suite.\n+        \"\"\"\n+        self.perf_destroy_resource()\n+        self.l3fwd_save_results(json_file=\"{}.json\".format(self.suite_name))\n+\n+    def set_up(self):\n+        \"\"\"\n+        Run before each test case.\n+        \"\"\"\n+        pass\n+\n+    def tear_down(self):\n+        \"\"\"\n+        Run after each test case.\n+        \"\"\"\n+        self.dut.kill_all()\n+        self.perf_reset_cur_case()\n+\n+    def test_perf_vf_throughput_ipv4_em(self):\n+        self.perf_set_cur_case('test_perf_vf_throughput_ipv4_em')\n+        self.ms_throughput(l3_proto=IP_TYPE.V4, mode=MATCH_MODE.EM)\n+\n+    def test_perf_vf_throughput_ipv6_em(self):\n+        self.perf_set_cur_case('test_perf_vf_throughput_ipv6_em')\n+        self.ms_throughput(l3_proto=IP_TYPE.V6, mode=MATCH_MODE.EM)\n",
    "prefixes": [
        "V4",
        "04/13"
    ]
}