get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 98816,
    "url": "http://patches.dpdk.org/api/patches/98816/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20210914023524.2305891-1-weix.ling@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": "<20210914023524.2305891-1-weix.ling@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20210914023524.2305891-1-weix.ling@intel.com",
    "date": "2021-09-14T02:35:24",
    "name": "[V1,1/6] tests/pvp_multi_paths_performance: check expected value from config file",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "670b5d0c65e81f7e6a9bde72fe8899beb9fbb7ad",
    "submitter": {
        "id": 1828,
        "url": "http://patches.dpdk.org/api/people/1828/?format=api",
        "name": "Ling, WeiX",
        "email": "weix.ling@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20210914023524.2305891-1-weix.ling@intel.com/mbox/",
    "series": [
        {
            "id": 18887,
            "url": "http://patches.dpdk.org/api/series/18887/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=18887",
            "date": "2021-09-14T02:34:52",
            "name": "check expected value from config file",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/18887/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/98816/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/98816/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 52B2BA0C45;\n\tTue, 14 Sep 2021 04:41:37 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 4AD134069C;\n\tTue, 14 Sep 2021 04:41:37 +0200 (CEST)",
            "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n by mails.dpdk.org (Postfix) with ESMTP id EF7CC40151\n for <dts@dpdk.org>; Tue, 14 Sep 2021 04:41:35 +0200 (CEST)",
            "from orsmga007.jf.intel.com ([10.7.209.58])\n by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 13 Sep 2021 19:41:35 -0700",
            "from unknown (HELO localhost.localdomain) ([10.240.183.222])\n by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 13 Sep 2021 19:41:33 -0700"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10106\"; a=\"244183090\"",
            "E=Sophos;i=\"5.85,291,1624345200\"; d=\"scan'208\";a=\"244183090\"",
            "E=Sophos;i=\"5.85,291,1624345200\"; d=\"scan'208\";a=\"471800596\""
        ],
        "From": "Wei Ling <weix.ling@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Wei Ling <weix.ling@intel.com>",
        "Date": "Tue, 14 Sep 2021 10:35:24 +0800",
        "Message-Id": "<20210914023524.2305891-1-weix.ling@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dts] [PATCH V1 1/6] tests/pvp_multi_paths_performance: check\n expected value from config file",
        "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": "Check expected value from config file and remove the check_value method.\n\nSigned-off-by: Wei Ling <weix.ling@intel.com>\n---\n tests/TestSuite_pvp_multi_paths_performance.py | 12 ------------\n 1 file changed, 12 deletions(-)",
    "diff": "diff --git a/tests/TestSuite_pvp_multi_paths_performance.py b/tests/TestSuite_pvp_multi_paths_performance.py\nindex 11db11ee..7f809704 100644\n--- a/tests/TestSuite_pvp_multi_paths_performance.py\n+++ b/tests/TestSuite_pvp_multi_paths_performance.py\n@@ -104,15 +104,6 @@ class TestPVPMultiPathPerformance(TestCase):\n         self.path=self.dut.apps_name['test-pmd']\n         self.testpmd_name = self.path.split(\"/\")[-1]\n \n-    @property\n-    def check_value(self):\n-        check_dict = dict.fromkeys(self.frame_sizes)\n-        linerate = {64: 0.085, 128: 0.12, 256: 0.20, 512: 0.35, 1024: 0.50, 1280: 0.55, 1518: 0.60}\n-        for size in self.frame_sizes:\n-            speed = self.wirespeed(self.nic, size, self.number_of_ports)\n-            check_dict[size] = round(speed * linerate[size], 2)\n-        return check_dict\n-\n     def send_and_verify(self, case_info):\n         \"\"\"\n         Send packet with packet generator and verify\n@@ -138,9 +129,6 @@ class TestPVPMultiPathPerformance(TestCase):\n             streams = self.pktgen_helper.prepare_stream_from_tginput(tgen_input, 100, None, self.tester.pktgen)\n             _, pps = self.tester.pktgen.measure_throughput(stream_ids=streams)\n             Mpps = pps / 1000000.0\n-            self.verify(Mpps > self.check_value[frame_size],\n-                        \"%s of frame size %d speed verify failed, expect %s, result %s\" % (\n-                        self.running_case, frame_size, self.check_value[frame_size], Mpps))\n             self.throughput[frame_size][self.nb_desc] = Mpps\n             linerate = Mpps * 100 / \\\n                        float(self.wirespeed(self.nic, frame_size, self.number_of_ports))\n",
    "prefixes": [
        "V1",
        "1/6"
    ]
}