get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 97460,
    "url": "https://patches.dpdk.org/api/patches/97460/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20210827164435.18136-1-linglix.chen@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": "<20210827164435.18136-1-linglix.chen@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20210827164435.18136-1-linglix.chen@intel.com",
    "date": "2021-08-27T16:44:35",
    "name": "[V1] tests/vhost_cbdma: remove one case sync with testplan",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "0e0b182240447ff50182a81ba2b4ba5b83ed875b",
    "submitter": {
        "id": 1843,
        "url": "https://patches.dpdk.org/api/people/1843/?format=api",
        "name": "Lingli Chen",
        "email": "linglix.chen@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dts/patch/20210827164435.18136-1-linglix.chen@intel.com/mbox/",
    "series": [
        {
            "id": 18494,
            "url": "https://patches.dpdk.org/api/series/18494/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=18494",
            "date": "2021-08-27T16:44:35",
            "name": "[V1] tests/vhost_cbdma: remove one case sync with testplan",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/18494/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/97460/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/97460/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 5C4DBA0548;\n\tFri, 27 Aug 2021 10:41:43 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 2C025406B4;\n\tFri, 27 Aug 2021 10:41:43 +0200 (CEST)",
            "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n by mails.dpdk.org (Postfix) with ESMTP id 7A1484067C\n for <dts@dpdk.org>; Fri, 27 Aug 2021 10:41:41 +0200 (CEST)",
            "from orsmga007.jf.intel.com ([10.7.209.58])\n by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 27 Aug 2021 01:41:40 -0700",
            "from unknown (HELO localhost.localdomain) ([10.240.183.77])\n by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 27 Aug 2021 01:41:39 -0700"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10088\"; a=\"217960631\"",
            "E=Sophos;i=\"5.84,356,1620716400\"; d=\"scan'208\";a=\"217960631\"",
            "E=Sophos;i=\"5.84,356,1620716400\"; d=\"scan'208\";a=\"465394654\""
        ],
        "From": "Lingli Chen <linglix.chen@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Lingli Chen <linglix.chen@intel.com>",
        "Date": "Fri, 27 Aug 2021 16:44:35 +0000",
        "Message-Id": "<20210827164435.18136-1-linglix.chen@intel.com>",
        "X-Mailer": "git-send-email 2.32.0",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dts] [PATCH V1] tests/vhost_cbdma: remove one case sync with\n testplan",
        "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": "remove test_check_threshold_value_with_cbdma sync with testplan.\n\nSigned-off-by: Lingli Chen <linglix.chen@intel.com>\n---\n tests/TestSuite_vhost_cbdma.py | 46 +++-------------------------------\n 1 file changed, 3 insertions(+), 43 deletions(-)",
    "diff": "diff --git a/tests/TestSuite_vhost_cbdma.py b/tests/TestSuite_vhost_cbdma.py\nindex 16fef645..c44b692a 100644\n--- a/tests/TestSuite_vhost_cbdma.py\n+++ b/tests/TestSuite_vhost_cbdma.py\n@@ -318,49 +318,9 @@ class TestVirTioVhostCbdma(TestCase):\n         self.handle_expected(mode_list=self.mode_list)\n         self.handle_results(mode_list=self.mode_list)\n \n-    def test_check_threshold_value_with_cbdma(self):\n-        \"\"\"\n-        Test Case3: CBDMA threshold value check\n-        \"\"\"\n-        used_cbdma_num = 4\n-        params = '--nb-cores=1 --rxq=2 --txq=2'\n-        dmathr = [512, 4096]\n-        vid_dict = {}\n-        self.get_cbdma_ports_info_and_bind_to_dpdk(used_cbdma_num)\n-        self.dut.restore_interfaces()\n-        # launch vhost, Check the cbdma threshold value for each vhost port can be config correct from vhost log\n-        vhost_vdev = [f\"'eth_vhost0,iface=vhost-net0,queues=2,client=1,dmas=[txq0@{self.used_cbdma[0]};txq1@{self.used_cbdma[1]}],dmathr={dmathr[0]}'\", \\\n-            f\"'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@{self.used_cbdma[2]};txq1@{self.used_cbdma[3]}],dmathr={dmathr[1]}'\"]\n-        virtio_dev0 = f\"net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net0,queues=2,server=1,packed_vq=0,mrg_rxbuf=1,in_order=0,queue_size=4096\"\n-        virtio_dev1 = f\"net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=2,server=1,packed_vq=0,mrg_rxbuf=1,in_order=0,queue_size=4096\"\n-        vdev_params = '{} --vdev {}'.format(vhost_vdev[0], vhost_vdev[1])\n-        allow_pci = []\n-        for index in range(used_cbdma_num):\n-            allow_pci.append(self.cbdma_dev_infos[index])\n-        self.pmdout_vhost_user.start_testpmd(cores=self.cores[0:2], param=params, vdevs=[vdev_params], ports=allow_pci, prefix=\"vhost\", fixed_prefix=True)\n-        self.vhost_user.send_expect('start', 'testpmd> ', 120)\n-        # vid0,qid0,dma2,threshold:4096\n-        self.launch_testpmd_as_virtio_user1(params, self.cores[2:4], dev=virtio_dev1)\n-        vid_dict[dmathr[1]] = 0\n-        # vid1,qid0,dma0,threshold:512\n-        self.launch_testpmd_as_virtio_user(params, self.cores[4:6], dev=virtio_dev0)\n-        vid_dict[dmathr[0]] = 1\n-        # Check the cbdma threshold value for each vhost port can be config correct from vhost log\n-        out = self.vhost_user.get_session_before(timeout=2)\n-        self.vhost_user.send_expect(\"quit\", \"# \")\n-        self.virtio_user.send_expect(\"quit\", \"# \")\n-        self.virtio_user1.send_expect(\"quit\", \"# \")\n-        pattern = re.compile(r'dma parameters: vid\\S+,qid\\d+,dma\\d+,threshold:\\d+')\n-        return_param = re.findall(pattern, out)\n-        self.logger.info(\"Actual Info:\" + str(return_param))\n-        check_value = 0\n-        for dma in dmathr:\n-            check_value += len(re.findall('vid{},\\S+threshold:{}'.format(vid_dict[dma], dma), str(return_param)))\n-        self.verify(check_value == used_cbdma_num, \"Check failed: Actual value:{}\".format(return_param))\n-\n     def test_perf_pvp_packed_all_path_with_cbdma_vhost_enqueue_operations(self):\n         \"\"\"\n-        Test Case 4: PVP packed ring all path with DMA-accelerated vhost enqueue\n+        Test Case 3: PVP packed ring all path with DMA-accelerated vhost enqueue\n         \"\"\"\n         self.test_target = self.running_case\n         self.expected_throughput = self.get_suite_cfg()['expected_throughput'][self.test_target]\n@@ -406,7 +366,7 @@ class TestVirTioVhostCbdma(TestCase):\n \n     def test_perf_packed_dynamic_queue_number_cbdma_vhost_enqueue_operations(self):\n         \"\"\"\n-        Test Case5: Packed ring dynamic queue number test for DMA-accelerated vhost Tx operations\n+        Test Case4: Packed ring dynamic queue number test for DMA-accelerated vhost Tx operations\n         \"\"\"\n         self.test_target = self.running_case\n         self.expected_throughput = self.get_suite_cfg()['expected_throughput'][self.test_target]\n@@ -466,7 +426,7 @@ class TestVirTioVhostCbdma(TestCase):\n     \n     def test_perf_compare_pvp_split_ring_performance(self):\n         \"\"\"\n-        Test Case6: Compare PVP split ring performance between CPU copy, CBDMA copy and Sync copy\n+        Test Case5: Compare PVP split ring performance between CPU copy, CBDMA copy and Sync copy\n         \"\"\"\n         used_cbdma_num = 1\n         queue = 1\n",
    "prefixes": [
        "V1"
    ]
}