get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 89837,
    "url": "http://patches.dpdk.org/api/patches/89837/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20210325085449.18195-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": "<20210325085449.18195-5-yufengx.mo@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20210325085449.18195-5-yufengx.mo@intel.com",
    "date": "2021-03-25T08:54:40",
    "name": "[V3,04/13] tests/vf_l3fwd_em_kernelpf: script",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "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": {
        "id": 23642,
        "url": "http://patches.dpdk.org/api/users/23642/?format=api",
        "username": "lijuantu",
        "first_name": "LIjuan",
        "last_name": "Tu",
        "email": "lijuan.tu@intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dts/patch/20210325085449.18195-5-yufengx.mo@intel.com/mbox/",
    "series": [
        {
            "id": 15876,
            "url": "http://patches.dpdk.org/api/series/15876/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=15876",
            "date": "2021-03-25T08:54:36",
            "name": "vf_l3fwd_kernelpf: add more test scenario",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/15876/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/89837/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/89837/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 52843A0A02;\n\tThu, 25 Mar 2021 10:02:01 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 4D139140D8A;\n\tThu, 25 Mar 2021 10:02:01 +0100 (CET)",
            "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n by mails.dpdk.org (Postfix) with ESMTP id 75C4A140D8A\n for <dts@dpdk.org>; Thu, 25 Mar 2021 10:01:59 +0100 (CET)",
            "from fmsmga002.fm.intel.com ([10.253.24.26])\n by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 25 Mar 2021 02:01:59 -0700",
            "from dpdk-moyufen06.sh.intel.com ([10.67.116.208])\n by fmsmga002.fm.intel.com with ESMTP; 25 Mar 2021 02:01:57 -0700"
        ],
        "IronPort-SDR": [
            "\n +a9ABgVQ3nm2CGCh43+dyTqOdOwETSpjuYrbVABAElOGlb+LQVGJpfUnItyg2gHn6xPLaUsMw1\n y5lyl8Mm0Sqg==",
            "\n n6NdOatjZOs1acv7N1Fcm8Z3H9ZGjpLWNrCE0XkeTrY3xVO3F1A9f6LNvHrQip5WgsuPMOVv4R\n CXbecq8DiMVg=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9933\"; a=\"170238322\"",
            "E=Sophos;i=\"5.81,277,1610438400\"; d=\"scan'208\";a=\"170238322\"",
            "E=Sophos;i=\"5.81,277,1610438400\"; d=\"scan'208\";a=\"442680084\""
        ],
        "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": "Thu, 25 Mar 2021 16:54:40 +0800",
        "Message-Id": "<20210325085449.18195-5-yufengx.mo@intel.com>",
        "X-Mailer": "git-send-email 2.21.0",
        "In-Reply-To": "<20210325085449.18195-1-yufengx.mo@intel.com>",
        "References": "<20210325085449.18195-1-yufengx.mo@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dts] [PATCH V3 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": [
        "V3",
        "04/13"
    ]
}