get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 103840,
    "url": "https://patches.dpdk.org/api/patches/103840/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20211105145828.91313-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": "<20211105145828.91313-2-linglix.chen@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20211105145828.91313-2-linglix.chen@intel.com",
    "date": "2021-11-05T14:58:27",
    "name": "[V1,1/2] test_plans/loopback_virtio_user_server_mode: add two new cases",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "aa8bf06d3fc7faf69b206ae7cf59927617e487bc",
    "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/20211105145828.91313-2-linglix.chen@intel.com/mbox/",
    "series": [
        {
            "id": 20330,
            "url": "https://patches.dpdk.org/api/series/20330/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=20330",
            "date": "2021-11-05T14:58:26",
            "name": "loopback_virtio_user_server_mode: add two new cases",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/20330/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/103840/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/103840/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 AD12FA0C61;\n\tFri,  5 Nov 2021 07:56:33 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id A4A8140689;\n\tFri,  5 Nov 2021 07:56:33 +0100 (CET)",
            "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n by mails.dpdk.org (Postfix) with ESMTP id BB4EC40151\n for <dts@dpdk.org>; Fri,  5 Nov 2021 07:56:31 +0100 (CET)",
            "from fmsmga008.fm.intel.com ([10.253.24.58])\n by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 04 Nov 2021 23:56:31 -0700",
            "from unknown (HELO dpdk.lan) ([10.240.183.77])\n by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 04 Nov 2021 23:56:29 -0700"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10158\"; a=\"255502566\"",
            "E=Sophos;i=\"5.87,210,1631602800\"; d=\"scan'208\";a=\"255502566\"",
            "E=Sophos;i=\"5.87,210,1631602800\"; d=\"scan'208\";a=\"542645569\""
        ],
        "From": "Lingli Chen <linglix.chen@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "yinan.wang@intel.com,\n\tLingli Chen <linglix.chen@intel.com>",
        "Date": "Fri,  5 Nov 2021 14:58:27 +0000",
        "Message-Id": "<20211105145828.91313-2-linglix.chen@intel.com>",
        "X-Mailer": "git-send-email 2.33.1",
        "In-Reply-To": "<20211105145828.91313-1-linglix.chen@intel.com>",
        "References": "<20211105145828.91313-1-linglix.chen@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dts] [PATCH V1 1/2] test_plans/loopback_virtio_user_server_mode:\n add two new cases",
        "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": "1. Case 3, Case 10 change to 8 queues.\n2. Case 4, Case 8 add 8k packets.\n3. Add 2 new cases: case 13, 14.\n\nSigned-off-by: Lingli Chen <linglix.chen@intel.com>\n---\n ...back_virtio_user_server_mode_test_plan.rst | 242 ++++++++++++++----\n 1 file changed, 187 insertions(+), 55 deletions(-)",
    "diff": "diff --git a/test_plans/loopback_virtio_user_server_mode_test_plan.rst b/test_plans/loopback_virtio_user_server_mode_test_plan.rst\nindex 18d580f4..810db9ea 100644\n--- a/test_plans/loopback_virtio_user_server_mode_test_plan.rst\n+++ b/test_plans/loopback_virtio_user_server_mode_test_plan.rst\n@@ -84,35 +84,38 @@ Test Case 2:  Basic test for split ring server mode\n Test Case 3: loopback reconnect test with split ring mergeable path and server mode\n ===================================================================================\n \n-1. launch vhost as client mode with 2 queues::\n+1. launch vhost as client mode with 8 queues::\n \n     rm -rf vhost-net*\n     ./testpmd -c 0xe -n 4 --no-pci --file-prefix=vhost \\\n-    --vdev 'eth_vhost0,iface=vhost-net,client=1,queues=2' -- -i --nb-cores=2 --rxq=2 --txq=2\n+    --vdev 'eth_vhost0,iface=vhost-net,client=1,queues=8' -- -i --nb-cores=2 --rxq=8 --txq=8\n     >set fwd mac\n     >start\n \n-2. Launch virtio-user as server mode with 2 queues::\n+2. Launch virtio-user as server mode with 8 queues and check throughput can get expected::\n \n     ./testpmd -n 4 -l 5-7 --no-pci --file-prefix=virtio \\\n-    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=2,mrg_rxbuf=1,in_order=0 \\\n-    -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2\n+    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=8,mrg_rxbuf=1,in_order=0 \\\n+    -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=8 --txq=8\n     >set fwd mac\n+    >set txpkts 2000,2000,2000,2000\n     >start tx_first 32\n+    >show port stats all\n \n 3. Quit vhost side testpmd, check the virtio-user side link status::\n \n     testpmd> show port info 0\n     #it should show \"down\"\n \n-4. Relaunch vhost and send packets::\n+4. Relaunch vhost and send chain packets::\n \n     ./testpmd -c 0xe -n 4 --no-pci --file-prefix=vhost \\\n-    --vdev 'eth_vhost0,iface=vhost-net,client=1,queues=2' -- -i --nb-cores=2 --rxq=2 --txq=2\n+    --vdev 'eth_vhost0,iface=vhost-net,client=1,queues=8' -- -i --nb-cores=2 --rxq=8 --txq=8\n     >set fwd mac\n+    >set txpkts 2000,2000,2000,2000\n     >start tx_first 32\n \n-5. Check the virtio-user side link status and run below command to get throughput,verify the loopback throughput is not zero::\n+5. Check the virtio-user side link status and run below command to get throughput, check throughput can get expected::\n \n     testpmd> show port info 0\n     #it should show up\"\n@@ -130,22 +133,24 @@ Test Case 3: loopback reconnect test with split ring mergeable path and server m\n 8. Relaunch virtio-user and send packets::\n \n     ./testpmd -n 4 -l 5-7 --no-pci --file-prefix=virtio \\\n-    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=2,mrg_rxbuf=1,in_order=0 \\\n-    -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2\n+    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=8,mrg_rxbuf=1,in_order=0 \\\n+    -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=8 --txq=8\n     >set fwd mac\n+    >set txpkts 2000,2000,2000,2000\n     >start tx_first 32\n \n-9. Check the vhost side link status and run below command to get throughput, verify the loopback throughput is not zero::\n+9. Check the vhost side link status and run below command to get throughput, check throughput can get expected::\n \n     testpmd> show port info 0\n     #it should show up\"\n     testpmd>show port stats all\n \n-10. Port restart at vhost side by below command and re-calculate the average throughput::\n+10. Port restart at vhost side by below command and check throughput can get expected::\n \n       testpmd>stop\n       testpmd>port stop 0\n       testpmd>port start 0\n+      testpmd>set txpkts 2000,2000,2000,2000\n       testpmd>start tx_first 32\n       testpmd>show port stats all\n \n@@ -164,13 +169,15 @@ Test Case 4: loopback reconnect test with split ring inorder mergeable path and\n     >set fwd mac\n     >start\n \n-2. Launch virtio-user as server mode with 2 queues::\n+2. Launch virtio-user as server mode with 2 queues, check throughput can get expected::\n \n     ./testpmd -n 4 -l 5-7 --no-pci --file-prefix=virtio \\\n     --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=2,mrg_rxbuf=1,in_order=1 \\\n     -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2\n     >set fwd mac\n+    >set txpkts 2000,2000,2000,2000\n     >start tx_first 32\n+    >show port stats all\n \n 3. Quit vhost side testpmd, check the virtio-user side link status::\n \n@@ -182,9 +189,10 @@ Test Case 4: loopback reconnect test with split ring inorder mergeable path and\n     ./testpmd -c 0xe -n 4 --no-pci --file-prefix=vhost \\\n     --vdev 'eth_vhost0,iface=vhost-net,client=1,queues=2' -- -i --nb-cores=2 --rxq=2 --txq=2\n     >set fwd mac\n+    >set txpkts 2000,2000,2000,2000\n     >start tx_first 32\n \n-5. Check the virtio-user side link status and run below command to get throughput,verify the loopback throughput is not zero::\n+5. Check the virtio-user side link status and run below command to get throughput, check throughput can get expected::\n \n     testpmd> show port info 0\n     #it should show up\"\n@@ -205,19 +213,21 @@ Test Case 4: loopback reconnect test with split ring inorder mergeable path and\n     --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=2,mrg_rxbuf=1,in_order=1\\\n     -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2\n     >set fwd mac\n+    >set txpkts 2000,2000,2000,2000\n     >start tx_first 32\n \n-9. Check the vhost side link status and run below command to get throughput, verify the loopback throughput is not zero::\n+9. Check the vhost side link status and run below command to get throughput, check throughput can get expected::\n \n     testpmd> show port info 0\n     #it should show up\"\n     testpmd>show port stats all\n \n-10. Port restart at vhost side by below command and re-calculate the average throughput::\n+10. Port restart at vhost side by below command and check throughput can get expected::\n \n       testpmd>stop\n       testpmd>port stop 0\n       testpmd>port start 0\n+      testpmd>set txpkts 2000,2000,2000,2000\n       testpmd>start tx_first 32\n       testpmd>show port stats all\n \n@@ -236,13 +246,14 @@ Test Case 5: loopback reconnect test with split ring inorder non-mergeable path\n     >set fwd mac\n     >start\n \n-2. Launch virtio-user as server mode with 2 queues::\n+2. Launch virtio-user as server mode with 2 queues check throughput can get expected::\n \n     ./testpmd -n 4 -l 5-7 --no-pci --file-prefix=virtio \\\n     --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=2,mrg_rxbuf=0,in_order=1 \\\n     -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2\n     >set fwd mac\n     >start tx_first 32\n+    >show port stats all\n \n 3. Quit vhost side testpmd, check the virtio-user side link status::\n \n@@ -256,7 +267,7 @@ Test Case 5: loopback reconnect test with split ring inorder non-mergeable path\n     >set fwd mac\n     >start tx_first 32\n \n-5. Check the virtio-user side link status and run below command to get throughput,verify the loopback throughput is not zero::\n+5. Check the virtio-user side link status and run below command to get throughput, check throughput can get expected::\n \n     testpmd> show port info 0\n     #it should show up\"\n@@ -279,13 +290,13 @@ Test Case 5: loopback reconnect test with split ring inorder non-mergeable path\n     >set fwd mac\n     >start tx_first 32\n \n-9. Check the vhost side link status and run below command to get throughput, verify the loopback throughput is not zero::\n+9. Check the vhost side link status and run below command to get throughput, check throughput can get expected::\n \n     testpmd> show port info 0\n     #it should show up\"\n     testpmd>show port stats all\n \n-10. Port restart at vhost side by below command and re-calculate the average throughput::\n+10. Port restart at vhost side by below command and check throughput can get expected::\n \n       testpmd>stop\n       testpmd>port stop 0\n@@ -308,13 +319,14 @@ Test Case 6: loopback reconnect test with split ring non-mergeable path and serv\n     >set fwd mac\n     >start\n \n-2. Launch virtio-user as server mode with 2 queues::\n+2. Launch virtio-user as server mode with 2 queues and check throughput can get expected::\n \n     ./testpmd -n 4 -l 5-7 --no-pci --file-prefix=virtio \\\n     --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=2,mrg_rxbuf=0,in_order=0,vectorized=1 \\\n     -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2\n     >set fwd mac\n     >start tx_first 32\n+    >show port stats all\n \n 3. Quit vhost side testpmd, check the virtio-user side link status::\n \n@@ -328,7 +340,7 @@ Test Case 6: loopback reconnect test with split ring non-mergeable path and serv\n     >set fwd mac\n     >start tx_first 32\n \n-5. Check the virtio-user side link status and run below command to get throughput,verify the loopback throughput is not zero::\n+5. Check the virtio-user side link status and run below command to get throughput, check throughput can get expected::\n \n     testpmd> show port info 0\n     #it should show up\"\n@@ -351,13 +363,13 @@ Test Case 6: loopback reconnect test with split ring non-mergeable path and serv\n     >set fwd mac\n     >start tx_first 32\n \n-9. Check the vhost side link status and run below command to get throughput, verify the loopback throughput is not zero::\n+9. Check the vhost side link status and run below command to get throughput, check throughput can get expected::\n \n     testpmd> show port info 0\n     #it should show up\"\n     testpmd>show port stats all\n \n-10. Port restart at vhost side by below command and re-calculate the average throughput::\n+10. Port restart at vhost side by below command and check throughput can get expected::\n \n       testpmd>stop\n       testpmd>port stop 0\n@@ -380,13 +392,14 @@ Test Case 7: loopback reconnect test with split ring vector_rx path and server m\n     >set fwd mac\n     >start\n \n-2. Launch virtio-user as server mode with 2 queues::\n+2. Launch virtio-user as server mode with 2 queues and check throughput can get expected::\n \n     ./testpmd -n 4 -l 5-7 --no-pci --file-prefix=virtio \\\n     --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=2,mrg_rxbuf=0,in_order=0,vectorized=1 \\\n     -- -i --nb-cores=2 --rxq=2 --txq=2\n     >set fwd mac\n     >start tx_first 32\n+    >show port stats all\n \n 3. Quit vhost side testpmd, check the virtio-user side link status::\n \n@@ -400,7 +413,7 @@ Test Case 7: loopback reconnect test with split ring vector_rx path and server m\n     >set fwd mac\n     >start tx_first 32\n \n-5. Check the virtio-user side link status and run below command to get throughput,verify the loopback throughput is not zero::\n+5. Check the virtio-user side link status and run below command to get throughput, check throughput can get expected::\n \n     testpmd> show port info 0\n     #it should show up\"\n@@ -423,13 +436,13 @@ Test Case 7: loopback reconnect test with split ring vector_rx path and server m\n     >set fwd mac\n     >start tx_first 32\n \n-9. Check the vhost side link status and run below command to get throughput, verify the loopback throughput is not zero::\n+9. Check the vhost side link status and run below command to get throughput, check throughput can get expected::\n \n     testpmd> show port info 0\n     #it should show up\"\n     testpmd>show port stats all\n \n-10. Port restart at vhost side by below command and re-calculate the average throughput::\n+10. Port restart at vhost side by below command and check throughput can get expected::\n \n       testpmd>stop\n       testpmd>port stop 0\n@@ -452,13 +465,15 @@ Test Case 8: loopback reconnect test with packed ring mergeable path and server\n     >set fwd mac\n     >start\n \n-2. Launch virtio-user as server mode with 2 queues::\n+2. Launch virtio-user as server mode with 2 queues and check throughput can get expected::\n \n     ./testpmd -n 4 -l 5-7 --no-pci --file-prefix=virtio \\\n     --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=2,packed_vq=1,mrg_rxbuf=1,in_order=0 \\\n     -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2\n     >set fwd mac\n+    >set txpkts 2000,2000,2000,2000\n     >start tx_first 32\n+    >show port stats all\n \n 3. Quit vhost side testpmd, check the virtio-user side link status::\n \n@@ -470,9 +485,10 @@ Test Case 8: loopback reconnect test with packed ring mergeable path and server\n     ./testpmd -c 0xe -n 4 --no-pci --file-prefix=vhost \\\n     --vdev 'eth_vhost0,iface=vhost-net,client=1,queues=2' -- -i --nb-cores=2 --rxq=2 --txq=2\n     >set fwd mac\n+    >set txpkts 2000,2000,2000,2000\n     >start tx_first 32\n \n-5. Check the virtio-user side link status and run below command to get throughput,verify the loopback throughput is not zero::\n+5. Check the virtio-user side link status and run below command to get throughput, check throughput can get expected::\n \n     testpmd> show port info 0\n     #it should show up\"\n@@ -493,19 +509,21 @@ Test Case 8: loopback reconnect test with packed ring mergeable path and server\n     --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=2,packed_vq=1,mrg_rxbuf=1,in_order=0 \\\n     -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2\n     >set fwd mac\n+    >set txpkts 2000,2000,2000,2000\n     >start tx_first 32\n \n-9. Check the vhost side link status and run below command to get throughput, verify the loopback throughput is not zero::\n+9. Check the vhost side link status and run below command to get throughput, check throughput can get expected::\n \n     testpmd> show port info 0\n     #it should show up\"\n     testpmd>show port stats all\n \n-10. Port restart at vhost side by below command and re-calculate the average throughput::\n+10. Port restart at vhost side by below command and check throughput can get expected::\n \n      testpmd>stop\n      testpmd>port stop 0\n      testpmd>port start 0\n+     testpmd>set txpkts 2000,2000,2000,2000\n      testpmd>start tx_first 32\n      testpmd>show port stats all\n \n@@ -524,13 +542,14 @@ Test Case 9: loopback reconnect test with packed ring non-mergeable path and ser\n     >set fwd mac\n     >start\n \n-2. Launch virtio-user as server mode with 2 queues::\n+2. Launch virtio-user as server mode with 2 queues and check throughput can get expected::\n \n     ./testpmd -n 4 -l 5-7 --no-pci --file-prefix=virtio \\\n     --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=2,packed_vq=1,mrg_rxbuf=0,in_order=0 \\\n     -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2\n     >set fwd mac\n     >start tx_first 32\n+    >show port stats all\n \n 3. Quit vhost side testpmd, check the virtio-user side link status::\n \n@@ -544,7 +563,7 @@ Test Case 9: loopback reconnect test with packed ring non-mergeable path and ser\n     >set fwd mac\n     >start tx_first 32\n \n-5. Check the virtio-user side link status and run below command to get throughput,verify the loopback throughput is not zero::\n+5. Check the virtio-user side link status and run below command to get throughput, check throughput can get expected::\n \n     testpmd> show port info 0\n     #it should show up\"\n@@ -567,13 +586,13 @@ Test Case 9: loopback reconnect test with packed ring non-mergeable path and ser\n     >set fwd mac\n     >start tx_first 32\n \n-9. Check the vhost side link status and run below command to get throughput, verify the loopback throughput is not zero::\n+9. Check the vhost side link status and run below command to get throughput, check throughput can get expected::\n \n     testpmd> show port info 0\n     #it should show up\"\n     testpmd>show port stats all\n \n-10. Port restart at vhost side by below command and re-calculate the average throughput::\n+10. Port restart at vhost side by below command and check throughput can get expected::\n \n      testpmd>stop\n      testpmd>port stop 0\n@@ -588,21 +607,23 @@ Test Case 9: loopback reconnect test with packed ring non-mergeable path and ser\n Test Case 10: loopback reconnect test with packed ring inorder mergeable path and server mode\n =============================================================================================\n \n-1. launch vhost as client mode with 2 queues::\n+1. launch vhost as client mode with 8 queues::\n \n     rm -rf vhost-net*\n     ./testpmd -c 0xe -n 4 --no-pci --file-prefix=vhost \\\n-    --vdev 'eth_vhost0,iface=vhost-net,client=1,queues=2' -- -i --nb-cores=2 --rxq=2 --txq=2\n+    --vdev 'eth_vhost0,iface=vhost-net,client=1,queues=8' -- -i --nb-cores=2 --rxq=8 --txq=8\n     >set fwd mac\n     >start\n \n-2. Launch virtio-user as server mode with 2 queues::\n+2. Launch virtio-user as server mode with 8 queues and check throughput can get expected::\n \n     ./testpmd -n 4 -l 5-7 --no-pci --file-prefix=virtio \\\n-    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=2,packed_vq=1,mrg_rxbuf=1,in_order=1 \\\n-    -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2\n+    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=8,packed_vq=1,mrg_rxbuf=1,in_order=1 \\\n+    -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=8 --txq=8\n     >set fwd mac\n+    >set txpkts 2000,2000,2000,2000\n     >start tx_first 32\n+    >show port stats all\n \n 3. Quit vhost side testpmd, check the virtio-user side link status::\n \n@@ -612,11 +633,12 @@ Test Case 10: loopback reconnect test with packed ring inorder mergeable path an\n 4. Relaunch vhost and send packets::\n \n     ./testpmd -c 0xe -n 4 --no-pci --file-prefix=vhost \\\n-    --vdev 'eth_vhost0,iface=vhost-net,client=1,queues=2' -- -i --nb-cores=2 --rxq=2 --txq=2\n+    --vdev 'eth_vhost0,iface=vhost-net,client=1,queues=8' -- -i --nb-cores=2 --rxq=8 --txq=8\n     >set fwd mac\n+    >set txpkts 2000,2000,2000,2000\n     >start tx_first 32\n \n-5. Check the virtio-user side link status and run below command to get throughput,verify the loopback throughput is not zero::\n+5. Check the virtio-user side link status and run below command to get throughput, check throughput can get expected::\n \n     testpmd> show port info 0\n     #it should show up\"\n@@ -634,22 +656,24 @@ Test Case 10: loopback reconnect test with packed ring inorder mergeable path an\n 8. Relaunch virtio-user and send packets::\n \n     ./testpmd -n 4 -l 5-7 --no-pci --file-prefix=virtio \\\n-    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=2,packed_vq=1,mrg_rxbuf=1,in_order=1 \\\n-    -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2\n+    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=8,packed_vq=1,mrg_rxbuf=1,in_order=1 \\\n+    -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=8 --txq=8\n     >set fwd mac\n+    >set txpkts 2000,2000,2000,2000\n     >start tx_first 32\n \n-9. Check the vhost side link status and run below command to get throughput, verify the loopback throughput is not zero::\n+9. Check the vhost side link status and run below command to get throughput, check throughput can get expected::\n \n     testpmd> show port info 0\n     #it should show up\"\n     testpmd>show port stats all\n \n-10. Port restart at vhost side by below command and re-calculate the average throughput::\n+10. Port restart at vhost side by below command and check throughput can get expected::\n \n      testpmd>stop\n      testpmd>port stop 0\n      testpmd>port start 0\n+     testpmd>set txpkts 2000,2000,2000,2000\n      testpmd>start tx_first 32\n      testpmd>show port stats all\n \n@@ -668,13 +692,14 @@ Test Case 11: loopback reconnect test with packed ring inorder non-mergeable pat\n     >set fwd mac\n     >start\n \n-2. Launch virtio-user as server mode with 2 queues::\n+2. Launch virtio-user as server mode with 2 queues and check throughput can get expected::\n \n     ./testpmd -n 4 -l 5-7 --no-pci --file-prefix=virtio \\\n     --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=2,packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1 \\\n     -- -i --rx-offloads=0x10 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2\n     >set fwd mac\n     >start tx_first 32\n+    >show port stats all\n \n 3. Quit vhost side testpmd, check the virtio-user side link status::\n \n@@ -688,7 +713,7 @@ Test Case 11: loopback reconnect test with packed ring inorder non-mergeable pat\n     >set fwd mac\n     >start tx_first 32\n \n-5. Check the virtio-user side link status and run below command to get throughput,verify the loopback throughput is not zero::\n+5. Check the virtio-user side link status and run below command to get throughput, check throughput can get expected::\n \n     testpmd> show port info 0\n     #it should show up\"\n@@ -711,13 +736,13 @@ Test Case 11: loopback reconnect test with packed ring inorder non-mergeable pat\n     >set fwd mac\n     >start tx_first 32\n \n-9. Check the vhost side link status and run below command to get throughput, verify the loopback throughput is not zero::\n+9. Check the vhost side link status and run below command to get throughput, check throughput can get expected::\n \n     testpmd> show port info 0\n     #it should show up\"\n     testpmd>show port stats all\n \n-10. Port restart at vhost side by below command and re-calculate the average throughput::\n+10. Port restart at vhost side by below command and check throughput can get expected::\n \n      testpmd>stop\n      testpmd>port stop 0\n@@ -740,13 +765,14 @@ Test Case 12: loopback reconnect test with packed ring vectorized path and serve\n     >set fwd mac\n     >start\n \n-2. Launch virtio-user as server mode with 2 queues::\n+2. Launch virtio-user as server mode with 2 queues and check throughput can get expected::\n \n     ./testpmd -n 4 -l 5-7 --log-level=pmd.net.virtio.driver,8 --no-pci --file-prefix=virtio --force-max-simd-bitwidth=512 \\\n     --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,server=1,queues=2,packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1 \\\n     -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2\n     >set fwd mac\n     >start tx_first 32\n+    >show port stats all\n \n 3. Quit vhost side testpmd, check the virtio-user side link status::\n \n@@ -760,7 +786,7 @@ Test Case 12: loopback reconnect test with packed ring vectorized path and serve\n     >set fwd mac\n     >start tx_first 32\n \n-5. Check the virtio-user side link status and run below command to get throughput,verify the loopback throughput is not zero::\n+5. Check the virtio-user side link status and run below command to get throughput, check throughput can get expected::\n \n     testpmd> show port info 0\n     #it should show up\"\n@@ -783,13 +809,13 @@ Test Case 12: loopback reconnect test with packed ring vectorized path and serve\n     >set fwd mac\n     >start tx_first 32\n \n-9. Check the vhost side link status and run below command to get throughput, verify the loopback throughput is not zero::\n+9. Check the vhost side link status and run below command to get throughput, check throughput can get expected::\n \n     testpmd> show port info 0\n     #it should show up\"\n     testpmd>show port stats all\n \n-10. Port restart at vhost side by below command and re-calculate the average throughput::\n+10. Port restart at vhost side by below command and check throughput can get expected::\n \n      testpmd>stop\n      testpmd>port stop 0\n@@ -800,3 +826,109 @@ Test Case 12: loopback reconnect test with packed ring vectorized path and serve\n 11. Check each RX/TX queue has packets::\n \n      testpmd>stop\n+\n+Test Case 13: loopback packed ring and split ring mergeable path payload check test using server mode and multi-queues\n+======================================================================================================================\n+\n+1. launch vhost::\n+\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 32-33 --no-pci --file-prefix=vhost -n 4 --vdev 'eth_vhost0,iface=vhost-net0,queues=8,client=1' -- -i --nb-cores=1 --rxq=8 --txq=8 --txd=1024 --rxd=1024\n+\n+2. Launch virtio-user with packed ring mergeable inorder path::\n+\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 30,31 -n 4 --file-prefix=virtio --no-pci --vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net0,queues=8,mrg_rxbuf=1,in_order=1,packed_vq=1,server=1 -- -i --nb-cores=1 --rxq=8 --txq=8 --txd=1024 --rxd=1024\n+     testpmd> set fwd csum\n+     testpmd> start\n+\n+3. Attach pdump secondary process to primary process by same file-prefix::\n+\n+   ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio -- --pdump 'device_id=net_virtio_user0,queue=*,rx-dev=./pdump-virtio-rx.pcap,mbuf-size=8000'\n+\n+4. Send large pkts from vhost::\n+\n+   testpmd> set fwd csum\n+   testpmd> set txpkts 2000,2000,2000,2000\n+   testpmd> set burst 1\n+   testpmd> start tx_first 1\n+   testpmd> stop\n+\n+5. Quit pdump, chcek all the packets length are 8000 Byte in the pcap file, and the payload in receive packets are same.\n+\n+6. Quit and relaunch vhost and rerun step3-5.\n+\n+7. Quit and relaunch virtio with packed ring mergeable path as below::\n+\n+   ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 30,31 -n 4 --file-prefix=virtio-user0 --no-pci --vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net0,queues=8,mrg_rxbuf=1,in_order=0,packed_vq=1,server=1 -- -i --nb-cores=1 --rxq=8 --txq=8 --txd=1024 --rxd=1024\n+   testpmd> set fwd csum\n+   testpmd> start\n+\n+8. Rerun step3-6.\n+\n+9. Quit and relaunch virtio with split ring mergeable inorder path as below::\n+\n+   ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 30,31 -n 4 --file-prefix=virtio-user0 --no-pci --vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net0,queues=8,mrg_rxbuf=1,in_order=1,server=1 -- -i --nb-cores=1 --rxq=8 --txq=8 --txd=1024 --rxd=1024\n+   testpmd> set fwd csum\n+   testpmd> start\n+\n+10. Rerun step3-6.\n+\n+11. Quit and relaunch virtio with split ring mergeable path as below::\n+\n+   ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 30,31 -n 4 --file-prefix=virtio-user0 --no-pci --vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net0,queues=8,mrg_rxbuf=1,in_order=0,server=1 -- -i --nb-cores=1 --rxq=8 --txq=8 --txd=1024 --rxd=1024\n+   testpmd> set fwd csum\n+   testpmd> start\n+\n+12. Rerun step3-6.\n+\n+Test Case 14: loopback packed ring and split ring mergeable path cbdma test payload check with server mode and multi-queues\n+===========================================================================================================================\n+\n+1. bind 8 cbdma port to vfio-pci and launch vhost::\n+\n+   ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 32-33 -n 4 --vdev 'eth_vhost0,iface=vhost-net0,queues=8,client=1,dmas=[txq0@0000:80:04.0;txq1@0000:80:04.1;txq2@0000:80:04.2;txq3@0000:80:04.3;txq4@0000:80:04.4;txq5@0000:80:04.5;txq6@0000:80:04.6;txq7@0000:80:04.7]' -- -i --nb-cores=1 --rxq=8 --txq=8 --txd=1024 --rxd=1024\n+\n+2. Launch virtio-user with packed ring mergeable inorder path::\n+\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 30,31 -n 4 --file-prefix=virtio-user0 --no-pci --vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net0,queues=8,mrg_rxbuf=1,in_order=1,packed_vq=1,server=1 -- -i --nb-cores=1 --rxq=8 --txq=8 --txd=1024 --rxd=1024\n+   testpmd> set fwd csum\n+   testpmd> start\n+\n+3. Attach pdump secondary process to primary process by same file-prefix::\n+\n+./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio-user0 -- --pdump 'device_id=net_virtio_user0,queue=*,rx-dev=./pdump-virtio-rx.pcap,mbuf-size=8000'\n+\n+4. Send large pkts from vhost, check loopback performance can get expected and each queue can receive packets::\n+\n+   testpmd> vhost enable tx all\n+   testpmd> set fwd csum\n+   testpmd> set txpkts 64,64,64,2000,2000,2000\n+   testpmd> start tx_first 32\n+   testpmd> stop\n+\n+5. Quit pdump, chcek all the packets length are 6192 Byte in the pcap file, and the payload in receive packets are same.\n+\n+6. Quit and relaunch vhost and rerun step3-5.\n+\n+7. Quit and relaunch virtio with packed ring mergeable path as below::\n+\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 30,31 -n 4 --file-prefix=testpmd0 --no-pci --vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net0,queues=8,mrg_rxbuf=1,in_order=0,packed_vq=1,server=1 -- -i --nb-cores=1 --rxq=8 --txq=8 --txd=1024 --rxd=1024\n+    testpmd> set fwd csum\n+    testpmd> start\n+\n+8. Rerun step3-6.\n+\n+9. Quit and relaunch virtio with split ring mergeable inorder path as below::\n+\n+   ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 30,31 -n 4 --file-prefix=testpmd0 --no-pci --vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net0,queues=8,mrg_rxbuf=1,in_order=1,server=1 -- -i --nb-cores=1 --rxq=8 --txq=8 --txd=1024 --rxd=1024\n+    testpmd> set fwd csum\n+    testpmd> start\n+\n+10. Rerun step3-6.\n+\n+11. Quit and relaunch virtio with split ring mergeable path as below::\n+\n+   ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 30,31 -n 4 --file-prefix=testpmd0 --no-pci --vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net0,queues=8,mrg_rxbuf=1,in_order=0,server=1 -- -i --nb-cores=1 --rxq=8 --txq=8 --txd=1024 --rxd=1024\n+   testpmd> set fwd csum\n+   testpmd> start\n+\n+12. Rerun step3-6.\n",
    "prefixes": [
        "V1",
        "1/2"
    ]
}