get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 106333,
    "url": "https://patches.dpdk.org/api/patches/106333/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20220124074919.3172275-2-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": "<20220124074919.3172275-2-linglix.chen@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20220124074919.3172275-2-linglix.chen@intel.com",
    "date": "2022-01-24T07:49:19",
    "name": "[V1,2/2] tests/loopback_virtio_user_server_mode: Modify case sync with testplan",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "dbdaba835cb9ef3e879bf4565176e2f3daa54b0e",
    "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/20220124074919.3172275-2-linglix.chen@intel.com/mbox/",
    "series": [
        {
            "id": 21320,
            "url": "https://patches.dpdk.org/api/series/21320/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=21320",
            "date": "2022-01-24T07:49:18",
            "name": "[V1,1/2] test_plans/loopback_virtio_user_server_mode: modify test plan to coverage more test point",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/21320/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/106333/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/106333/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 98173A04A6;\n\tMon, 24 Jan 2022 08:49:42 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 8CB1C410EF;\n\tMon, 24 Jan 2022 08:49:42 +0100 (CET)",
            "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n by mails.dpdk.org (Postfix) with ESMTP id B53C140040\n for <dts@dpdk.org>; Mon, 24 Jan 2022 08:49:40 +0100 (CET)",
            "from orsmga006.jf.intel.com ([10.7.209.51])\n by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 23 Jan 2022 23:49:39 -0800",
            "from unknown (HELO localhost.localdomain) ([10.239.251.222])\n by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 23 Jan 2022 23:49:38 -0800"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1643010580; x=1674546580;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=pISsQGjIy2hpl1DoPO4py5Yy6gSULRNkwzPnCePOEps=;\n b=ScKjO3raASVhFTKAKxvQyZtQxEDwTqV6kvqo+PDAVLtVhy0Zu7Me+FPi\n f2JU8ba8GzTEOzeGCHf6F8ngKdezKuBgFNRF7kRSBfCBTfBITzwys53Vh\n RmHMpSbZhWVfci4NTPeOUyk3QhIqu31SI2IoDFcC6L/XQn24MxF+jSXja\n gZVsqg4oJdyY0JxDJ7UWn8fHmkUNgiRIysqt0B+Fb6l4eig4xKFcumtoD\n qaNfdeQz82IlarHTz9OAAfhtqz5WSQ+Lm5UvbWsQlxVDLV2dmu70FmH2V\n RNucxTwbXBassuXAz9/e4dy/Q2Ixv9wt6FX5hbsh+ukJrkMf2ukSzSRyX w==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10236\"; a=\"225968315\"",
            "E=Sophos;i=\"5.88,311,1635231600\"; d=\"scan'208\";a=\"225968315\"",
            "E=Sophos;i=\"5.88,311,1635231600\"; d=\"scan'208\";a=\"478974820\""
        ],
        "From": "Lingli Chen <linglix.chen@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Lingli Chen <linglix.chen@intel.com>",
        "Subject": "[dts][PATCH V1 2/2] tests/loopback_virtio_user_server_mode: Modify\n case sync with testplan",
        "Date": "Mon, 24 Jan 2022 15:49:19 +0800",
        "Message-Id": "<20220124074919.3172275-2-linglix.chen@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20220124074919.3172275-1-linglix.chen@intel.com>",
        "References": "<20220124074919.3172275-1-linglix.chen@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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"
    },
    "content": "1. Case13 is split into case13 and case14 (split ring and packed ring all path multi queue; CPU copy)\n\n2. Case14 is split into case15 and case16 (split ring and packed ring all path multi queue and iova = VA / PA; cbdma copy)\n\nSigned-off-by: Lingli Chen <linglix.chen@intel.com>\n---\n ...tSuite_loopback_virtio_user_server_mode.py | 266 ++++++++++++++++--\n 1 file changed, 240 insertions(+), 26 deletions(-)",
    "diff": "diff --git a/tests/TestSuite_loopback_virtio_user_server_mode.py b/tests/TestSuite_loopback_virtio_user_server_mode.py\nindex 7764c7ed..83e551b3 100644\n--- a/tests/TestSuite_loopback_virtio_user_server_mode.py\n+++ b/tests/TestSuite_loopback_virtio_user_server_mode.py\n@@ -103,7 +103,7 @@ class TestLoopbackVirtioUserServerMode(TestCase):\n \n     def lanuch_virtio_user_testpmd(self, args, set_fwd_mac=True, expected='testpmd> '):\n         \"\"\"\n-        start testpmd of vhost user\n+        start testpmd of virtio user\n         \"\"\"\n         eal_param = \"--vdev 'net_virtio_user0,mac=00:01:02:03:04:05,path=vhost-net,server=1,queues=1,{}'\".format(args[\"version\"])\n         if self.check_2M_env:\n@@ -126,15 +126,17 @@ class TestLoopbackVirtioUserServerMode(TestCase):\n         if set_fwd_mac:\n             self.vhost_pmd.execute_cmd(\"set fwd mac\", \"testpmd> \", 120)\n \n-    def lanuch_virtio_user_testpmd_with_multi_queue(self, mode, extern_params=\"\", set_fwd_mac=True):\n+    def lanuch_virtio_user_testpmd_with_multi_queue(self, mode, extern_params=\"\", set_fwd_mac=True, vectorized_path=False):\n         \"\"\"\n-        start testpmd of vhost user\n+        start testpmd of virtio user\n         \"\"\"\n         eal_param = \"--vdev 'net_virtio_user0,mac=00:01:02:03:04:05,path=vhost-net,server=1,queues={},{}'\".format(self.queue_number, mode)\n         if self.check_2M_env:\n             eal_param += \" --single-file-segments\"\n         if 'vectorized_path' in self.running_case:\n             eal_param += \" --force-max-simd-bitwidth=512\"\n+        if vectorized_path:\n+            eal_param += \" --force-max-simd-bitwidth=512\"\n         param = \"{} --nb-cores={} --rxq={} --txq={}\".format(extern_params, self.nb_cores, self.queue_number, self.queue_number)\n         self.virtio_user_pmd.start_testpmd(cores=self.core_list_user, param=param, eal_param=eal_param, \\\n                 no_pci=True, ports=[], prefix=\"virtio\", fixed_prefix=True)\n@@ -166,16 +168,29 @@ class TestLoopbackVirtioUserServerMode(TestCase):\n         session_tx.send_expect(\"set txpkts 2000,2000,2000,2000\", \"testpmd> \", 30)\n         session_tx.send_expect(\"set burst 1\", \"testpmd> \", 30)\n         session_tx.send_expect(\"start tx_first 1\", \"testpmd> \", 10)\n-        session_tx.send_expect(\"stop\", \"testpmd> \", 30)\n+        session_tx.send_expect(\"stop\", \"testpmd> \", 10)\n+\n+    def start_to_send_960_packets_csum(self, session_tx, cbdma=False):\n+        \"\"\"\n+        start the testpmd of vhost-user, start to send 8k packets\n+        \"\"\"\n+        if cbdma:\n+            session_tx.send_expect(\"vhost enable tx all\", \"testpmd> \", 10)\n+        session_tx.send_expect(\"set fwd csum\", \"testpmd> \", 10)\n+        session_tx.send_expect(\"set txpkts 64,128,256,512\", \"testpmd> \", 10)\n+        session_tx.send_expect(\"set burst 1\", \"testpmd> \", 10)\n+        session_tx.send_expect(\"start tx_first 1\", \"testpmd> \", 3)\n+        session_tx.send_expect(\"stop\", \"testpmd> \", 10)\n \n-    def start_to_send_8k_packets_csum_cbdma(self, session_tx):\n+    def start_to_send_6192_packets_csum_cbdma(self, session_tx):\n         \"\"\"\n         start the testpmd of vhost-user, start to send 8k packets\n         \"\"\"\n         session_tx.send_expect(\"vhost enable tx all\", \"testpmd> \", 30)\n         session_tx.send_expect(\"set fwd csum\", \"testpmd> \", 30)\n         session_tx.send_expect(\"set txpkts 64,64,64,2000,2000,2000\", \"testpmd> \", 30)\n-        session_tx.send_expect(\"start tx_first 32\", \"testpmd> \", 5)\n+        session_tx.send_expect(\"set burst 1\", \"testpmd> \", 30)\n+        session_tx.send_expect(\"start tx_first 1\", \"testpmd> \", 5)\n         session_tx.send_expect(\"stop\", \"testpmd> \", 30)\n \n     def check_port_throughput_after_port_stop(self):\n@@ -244,7 +259,7 @@ class TestLoopbackVirtioUserServerMode(TestCase):\n                 \"--pdump  'device_id=%s,queue=*,rx-dev=%s,mbuf-size=8000'\"\n         self.pdump_session.send_expect(cmd % (dump_port, self.dump_pcap), 'Port')\n \n-    def check_packet_payload_valid(self, pkt_len, queue_number):\n+    def check_packet_payload_valid(self, pkt_len):\n         \"\"\"\n         check the payload is valid\n         \"\"\"\n@@ -261,7 +276,7 @@ class TestLoopbackVirtioUserServerMode(TestCase):\n             self.verify(check_data == expect_data, \"the payload in receive packets has been changed from %s\" %i)\n         self.dut.send_expect(\"rm -rf %s\" % self.dump_pcap, \"#\")\n \n-    def relanuch_vhost_testpmd_send_8k_packets(self, extern_params, cbdma=False, iova='va'):\n+    def relanuch_vhost_testpmd_send_packets(self, extern_params, cbdma=False, iova='va'):\n \n         self.vhost_pmd.execute_cmd(\"quit\", \"#\", 60)\n         self.logger.info('now reconnet from vhost')\n@@ -271,10 +286,22 @@ class TestLoopbackVirtioUserServerMode(TestCase):\n             self.lanuch_vhost_testpmd_with_multi_queue(extern_params=extern_params, set_fwd_mac=False)\n         self.launch_pdump_to_capture_pkt(self.vuser0_port)\n         if cbdma:\n-            self.start_to_send_8k_packets_csum_cbdma(self.vhost)\n+            self.start_to_send_6192_packets_csum_cbdma(self.vhost)\n         else:\n             self.start_to_send_8k_packets_csum(self.vhost)\n-        self.check_packet_payload_valid(self.pkt_len, self.queue_number)\n+        self.check_packet_payload_valid(self.pkt_len)\n+\n+    def relanuch_vhost_testpmd_send_960_packets(self, extern_params, cbdma=False, iova='va'):\n+\n+        self.vhost_pmd.execute_cmd(\"quit\", \"#\", 60)\n+        self.logger.info('now reconnet from vhost')\n+        if cbdma:\n+            self.lanuch_vhost_testpmd_with_cbdma(extern_params=extern_params, iova=iova)\n+        else:\n+            self.lanuch_vhost_testpmd_with_multi_queue(extern_params=extern_params, set_fwd_mac=False)\n+        self.launch_pdump_to_capture_pkt(self.vuser0_port)\n+        self.start_to_send_960_packets_csum(self.vhost,cbdma=cbdma)\n+        self.check_packet_payload_valid(pkt_len=960)\n \n     def relanuch_virtio_testpmd_with_multi_path(self, mode, case_info, extern_params, cbdma=False, iova=\"va\"):\n \n@@ -285,12 +312,26 @@ class TestLoopbackVirtioUserServerMode(TestCase):\n         self.virtio_user_pmd.execute_cmd(\"start\")\n         self.launch_pdump_to_capture_pkt(self.vuser0_port)\n         if cbdma:\n-            self.start_to_send_8k_packets_csum_cbdma(self.vhost)\n+            self.start_to_send_6192_packets_csum_cbdma(self.vhost)\n         else:\n             self.start_to_send_8k_packets_csum(self.vhost)\n-        self.check_packet_payload_valid(self.pkt_len, self.queue_number)\n+        self.check_packet_payload_valid(self.pkt_len)\n+\n+        self.relanuch_vhost_testpmd_send_packets(extern_params, cbdma, iova=iova)\n+\n+    def relanuch_virtio_testpmd_with_non_mergeable_path(self, mode, case_info, extern_params, cbdma=False, iova=\"va\", vectorized_path=False):\n+\n+        self.virtio_user_pmd.execute_cmd(\"quit\", \"#\", 60)\n+        self.logger.info(case_info)\n+        self.lanuch_virtio_user_testpmd_with_multi_queue(mode=mode, extern_params=extern_params, set_fwd_mac=False,vectorized_path=vectorized_path)\n+        self.virtio_user_pmd.execute_cmd(\"set fwd csum\")\n+        self.virtio_user_pmd.execute_cmd(\"start\")\n+        self.launch_pdump_to_capture_pkt(self.vuser0_port)\n \n-        self.relanuch_vhost_testpmd_send_8k_packets(extern_params, cbdma, iova=iova)\n+        self.start_to_send_960_packets_csum(self.vhost,cbdma=cbdma)\n+        self.check_packet_payload_valid(pkt_len=960)\n+\n+        self.relanuch_vhost_testpmd_send_960_packets(extern_params, cbdma, iova=iova)\n \n     def relanuch_vhost_testpmd_with_multi_queue(self):\n         self.vhost_pmd.execute_cmd(\"quit\", \"#\", 60)\n@@ -741,9 +782,9 @@ class TestLoopbackVirtioUserServerMode(TestCase):\n         self.check_packets_of_each_queue()\n         self.close_all_testpmd()\n \n-    def test_server_mode_reconnect_with_packed_and_split_mergeable_path_payload_check(self):\n+    def test_server_mode_reconnect_with_packed_all_path_payload_check(self):\n         \"\"\"\n-        Test Case 13: loopback packed ring and split ring mergeable path payload check test using server mode and multi-queues\n+        Test Case 13: loopback packed ring all path payload check test using server mode and multi-queues\n         \"\"\"\n         self.queue_number = 8\n         self.nb_cores = 1\n@@ -763,10 +804,10 @@ class TestLoopbackVirtioUserServerMode(TestCase):\n \n         #5. Check all the packets length is 8000 Byte in the pcap file\n         self.pkt_len = 8000\n-        self.check_packet_payload_valid(self.pkt_len, self.queue_number)\n+        self.check_packet_payload_valid(self.pkt_len)\n \n         # reconnet from vhost\n-        self.relanuch_vhost_testpmd_send_8k_packets(extern_params)\n+        self.relanuch_vhost_testpmd_send_packets(extern_params)\n \n         # reconnet from virtio\n         self.logger.info('now reconnet from virtio_user with other path')\n@@ -774,19 +815,76 @@ class TestLoopbackVirtioUserServerMode(TestCase):\n         mode = \"mrg_rxbuf=1,in_order=0,packed_vq=1\"\n         self.relanuch_virtio_testpmd_with_multi_path(mode, case_info, extern_params)\n \n+        case_info = 'packed ring non-mergeable path'\n+        mode = \"mrg_rxbuf=0,in_order=0,packed_vq=1\"\n+        self.relanuch_virtio_testpmd_with_non_mergeable_path(mode, case_info, extern_params)\n+\n+        case_info = 'packed ring inorder non-mergeable path'\n+        mode = \"mrg_rxbuf=0,in_order=1,packed_vq=1\"\n+        self.relanuch_virtio_testpmd_with_non_mergeable_path(mode, case_info, extern_params)\n+\n+        case_info = 'packed ring vectorized path'\n+        mode = \"mrg_rxbuf=0,in_order=1,packed_vq=1,vectorized=1\"\n+        self.relanuch_virtio_testpmd_with_non_mergeable_path(mode, case_info, extern_params,vectorized_path=True)\n+\n+        case_info = 'packed ring vectorized path and ring size is not power of 2'\n+        mode = \"mrg_rxbuf=0,in_order=1,packed_vq=1,vectorized=1,queue_size=1025\"\n+        extern_param = '--txd=1025 --rxd=1025'\n+        self.relanuch_virtio_testpmd_with_non_mergeable_path(mode, case_info, extern_param,vectorized_path=True)\n+\n+        self.close_all_testpmd()\n+\n+    def test_server_mode_reconnect_with_split_all_path_payload_check(self):\n+        \"\"\"\n+        Test Case 14: loopback split ring all path payload check test using server mode and multi-queues\n+        \"\"\"\n+        self.queue_number = 8\n+        self.nb_cores = 1\n+        extern_params = '--txd=1024 --rxd=1024'\n         case_info = 'split ring mergeable inorder path'\n         mode = \"mrg_rxbuf=1,in_order=1\"\n-        self.relanuch_virtio_testpmd_with_multi_path(mode, case_info, extern_params)\n \n+        self.lanuch_vhost_testpmd_with_multi_queue(extern_params=extern_params, set_fwd_mac=False)\n+        self.logger.info(case_info)\n+        self.lanuch_virtio_user_testpmd_with_multi_queue(mode=mode, extern_params=extern_params, set_fwd_mac=False)\n+        self.virtio_user_pmd.execute_cmd(\"set fwd csum\")\n+        self.virtio_user_pmd.execute_cmd(\"start\")\n+        #3. Attach pdump secondary process to primary process by same file-prefix::\n+        self.vuser0_port = 'net_virtio_user0'\n+        self.launch_pdump_to_capture_pkt(self.vuser0_port)\n+        self.start_to_send_8k_packets_csum(self.vhost)\n+\n+        #5. Check all the packets length is 8000 Byte in the pcap file\n+        self.pkt_len = 8000\n+        self.check_packet_payload_valid(self.pkt_len)\n+\n+        # reconnet from vhost\n+        self.relanuch_vhost_testpmd_send_packets(extern_params)\n+\n+        # reconnet from virtio\n+        self.logger.info('now reconnet from virtio_user with other path')\n         case_info = 'split ring mergeable path'\n         mode = \"mrg_rxbuf=1,in_order=0\"\n         self.relanuch_virtio_testpmd_with_multi_path(mode, case_info, extern_params)\n \n+        case_info = 'split ring non-mergeable path'\n+        mode = \"mrg_rxbuf=0,in_order=0\"\n+        extern_param = extern_params + ' --enable-hw-vlan-strip'\n+        self.relanuch_virtio_testpmd_with_non_mergeable_path(mode, case_info, extern_param)\n+\n+        case_info = 'split ring inorder non-mergeable path'\n+        mode = \"mrg_rxbuf=0,in_order=1\"\n+        self.relanuch_virtio_testpmd_with_non_mergeable_path(mode, case_info, extern_params)\n+\n+        case_info = 'split ring vectorized path'\n+        mode = \"mrg_rxbuf=0,in_order=0,vectorized=1\"\n+        self.relanuch_virtio_testpmd_with_non_mergeable_path(mode, case_info, extern_params)\n+\n         self.close_all_testpmd()\n \n-    def test_server_mode_reconnect_with_packed_and_split_mergeable_path_cbdma_payload_check(self):\n+    def test_server_mode_reconnect_with_packed_all_path_cbdma_payload_check(self):\n         \"\"\"\n-        Test Case 14: loopback packed ring and split ring mergeable path cbdma test payload check with server mode and multi-queues\n+        Test Case 15: loopback packed ring all path cbdma test payload check with server mode and multi-queues\n         \"\"\"\n         self.cbdma_nic_dev_num = 8\n         self.get_cbdma_ports_info_and_bind_to_dpdk()\n@@ -806,13 +904,13 @@ class TestLoopbackVirtioUserServerMode(TestCase):\n         # 3. Attach pdump secondary process to primary process by same file-prefix::\n         self.vuser0_port = 'net_virtio_user0'\n         self.launch_pdump_to_capture_pkt(self.vuser0_port)\n-        self.start_to_send_8k_packets_csum_cbdma(self.vhost)\n+        self.start_to_send_6192_packets_csum_cbdma(self.vhost)\n \n         # 5. Check all the packets length is 6192 Byte in the pcap file\n         self.pkt_len = 6192\n-        self.check_packet_payload_valid(self.pkt_len, self.queue_number)\n+        self.check_packet_payload_valid(self.pkt_len)\n         #reconnet from vhost\n-        self.relanuch_vhost_testpmd_send_8k_packets(extern_params, cbdma=True)\n+        self.relanuch_vhost_testpmd_send_packets(extern_params, cbdma=True)\n \n         # reconnet from virtio\n         self.logger.info('now reconnet from virtio_user with other path')\n@@ -820,19 +918,135 @@ class TestLoopbackVirtioUserServerMode(TestCase):\n         mode = \"mrg_rxbuf=1,in_order=0,packed_vq=1\"\n         self.relanuch_virtio_testpmd_with_multi_path(mode, case_info, extern_params, cbdma=True)\n \n+        case_info = 'packed ring non-mergeable path'\n+        mode = \"mrg_rxbuf=0,in_order=0,packed_vq=1\"\n+        self.relanuch_virtio_testpmd_with_non_mergeable_path(mode, case_info, extern_params, cbdma=True)\n+\n+        case_info = 'packed ring inorder non-mergeable path'\n+        mode = \"mrg_rxbuf=0,in_order=1,packed_vq=1\"\n+        self.relanuch_virtio_testpmd_with_non_mergeable_path(mode, case_info, extern_params, cbdma=True)\n+\n+        case_info = 'packed ring vectorized path'\n+        mode = \"mrg_rxbuf=0,in_order=1,packed_vq=1,vectorized=1\"\n+        self.relanuch_virtio_testpmd_with_non_mergeable_path(mode, case_info, extern_params, cbdma=True, vectorized_path=True)\n+\n+        case_info = 'packed ring vectorized path and ring size is not power of 2'\n+        mode = \"mrg_rxbuf=0,in_order=1,packed_vq=1,vectorized=1,queue_size=1025\"\n+        extern_param = '--txd=1025 --rxd=1025'\n+        self.relanuch_virtio_testpmd_with_non_mergeable_path(mode, case_info, extern_param, cbdma=True, vectorized_path=True)\n+\n+        if not self.check_2M_env:\n+            self.relanuch_vhost_testpmd_iova_pa( extern_params=extern_params)\n+\n+        self.close_all_testpmd()\n+\n+    def test_server_mode_reconnect_with_split_all_path_cbdma_payload_check(self):\n+        \"\"\"\n+        Test Case 16: loopback split ring all path cbdma test payload check with server mode and multi-queues\n+        \"\"\"\n+        self.cbdma_nic_dev_num = 8\n+        self.get_cbdma_ports_info_and_bind_to_dpdk()\n+        self.queue_number = 8\n+        self.vdev = f\"--vdev 'eth_vhost0,iface=vhost-net,queues={self.queue_number},client=1,dmas=[txq0@{self.cbdma_dev_infos[0]};txq1@{self.cbdma_dev_infos[1]};txq2@{self.cbdma_dev_infos[2]};txq3@{self.cbdma_dev_infos[3]};txq4@{self.cbdma_dev_infos[4]};txq5@{self.cbdma_dev_infos[5]};txq6@{self.cbdma_dev_infos[6]};txq7@{self.cbdma_dev_infos[7]}]' \"\n+\n+        self.nb_cores = 1\n+        extern_params = '--txd=1024 --rxd=1024'\n         case_info = 'split ring mergeable inorder path'\n         mode = \"mrg_rxbuf=1,in_order=1\"\n-        self.relanuch_virtio_testpmd_with_multi_path(mode, case_info, extern_params, cbdma=True)\n \n+        self.lanuch_vhost_testpmd_with_cbdma(extern_params=extern_params)\n+        self.logger.info(case_info)\n+        self.lanuch_virtio_user_testpmd_with_multi_queue(mode=mode, extern_params=extern_params, set_fwd_mac=False)\n+        self.virtio_user_pmd.execute_cmd(\"set fwd csum\")\n+        self.virtio_user_pmd.execute_cmd(\"start\")\n+        # 3. Attach pdump secondary process to primary process by same file-prefix::\n+        self.vuser0_port = 'net_virtio_user0'\n+        self.launch_pdump_to_capture_pkt(self.vuser0_port)\n+        self.start_to_send_6192_packets_csum_cbdma(self.vhost)\n+\n+        # 5. Check all the packets length is 6192 Byte in the pcap file\n+        self.pkt_len = 6192\n+        self.check_packet_payload_valid(self.pkt_len)\n+        #reconnet from vhost\n+        self.relanuch_vhost_testpmd_send_packets(extern_params, cbdma=True)\n+\n+        # reconnet from virtio\n+        self.logger.info('now reconnet from virtio_user with other path')\n         case_info = 'split ring mergeable path'\n         mode = \"mrg_rxbuf=1,in_order=0\"\n         self.relanuch_virtio_testpmd_with_multi_path(mode, case_info, extern_params, cbdma=True)\n \n-        self.logger.info('now relaunch vhost iova=pa')\n-        self.relanuch_vhost_testpmd_send_8k_packets(extern_params, cbdma=True, iova='pa')\n+        case_info = 'split ring non-mergeable path'\n+        mode = \"mrg_rxbuf=0,in_order=0\"\n+        extern_param = extern_params + ' --enable-hw-vlan-strip'\n+        self.relanuch_virtio_testpmd_with_non_mergeable_path(mode, case_info, extern_param, cbdma=True)\n+\n+        case_info = 'split ring inorder non-mergeable path'\n+        mode = \"mrg_rxbuf=0,in_order=1\"\n+        self.relanuch_virtio_testpmd_with_non_mergeable_path(mode, case_info, extern_params, cbdma=True)\n+\n+        case_info = 'split ring vectorized path'\n+        mode = \"mrg_rxbuf=0,in_order=0,vectorized=1\"\n+        self.relanuch_virtio_testpmd_with_non_mergeable_path(mode, case_info, extern_params, cbdma=True)\n+\n+        if not self.check_2M_env :\n+            self.relanuch_vhost_testpmd_iova_pa( extern_params=extern_params)\n \n         self.close_all_testpmd()\n \n+    def relanuch_vhost_testpmd_iova_pa(self,  extern_params=\"\"):\n+        self.vhost_pmd.execute_cmd(\"quit\", \"#\", 60)\n+        self.logger.info('now relaunch vhost iova=pa')\n+        self.lanuch_vhost_testpmd_with_cbdma(extern_params=extern_params, iova='pa')\n+\n+        if 'packed' in self.running_case:\n+            case_info = 'packed ring mergeable inorder path'\n+            mode = \"mrg_rxbuf=1,in_order=1,packed_vq=1\"\n+            self.relanuch_virtio_testpmd_with_multi_path(mode, case_info, extern_params, cbdma=True, iova='pa')\n+\n+            case_info = 'packed ring mergeable path'\n+            mode = \"mrg_rxbuf=1,in_order=0,packed_vq=1\"\n+            self.relanuch_virtio_testpmd_with_multi_path(mode, case_info, extern_params, cbdma=True, iova='pa')\n+\n+            case_info = 'packed ring non-mergeable path'\n+            mode = \"mrg_rxbuf=0,in_order=0,packed_vq=1\"\n+            self.relanuch_virtio_testpmd_with_non_mergeable_path(mode, case_info, extern_params, cbdma=True, iova='pa')\n+\n+            case_info = 'packed ring inorder non-mergeable path'\n+            mode = \"mrg_rxbuf=0,in_order=1,packed_vq=1\"\n+            self.relanuch_virtio_testpmd_with_non_mergeable_path(mode, case_info, extern_params, cbdma=True, iova='pa')\n+\n+            case_info = 'packed ring vectorized path'\n+            mode = \"mrg_rxbuf=0,in_order=1,packed_vq=1,vectorized=1\"\n+            self.relanuch_virtio_testpmd_with_non_mergeable_path(mode, case_info, extern_params, cbdma=True, vectorized_path=True, iova='pa')\n+\n+            case_info = 'packed ring vectorized path and ring size is not power of 2'\n+            mode = \"mrg_rxbuf=0,in_order=1,packed_vq=1,vectorized=1,queue_size=1025\"\n+            extern_param = '--txd=1025 --rxd=1025'\n+            self.relanuch_virtio_testpmd_with_non_mergeable_path(mode, case_info, extern_param, cbdma=True, vectorized_path=True, iova='pa')\n+\n+        if 'split' in self.running_case:\n+            case_info = 'split ring mergeable inorder path'\n+            mode = \"mrg_rxbuf=1,in_order=1\"\n+            self.relanuch_virtio_testpmd_with_multi_path(mode, case_info, extern_params, cbdma=True, iova='pa')\n+\n+            case_info = 'split ring mergeable path'\n+            mode = \"mrg_rxbuf=1,in_order=0\"\n+            self.relanuch_virtio_testpmd_with_multi_path(mode, case_info, extern_params, cbdma=True, iova='pa')\n+\n+            case_info = 'split ring non-mergeable path'\n+            mode = \"mrg_rxbuf=0,in_order=0\"\n+            extern_param = extern_params + ' --enable-hw-vlan-strip'\n+            self.relanuch_virtio_testpmd_with_non_mergeable_path(mode, case_info, extern_param, cbdma=True, iova='pa')\n+\n+            case_info = 'split ring inorder non-mergeable path'\n+            mode = \"mrg_rxbuf=0,in_order=1\"\n+            self.relanuch_virtio_testpmd_with_non_mergeable_path(mode, case_info, extern_params, cbdma=True, iova='pa')\n+\n+            case_info = 'split ring vectorized path'\n+            mode = \"mrg_rxbuf=0,in_order=0,vectorized=1\"\n+            self.relanuch_virtio_testpmd_with_non_mergeable_path(mode, case_info, extern_params, cbdma=True, iova='pa')\n+\n     def lanuch_vhost_testpmd_with_cbdma(self, extern_params=\"\", iova='va'):\n         \"\"\"\n         start testpmd with cbdma\n",
    "prefixes": [
        "V1",
        "2/2"
    ]
}