get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 90070,
    "url": "https://patches.dpdk.org/api/patches/90070/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20210330070525.5056-13-yufengx.mo@intel.com/",
    "project": {
        "id": 3,
        "url": "https://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-13-yufengx.mo@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20210330070525.5056-13-yufengx.mo@intel.com",
    "date": "2021-03-30T07:05:24",
    "name": "[V4,12/13] tests/vf_l3fwd_lpm_ipv6_kernelpf: script",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "0ff62e30e7b1b8d9119713601cefca8d60811cd5",
    "submitter": {
        "id": 1342,
        "url": "https://patches.dpdk.org/api/people/1342/?format=api",
        "name": "Yufen.Mo",
        "email": "yufengx.mo@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dts/patch/20210330070525.5056-13-yufengx.mo@intel.com/mbox/",
    "series": [
        {
            "id": 15965,
            "url": "https://patches.dpdk.org/api/series/15965/?format=api",
            "web_url": "https://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": "https://patches.dpdk.org/series/15965/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/90070/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/90070/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 9E7F6A034F;\n\tTue, 30 Mar 2021 09:12:47 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 9A00F140DEB;\n\tTue, 30 Mar 2021 09:12:47 +0200 (CEST)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by mails.dpdk.org (Postfix) with ESMTP id F2613140DCD\n for <dts@dpdk.org>; Tue, 30 Mar 2021 09:12:45 +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:45 -0700",
            "from dpdk-moyufen06.sh.intel.com ([10.67.116.208])\n by fmsmga008.fm.intel.com with ESMTP; 30 Mar 2021 00:12:44 -0700"
        ],
        "IronPort-SDR": [
            "\n u4Hqc19yoHDC5yZLMF044MkWWjEGfjk8EIK+/dW3j0aQa3nl9fk5ooDO0yLTeXq+1tYYSwqHU8\n MzV94VXQrqMA==",
            "\n EBWi/MXwK2mJe7pls4KI2v9iZ7yLfvlZzl7rSq2uJnKixt9p4MMzBcCnPNSR8sNqHDWxt2fssB\n QL8K44oPVhOw=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9938\"; a=\"191805912\"",
            "E=Sophos;i=\"5.81,290,1610438400\"; d=\"scan'208\";a=\"191805912\"",
            "E=Sophos;i=\"5.81,290,1610438400\"; d=\"scan'208\";a=\"411473238\""
        ],
        "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:24 +0800",
        "Message-Id": "<20210330070525.5056-13-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 12/13] tests/vf_l3fwd_lpm_ipv6_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_lpm_ipv6_kernelpf suite automation script.\n\nSigned-off-by: yufengmx <yufengx.mo@intel.com>\n---\n tests/TestSuite_vf_l3fwd_lpm_ipv6_kernelpf.py | 85 +++++++++++++++++++\n 1 file changed, 85 insertions(+)\n create mode 100644 tests/TestSuite_vf_l3fwd_lpm_ipv6_kernelpf.py",
    "diff": "diff --git a/tests/TestSuite_vf_l3fwd_lpm_ipv6_kernelpf.py b/tests/TestSuite_vf_l3fwd_lpm_ipv6_kernelpf.py\nnew file mode 100644\nindex 00000000..c7cb1b6c\n--- /dev/null\n+++ b/tests/TestSuite_vf_l3fwd_lpm_ipv6_kernelpf.py\n@@ -0,0 +1,85 @@\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 TestVfL3fwdLpmIpv6KernelPf(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_ipv6_lpm(self):\n+        self.perf_set_cur_case('test_perf_vf_throughput_ipv6_lpm')\n+        self.ms_throughput(l3_proto=IP_TYPE.V6, mode=MATCH_MODE.LPM)\n",
    "prefixes": [
        "V4",
        "12/13"
    ]
}