get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 109949,
    "url": "http://patchwork.dpdk.org/api/patches/109949/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dts/patch/20220421070255.1554459-1-weix.ling@intel.com/",
    "project": {
        "id": 3,
        "url": "http://patchwork.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": "<20220421070255.1554459-1-weix.ling@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20220421070255.1554459-1-weix.ling@intel.com",
    "date": "2022-04-21T07:02:55",
    "name": "[V1,2/5] test_plans/vm2vm_virtio_user_test_plan: delete cbdma testcases",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "cc3b5d2e04e3f6f1812fb83687b0ef3ed06757f4",
    "submitter": {
        "id": 1828,
        "url": "http://patchwork.dpdk.org/api/people/1828/?format=api",
        "name": "Ling, WeiX",
        "email": "weix.ling@intel.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.dpdk.org/project/dts/patch/20220421070255.1554459-1-weix.ling@intel.com/mbox/",
    "series": [
        {
            "id": 22582,
            "url": "http://patchwork.dpdk.org/api/series/22582/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dts/list/?series=22582",
            "date": "2022-04-21T07:01:40",
            "name": "add new testsuite of DPDK-22.03",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/22582/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/109949/comments/",
    "check": "pending",
    "checks": "http://patchwork.dpdk.org/api/patches/109949/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 61511A00C3;\n\tThu, 21 Apr 2022 09:03:05 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 59933410FB;\n\tThu, 21 Apr 2022 09:03:05 +0200 (CEST)",
            "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n by mails.dpdk.org (Postfix) with ESMTP id 4978540040\n for <dts@dpdk.org>; Thu, 21 Apr 2022 09:03:03 +0200 (CEST)",
            "from orsmga008.jf.intel.com ([10.7.209.65])\n by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 21 Apr 2022 00:03:02 -0700",
            "from unknown (HELO localhost.localdomain) ([10.239.251.222])\n by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 21 Apr 2022 00:02:59 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1650524583; x=1682060583;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=KjgfGw7+AfDTMZlT0sNhXSu6+/kr29M3v+eoeVTaH10=;\n b=dEZe7VLzR5qR11ulgwXJFs6WiinHFRS6a0p8s4cRn+58PP/dtLfDmYWP\n xKLVQGKpKJ7nhTvMRNzJSNgVvXWkr6nJjSPhkx3sCphf4jLyN5L0BLyEl\n 0U/D2TnFR1PHOVIJecM0WxagP3fv+6MWnENVHTKCvyUAHFk9flN1+d0lg\n 39od/fT3pCAMkefxQBpfOY2UVwO47jG13BbMbsQdKnzIiSZAyddaM9W44\n QsdLUpnKaX1HBO8lt+MhEB27RpcIEnjPCgaa4iyNZND+iqhSb3N03eUwx\n vR62fpsmYxS2zXOz9WbFR7PmQ3VkMmyWofkXBxhzmCfOJg/mCnYhThMKh Q==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6400,9594,10323\"; a=\"264026257\"",
            "E=Sophos;i=\"5.90,278,1643702400\"; d=\"scan'208\";a=\"264026257\"",
            "E=Sophos;i=\"5.90,278,1643702400\"; d=\"scan'208\";a=\"577060006\""
        ],
        "From": "Wei Ling <weix.ling@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Wei Ling <weix.ling@intel.com>",
        "Subject": "[dts][PATCH V1 2/5] test_plans/vm2vm_virtio_user_test_plan: delete\n cbdma testcases",
        "Date": "Thu, 21 Apr 2022 15:02:55 +0800",
        "Message-Id": "<20220421070255.1554459-1-weix.ling@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "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": "As commit 53d3f4778c(vhost: integrate dmadev in asynchronous data-path),\ndelete cbdma related cases form\ntest_plans/vm2vm_virtio_user_test_plan.rst.\n\nSigned-off-by: Wei Ling <weix.ling@intel.com>\n---\n test_plans/vm2vm_virtio_user_test_plan.rst | 1157 ++++----------------\n 1 file changed, 205 insertions(+), 952 deletions(-)",
    "diff": "diff --git a/test_plans/vm2vm_virtio_user_test_plan.rst b/test_plans/vm2vm_virtio_user_test_plan.rst\nindex c3aa328e..061594c4 100644\n--- a/test_plans/vm2vm_virtio_user_test_plan.rst\n+++ b/test_plans/vm2vm_virtio_user_test_plan.rst\n@@ -41,39 +41,81 @@ This test plan test several features in VM2VM topo:\n 1. Split virtqueue vm2vm in-order mergeable, in-order non-mergeable, mergeable, non-mergeable, vector_rx path test.\n 2. Packed virtqueue vm2vm in-order mergeable, in-order non-mergeable, mergeable, non-mergeable, vectorized path (ringsize not powerof 2) test.\n 3. Split ring and packed ring vm2vm test when vhost enqueue operation with multi-CBDMA channels.\n-4. Test indirect descriptor feature. For example, the split ring mergeable inorder path use non-indirect descriptor, the 2000,2000,2000,2000 chain packets will need 4 consequent ring, still need one ring put header.\n+4. Test indirect descriptor feature. For example, the split ring mergeable inorder path use non-indirect descriptor,\n+the 2000,2000,2000,2000 chain packets will need 4 consequent ring, still need one ring put header.\n the split ring mergeable path use indirect descriptor, the 2000,2000,2000,2000 chain packets will only occupy one ring.\n \n-Test flow\n+For more about dpdk-testpmd sample, please refer to the DPDK docments:\n+https://doc.dpdk.org/guides/testpmd_app_ug/run_app.html\n+\n+For virtio-user vdev parameter, you can refer to the DPDK docments:\n+https://doc.dpdk.org/guides/nics/virtio.html#virtio-paths-selection-and-usage\n+\n+Prerequisites\n+=============\n+\n+Topology\n+--------\n+Test flow: Virtio-user-->Vhost-user-->Testpmd-->Vhost-user-->Virtio-user\n+\n+Hardware\n+--------\n+Supportted NICs: ALL\n+\n+Software\n+--------\n+Trex: http://trex-tgn.cisco.com/trex/release/v2.26.tar.gz\n+\n+General set up\n+--------------\n+1. Compile DPDK::\n+\n+      # CC=gcc meson --werror -Denable_kmods=True -Dlibdir=lib -Dexamples=all --default-library=<dpdk build dir>\n+      # ninja -C <dpdk build dir> -j 110\n+\n+2. Get the PCI device ID and DMA device ID of DUT, for example, 0000:18:00.0 is PCI device ID::\n+\n+      <dpdk dir># ./usertools/dpdk-devbind.py -s\n+\n+      Network devices using kernel driver\n+      ===================================\n+      0000:18:00.0 'Device 159b' if=ens785f0 drv=ice unused=vfio-pci\n+\n+Test case\n =========\n-Virtio-user <-> Vhost-user <-> Testpmd <-> Vhost-user <-> Virtio-user\n+\n+Common steps\n+------------\n+1. Attach pdump secondary process to primary process by same file-prefix::\n+\n+      <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 \\\n+      -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=./pdump-virtio-rx.pcap,mbuf-size=8000'\n+\n \n Test Case 1: packed virtqueue vm2vm mergeable path test\n-=======================================================\n+-------------------------------------------------------\n+This case uses test of 2 virtio-user with packed ring mergeable path and vhost with testpmd to forward packets,\n+and uses pdump to capture virtio-user and vhost side receive packets.\n \n 1. Launch vhost by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci \\\n     --vdev 'eth_vhost0,iface=vhost-net,queues=1' --vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \\\n     -i --nb-cores=1 --no-flush-rx\n \n 2. Launch virtio-user1 by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n-    --no-pci --file-prefix=virtio1 \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 --no-pci --file-prefix=virtio1 \\\n     --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=1,mrg_rxbuf=1,in_order=0 \\\n     -- -i --nb-cores=1 --txd=256 --rxd=256\n     testpmd>set fwd rxonly\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=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=./pdump-virtio-rx.pcap,mbuf-size=8000'\n+3. Start pdump to capture virtio-user1 packets, as common step 1.\n \n 4. Launch virtio-user0 and send 8k length packets::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \\\n-    --no-pci --file-prefix=virtio \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 --no-pci --file-prefix=virtio \\\n     --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=1,packed_vq=1,mrg_rxbuf=1,in_order=0 \\\n     -- -i --nb-cores=1 --txd=256 --rxd=256\n     testpmd>set burst 1\n@@ -95,19 +137,19 @@ Test Case 1: packed virtqueue vm2vm mergeable path test\n \n 7. Launch testpmd by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost  \\\n-    --vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \\\n-    -i --nb-cores=1 --no-flush-rx\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost  \\\n+    --vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- -i --nb-cores=1 --no-flush-rx\n     testpmd>set fwd rxonly\n     testpmd>start\n \n 8. Attach pdump secondary process to primary process by same file-prefix::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=vhost -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=vhost \\\n+    -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'\n \n 9. Launch virtio-user1 by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 --no-pci \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 --no-pci \\\n     --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=1,mrg_rxbuf=1,in_order=0 \\\n     -- -i --nb-cores=1 --txd=256 --rxd=256\n     testpmd>set burst 1\n@@ -124,33 +166,33 @@ Test Case 1: packed virtqueue vm2vm mergeable path test\n     testpmd>set txpkts 2000\n     testpmd>start tx_first 1\n \n-10. Quit pdump,vhost received packets in pdump-vhost-rx.pcap, check headers and payload of all packets in pdump-virtio-rx.pcap and pdump-vhost-rx.pcap and ensure the content are same.\n+10. Quit pdump,vhost received packets in pdump-vhost-rx.pcap, check headers and payload of all packets in\n+    pdump-virtio-rx.pcap and pdump-vhost-rx.pcap and ensure the content are same.\n \n Test Case 2: packed virtqueue vm2vm inorder mergeable path test\n-===============================================================\n+---------------------------------------------------------------\n+This case uses test of 2 virtio-user with packed ring inorder mergeable path and vhost with testpmd to forward packets,\n+and uses pdump to capture virtio-user and vhost side receive packets.\n \n 1. Launch testpmd by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci \\\n     --vdev 'eth_vhost0,iface=vhost-net,queues=1' --vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \\\n     -i --nb-cores=1 --no-flush-rx\n \n 2. Launch virtio-user1 by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n-    --no-pci --file-prefix=virtio1 \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 --no-pci --file-prefix=virtio1 \\\n     --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=1,mrg_rxbuf=1,in_order=1 \\\n     -- -i --nb-cores=1 --txd=256 --rxd=256\n     testpmd>set fwd rxonly\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=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=/root/pdump-rx.pcap,mbuf-size=8000'\n+3. Start pdump to capture virtio-user1 packets, as common step 1.\n \n 4. Launch virtio-user0 and send 8k length packets::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \\\n     --no-pci --file-prefix=virtio \\\n     --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=1,packed_vq=1,mrg_rxbuf=1,in_order=1 \\\n     -- -i --nb-cores=1 --txd=256 --rxd=256\n@@ -168,19 +210,19 @@ Test Case 2: packed virtqueue vm2vm inorder mergeable path test\n \n 6. Launch testpmd by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost  \\\n-    --vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \\\n-    -i --nb-cores=1 --no-flush-rx\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost  \\\n+    --vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- -i --nb-cores=1 --no-flush-rx\n     testpmd>set fwd rxonly\n     testpmd>start\n \n 7. Attach pdump secondary process to primary process by same file-prefix::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=vhost -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=vhost \\\n+    -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'\n \n 8. Launch virtio-user1 by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n     --no-pci \\\n     --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=1,mrg_rxbuf=1,in_order=1 \\\n     -- -i --nb-cores=1 --txd=256 --rxd=256\n@@ -194,31 +236,32 @@ Test Case 2: packed virtqueue vm2vm inorder mergeable path test\n     testpmd>set txpkts 2000,2000,2000,2000\n     testpmd>start tx_first 1\n \n-9. Quit pdump,vhost received packets in pdump-vhost-rx.pcap, check headers and payload of all packets in pdump-virtio-rx.pcap and pdump-vhost-rx.pcap and ensure the content are same.\n+9. Quit pdump,vhost received packets in pdump-vhost-rx.pcap, check headers and payload of all packets in\n+   pdump-virtio-rx.pcap and pdump-vhost-rx.pcap and ensure the content are same.\n \n Test Case 3: packed virtqueue vm2vm non-mergeable path test\n-===========================================================\n+-----------------------------------------------------------\n+This case uses test of 2 virtio-user with packed ring non-mergeable path and vhost with testpmd to forward packets,\n+and uses pdump to capture virtio-user and vhost side receive packets.\n \n 1. Launch testpmd by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci \\\n     --vdev 'eth_vhost0,iface=vhost-net,queues=1' --vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \\\n     -i --nb-cores=1 --no-flush-rx\n \n 2. Launch virtio-user1 by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n     --no-pci --file-prefix=virtio1 \\\n     --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=1,mrg_rxbuf=0,in_order=0 \\\n     -- -i --nb-cores=1 --txd=256 --rxd=256\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=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=/root/pdump-rx.pcap,mbuf-size=8000'\n+3. Start pdump to capture virtio-user1 packets, as common step 1.\n \n 4. Launch virtio-user0 and send 8k length packets::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \\\n     --no-pci --file-prefix=virtio \\\n     --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=1,packed_vq=1,mrg_rxbuf=0,in_order=0 \\\n     -- -i --nb-cores=1 --txd=256 --rxd=256\n@@ -235,7 +278,7 @@ Test Case 3: packed virtqueue vm2vm non-mergeable path test\n \n 6. Launch testpmd by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost  \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost  \\\n     --vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \\\n     -i --nb-cores=1 --no-flush-rx\n     testpmd>set fwd rxonly\n@@ -243,11 +286,12 @@ Test Case 3: packed virtqueue vm2vm non-mergeable path test\n \n 7. Attach pdump secondary process to primary process by same file-prefix::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=vhost -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=vhost \\\n+    -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'\n \n 8. Launch virtio-user1 by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n     --no-pci \\\n     --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=1,mrg_rxbuf=0,in_order=0 \\\n     -- -i --nb-cores=1 --txd=256 --rxd=256\n@@ -257,33 +301,34 @@ Test Case 3: packed virtqueue vm2vm non-mergeable path test\n     testpmd>set burst 32\n     testpmd>start tx_first 7\n \n-9. Quit pdump,vhost received packets in pdump-vhost-rx.pcap, check headers and payload of all packets in pdump-virtio-rx.pcap and pdump-vhost-rx.pcap and ensure the content are same.\n+9. Quit pdump,vhost received packets in pdump-vhost-rx.pcap, check headers and payload of all packets in\n+   pdump-virtio-rx.pcap and pdump-vhost-rx.pcap and ensure the content are same.\n \n Test Case 4: packed virtqueue vm2vm inorder non-mergeable path test\n-===================================================================\n+-------------------------------------------------------------------\n+This case uses test of 2 virtio-user with packed ring inorder non-mergeable path and vhost with testpmd to forward packets,\n+and uses pdump to capture virtio-user and vhost side receive packets.\n \n 1. Launch testpmd by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci \\\n     --vdev 'eth_vhost0,iface=vhost-net,queues=1' --vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \\\n     -i --nb-cores=1 --no-flush-rx\n \n 2. Launch virtio-user1 by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n     --no-pci --file-prefix=virtio1 \\\n     --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1 \\\n     -- -i --rx-offloads=0x10 --nb-cores=1 --txd=256 --rxd=256\n     testpmd>set fwd rxonly\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=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=/root/pdump-rx.pcap,mbuf-size=8000'\n+3. Start pdump to capture virtio-user1 packets, as common step 1.\n \n 4. Launch virtio-user0 and send 8k length packets::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \\\n     --no-pci --file-prefix=virtio \\\n     --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=1,packed_vq=1,mrg_rxbuf=0,in_order=1,packed_vec=1 \\\n     -- -i --rx-offloads=0x10 --nb-cores=1 --txd=256 --rxd=256\n@@ -300,7 +345,7 @@ Test Case 4: packed virtqueue vm2vm inorder non-mergeable path test\n \n 6. Launch testpmd by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost  \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost  \\\n     --vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \\\n     -i --nb-cores=1 --no-flush-rx\n     testpmd>set fwd rxonly\n@@ -308,11 +353,12 @@ Test Case 4: packed virtqueue vm2vm inorder non-mergeable path test\n \n 7. Attach pdump secondary process to primary process by same file-prefix::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=vhost -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=vhost \\\n+    -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'\n \n 8. Launch virtio-user1 by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n     --no-pci \\\n     --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=1,mrg_rxbuf=0,in_order=1,packed_vec=1 \\\n     -- -i --rx-offloads=0x10 --nb-cores=1 --txd=256 --rxd=256\n@@ -322,33 +368,34 @@ Test Case 4: packed virtqueue vm2vm inorder non-mergeable path test\n     testpmd>set burst 32\n     testpmd>start tx_first 7\n \n-9. Quit pdump,vhost received packets in pdump-vhost-rx.pcap,check headers and payload of all packets in pdump-virtio-rx.pcap and pdump-vhost-rx.pcap and ensure the content are same.\n+9. Quit pdump,vhost received packets in pdump-vhost-rx.pcap,check headers and payload of all packets in\n+   pdump-virtio-rx.pcap and pdump-vhost-rx.pcap and ensure the content are same.\n \n Test Case 5: split virtqueue vm2vm mergeable path test\n-======================================================\n+------------------------------------------------------\n+This case uses test of 2 virtio-user with split ring mergeable path and vhost with testpmd to forward packets,\n+and uses pdump to capture virtio-user and vhost side receive packets.\n \n 1. Launch vhost by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci \\\n     --vdev 'eth_vhost0,iface=vhost-net,queues=1' --vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \\\n     -i --nb-cores=1 --no-flush-rx\n \n 2. Launch virtio-user1 by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n     --no-pci --file-prefix=virtio1 \\\n     --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=0,mrg_rxbuf=1,in_order=0 \\\n     -- -i --nb-cores=1 --txd=256 --rxd=256\n     testpmd>set fwd rxonly\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=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=./pdump-virtio-rx.pcap,mbuf-size=8000'\n+3. Start pdump to capture virtio-user1 packets, as common step 1.\n \n 4. Launch virtio-user0 and send 8k length packets::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \\\n     --no-pci --file-prefix=virtio \\\n     --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=1,packed_vq=0,mrg_rxbuf=1,in_order=0 \\\n     -- -i --nb-cores=1 --txd=256 --rxd=256\n@@ -371,7 +418,7 @@ Test Case 5: split virtqueue vm2vm mergeable path test\n \n 7. Launch testpmd by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost  \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost  \\\n     --vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \\\n     -i --nb-cores=1 --no-flush-rx\n     testpmd>set fwd rxonly\n@@ -379,11 +426,12 @@ Test Case 5: split virtqueue vm2vm mergeable path test\n \n 8. Attach pdump secondary process to primary process by same file-prefix::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=vhost -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=vhost \\\n+    -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'\n \n 9. Launch virtio-user1 by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n     --no-pci \\\n     --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=0,mrg_rxbuf=1,in_order=0 \\\n     -- -i --nb-cores=1 --txd=256 --rxd=256\n@@ -401,33 +449,34 @@ Test Case 5: split virtqueue vm2vm mergeable path test\n     testpmd>set txpkts 2000\n     testpmd>start tx_first 1\n \n-9. Quit pdump,vhost received packets in pdump-vhost-rx.pcap, check headers and payload of all packets in pdump-virtio-rx.pcap and pdump-vhost-rx.pcap and ensure the content are same.\n+9. Quit pdump,vhost received packets in pdump-vhost-rx.pcap, check headers and payload of all packets in\n+   pdump-virtio-rx.pcap and pdump-vhost-rx.pcap and ensure the content are same.\n \n Test Case 6: split virtqueue vm2vm inorder mergeable path test\n-==============================================================\n+--------------------------------------------------------------\n+This case uses test of 2 virtio-user with split ring inorder mergeable path and vhost with testpmd to forward packets,\n+and uses pdump to capture virtio-user and vhost side receive packets.\n \n 1. Launch testpmd by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci \\\n     --vdev 'eth_vhost0,iface=vhost-net,queues=1' --vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \\\n     -i --nb-cores=1 --no-flush-rx\n \n 2. Launch virtio-user1 by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n     --no-pci --file-prefix=virtio1 \\\n     --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=0,mrg_rxbuf=1,in_order=1 \\\n     -- -i --nb-cores=1 --txd=256 --rxd=256\n     testpmd>set fwd rxonly\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=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=/root/pdump-rx.pcap,mbuf-size=8000'\n+3. Start pdump to capture virtio-user1 packets, as common step 1.\n \n 4. Launch virtio-user0 and send 8k length packets::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \\\n     --no-pci --file-prefix=virtio \\\n     --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=1,packed_vq=0,mrg_rxbuf=1,in_order=1 \\\n     -- -i --nb-cores=1 --txd=256 --rxd=256\n@@ -444,7 +493,7 @@ Test Case 6: split virtqueue vm2vm inorder mergeable path test\n \n 6. Launch testpmd by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost  \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost  \\\n     --vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \\\n     -i --nb-cores=1 --no-flush-rx\n     testpmd>set fwd rxonly\n@@ -452,11 +501,12 @@ Test Case 6: split virtqueue vm2vm inorder mergeable path test\n \n 7. Attach pdump secondary process to primary process by same file-prefix::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=vhost -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=vhost \\\n+    -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'\n \n 8. Launch virtio-user1 by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n     --no-pci \\\n     --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=0,mrg_rxbuf=1,in_order=1 \\\n     -- -i --nb-cores=1 --txd=256 --rxd=256\n@@ -470,31 +520,32 @@ Test Case 6: split virtqueue vm2vm inorder mergeable path test\n     testpmd>set txpkts 2000,2000,2000,2000\n     testpmd>start tx_first 1\n \n-9. Quit pdump,vhost received packets in pdump-vhost-rx.pcap,check headers and payload of all packets in pdump-virtio-rx.pcap and pdump-vhost-rx.pcap and ensure the content are same.\n+9. Quit pdump,vhost received packets in pdump-vhost-rx.pcap,check headers and payload of all packets in\n+   pdump-virtio-rx.pcap and pdump-vhost-rx.pcap and ensure the content are same.\n \n Test Case 7: split virtqueue vm2vm non-mergeable path test\n-==========================================================\n+----------------------------------------------------------\n+This case uses test of 2 virtio-user with split ring non-mergeable path and vhost with testpmd to forward packets,\n+and uses pdump to capture virtio-user and vhost side receive packets.\n \n 1. Launch testpmd by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci \\\n     --vdev 'eth_vhost0,iface=vhost-net,queues=1' --vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \\\n     -i --nb-cores=1 --no-flush-rx\n \n 2. Launch virtio-user1 by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n     --no-pci --file-prefix=virtio1 \\\n     --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=0,mrg_rxbuf=0,in_order=0 \\\n     -- -i --nb-cores=1 --txd=256 --rxd=256 --enable-hw-vlan-strip\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=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=/root/pdump-rx.pcap,mbuf-size=8000'\n+3. Start pdump to capture virtio-user1 packets, as common step 1.\n \n 4. Launch virtio-user0 and send 8k length packets::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \\\n     --no-pci --file-prefix=virtio \\\n     --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=1,packed_vq=0,mrg_rxbuf=0,in_order=0 \\\n     -- -i --nb-cores=1 --txd=256 --rxd=256 --enable-hw-vlan-strip\n@@ -511,19 +562,19 @@ Test Case 7: split virtqueue vm2vm non-mergeable path test\n \n 6. Launch testpmd by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost  \\\n-    --vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \\\n-    -i --nb-cores=1 --no-flush-rx\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost  \\\n+    --vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- -i --nb-cores=1 --no-flush-rx\n     testpmd>set fwd rxonly\n     testpmd>start\n \n 7. Attach pdump secondary process to primary process by same file-prefix::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=vhost -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=vhost \\\n+    -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'\n \n 8. Launch virtio-user1 by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n     --no-pci \\\n     --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=0,mrg_rxbuf=0,in_order=0 \\\n     -- -i --nb-cores=1 --txd=256 --rxd=256 --enable-hw-vlan-strip\n@@ -533,33 +584,34 @@ Test Case 7: split virtqueue vm2vm non-mergeable path test\n     testpmd>set burst 32\n     testpmd>start tx_first 7\n \n-9. Quit pdump,vhost received packets in pdump-vhost-rx.pcap,check headers and payload of all packets in pdump-virtio-rx.pcap and pdump-vhost-rx.pcap and ensure the content are same.\n+9. Quit pdump,vhost received packets in pdump-vhost-rx.pcap,check headers and payload of all packets in\n+   pdump-virtio-rx.pcap and pdump-vhost-rx.pcap and ensure the content are same.\n \n Test Case 8: split virtqueue vm2vm inorder non-mergeable path test\n-==================================================================\n+------------------------------------------------------------------\n+This case uses test of 2 virtio-user with split ring inorder non-mergeable path and vhost with testpmd to forward packets,\n+and uses pdump to capture virtio-user and vhost side receive packets.\n \n 1. Launch testpmd by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci \\\n     --vdev 'eth_vhost0,iface=vhost-net,queues=1' --vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \\\n     -i --nb-cores=1 --no-flush-rx\n \n 2. Launch virtio-user1 by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n     --no-pci --file-prefix=virtio1 \\\n     --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=0,mrg_rxbuf=0,in_order=1 \\\n     -- -i --nb-cores=1 --txd=256 --rxd=256\n     testpmd>set fwd rxonly\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=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=/root/pdump-rx.pcap,mbuf-size=8000'\n+3. Start pdump to capture virtio-user1 packets, as common step 1.\n \n 4. Launch virtio-user0 and send 8k length packets::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \\\n     --no-pci --file-prefix=virtio \\\n     --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=1,packed_vq=0,mrg_rxbuf=0,in_order=1 \\\n     -- -i --nb-cores=1 --txd=256 --rxd=256\n@@ -576,7 +628,7 @@ Test Case 8: split virtqueue vm2vm inorder non-mergeable path test\n \n 6. Launch testpmd by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost  \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost  \\\n     --vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \\\n     -i --nb-cores=1 --no-flush-rx\n     testpmd>set fwd rxonly\n@@ -584,11 +636,12 @@ Test Case 8: split virtqueue vm2vm inorder non-mergeable path test\n \n 7. Attach pdump secondary process to primary process by same file-prefix::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=vhost -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=vhost \\\n+    -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'\n \n 8. Launch virtio-user1 by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n     --no-pci \\\n     --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=0,mrg_rxbuf=0,in_order=1 \\\n     -- -i --nb-cores=1 --txd=256 --rxd=256\n@@ -598,32 +651,31 @@ Test Case 8: split virtqueue vm2vm inorder non-mergeable path test\n     testpmd>set burst 32\n     testpmd>start tx_first 7\n \n-9. Quit pdump,vhost received packets in pdump-vhost-rx.pcap,check headers and payload of all packets in pdump-virtio-rx.pcap and pdump-vhost-rx.pcap and ensure the content are same.\n+9. Quit pdump,vhost received packets in pdump-vhost-rx.pcap,check headers and payload of all packets in\n+   pdump-virtio-rx.pcap and pdump-vhost-rx.pcap and ensure the content are same.\n \n Test Case 9: split virtqueue vm2vm vector_rx path test\n-======================================================\n+------------------------------------------------------\n+This case uses test of 2 virtio-user with split ring vector_rx path and vhost with testpmd to forward packets,\n+and uses pdump to capture virtio-user and vhost side receive packets.\n \n 1. Launch testpmd by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci \\\n     --vdev 'eth_vhost0,iface=vhost-net,queues=1' --vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \\\n     -i --nb-cores=1 --no-flush-rx\n \n 2. Launch virtio-user1 by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n-    --no-pci --file-prefix=virtio1 \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 --no-pci --file-prefix=virtio1 \\\n     --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=0,mrg_rxbuf=0,in_order=0,vectorized=1,queue_size=256 \\\n     -- -i --nb-cores=1 --txd=256 --rxd=256\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=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=/root/pdump-rx.pcap,mbuf-size=8000'\n+3. Start pdump to capture virtio-user1 packets, as common step 1.\n \n 4. Launch virtio-user0 and send 8k length packets::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \\\n-    --no-pci --file-prefix=virtio \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 --no-pci --file-prefix=virtio \\\n     --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=1,packed_vq=0,mrg_rxbuf=0,in_order=0,vectorized=1,queue_size=256 \\\n     -- -i --nb-cores=1 --txd=256 --rxd=256\n     testpmd>set burst 1\n@@ -639,20 +691,19 @@ Test Case 9: split virtqueue vm2vm vector_rx path test\n \n 6. Launch testpmd by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost  \\\n-    --vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \\\n-    -i --nb-cores=1 --no-flush-rx\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost  \\\n+    --vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- -i --nb-cores=1 --no-flush-rx\n     testpmd>set fwd rxonly\n     testpmd>start\n \n 7. Attach pdump secondary process to primary process by same file-prefix::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=vhost -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=vhost \\\n+    -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'\n \n 8. Launch virtio-user1 by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n-    --no-pci \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 --no-pci \\\n     --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=0,mrg_rxbuf=0,in_order=0,vectorized=1,queue_size=256 \\\n     -- -i --nb-cores=1 --txd=256 --rxd=256\n     testpmd>set burst 1\n@@ -661,33 +712,34 @@ Test Case 9: split virtqueue vm2vm vector_rx path test\n     testpmd>set burst 32\n     testpmd>start tx_first 7\n \n-9. Quit pdump,vhost received packets in pdump-vhost-rx.pcap,check headers and payload of all packets in pdump-virtio-rx.pcap and pdump-vhost-rx.pcap and ensure the content are same.\n+9. Quit pdump,vhost received packets in pdump-vhost-rx.pcap,check headers and payload of all packets in\n+   pdump-virtio-rx.pcap and pdump-vhost-rx.pcap and ensure the content are same.\n \n Test Case 10: packed virtqueue vm2vm vectorized path test\n-=========================================================\n+---------------------------------------------------------\n+This case uses test of 2 virtio-user with packed ring vectorized path and vhost with testpmd to forward packets,\n+and uses pdump to capture virtio-user and vhost side receive packets.\n \n 1. Launch testpmd by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci \\\n     --vdev 'eth_vhost0,iface=vhost-net,queues=1' --vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \\\n     -i --nb-cores=1 --no-flush-rx\n \n 2. Launch virtio-user1 by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n     --no-pci --file-prefix=virtio1 --force-max-simd-bitwidth=512 \\\n     --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1,queue_size=256 \\\n     -- -i --nb-cores=1 --txd=256 --rxd=256\n     testpmd>set fwd rxonly\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=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=/root/pdump-rx.pcap,mbuf-size=8000'\n+3. Start pdump to capture virtio-user1 packets, as common step 1.\n \n 4. Launch virtio-user0 and send 8k length packets::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \\\n     --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,queues=1,packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1,queue_size=256 \\\n     -- -i --nb-cores=1 --txd=256 --rxd=256\n@@ -704,19 +756,19 @@ Test Case 10: packed virtqueue vm2vm vectorized path test\n \n 6. Launch testpmd by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost  \\\n-    --vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \\\n-    -i --nb-cores=1 --no-flush-rx\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost  \\\n+    --vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- -i --nb-cores=1 --no-flush-rx\n     testpmd>set fwd rxonly\n     testpmd>start\n \n 7. Attach pdump secondary process to primary process by same file-prefix::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=vhost -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=vhost \\\n+    -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'\n \n 8. Launch virtio-user1 by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n     --no-pci --force-max-simd-bitwidth=512 \\\n     --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1,queue_size=256 \\\n     -- -i --nb-cores=1 --txd=256 --rxd=256\n@@ -726,33 +778,34 @@ Test Case 10: packed virtqueue vm2vm vectorized path test\n     testpmd>set burst 32\n     testpmd>start tx_first 7\n \n-9. Quit pdump,vhost received packets in pdump-vhost-rx.pcap,check headers and payload of all packets in pdump-virtio-rx.pcap and pdump-vhost-rx.pcap and ensure the content are same.\n+9. Quit pdump,vhost received packets in pdump-vhost-rx.pcap,check headers and payload of all packets in\n+   pdump-virtio-rx.pcap and pdump-vhost-rx.pcap and ensure the content are same.\n \n Test Case 11: packed virtqueue vm2vm vectorized path test with ring size is not power of 2\n-==========================================================================================\n+------------------------------------------------------------------------------------------\n+This case uses test of 2 virtio-user with packed ring vectorized path with ring size is not power of 2 and vhost with testpmd to forward packets,\n+and uses pdump to capture virtio-user and vhost side receive packets.\n \n 1. Launch testpmd by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci \\\n     --vdev 'eth_vhost0,iface=vhost-net,queues=1' --vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \\\n     -i --nb-cores=1 --no-flush-rx\n \n 2. Launch virtio-user1 by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n     --no-pci --file-prefix=virtio1 --force-max-simd-bitwidth=512 \\\n     --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1,queue_size=255 \\\n     -- -i --nb-cores=1 --txd=255 --rxd=255\n     testpmd>set fwd rxonly\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=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=/root/pdump-rx.pcap,mbuf-size=8000'\n+3. Start pdump to capture virtio-user1 packets, as common step 1.\n \n 4. Launch virtio-user0 and send 8k length packets::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \\\n     --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,queues=1,packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1,queue_size=255 \\\n     -- -i --nb-cores=1 --txd=255 --rxd=255\n@@ -769,20 +822,19 @@ Test Case 11: packed virtqueue vm2vm vectorized path test with ring size is not\n \n 6. Launch testpmd by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost  \\\n-    --vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- \\\n-    -i --nb-cores=1 --no-flush-rx\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci --file-prefix=vhost  \\\n+    --vdev 'eth_vhost1,iface=vhost-net1,queues=1' -- -i --nb-cores=1 --no-flush-rx\n     testpmd>set fwd rxonly\n     testpmd>start\n \n 7. Attach pdump secondary process to primary process by same file-prefix::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=vhost -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=vhost \\\n+    -- --pdump 'port=0,queue=*,rx-dev=/root/pdump-vhost-rx.pcap,mbuf-size=8000'\n \n 8. Launch virtio-user1 by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n-    --no-pci --force-max-simd-bitwidth=512 \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 --no-pci --force-max-simd-bitwidth=512 \\\n     --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1,queue_size=255 \\\n     -- -i --nb-cores=1 --txd=255 --rxd=255\n     testpmd>set burst 1\n@@ -791,811 +843,13 @@ Test Case 11: packed virtqueue vm2vm vectorized path test with ring size is not\n     testpmd>set burst 32\n     testpmd>start tx_first 7\n \n-9. Quit pdump,vhost received packets in pdump-vhost-rx.pcap,check headers and payload of all packets in pdump-virtio-rx.pcap and pdump-vhost-rx.pcap and ensure the content are same.\n-\n-Test Case 12: split virtqueue vm2vm non-mergeable path multi-queues payload check with cbdma enabled\n-====================================================================================================\n-\n-1. bind 4 cbdma port to vfio-pci and launch vhost by below command::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n-    --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:80:04.0;txq1@0000:80:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:80:04.2;txq1@0000:80:04.3]' \\\n-    --iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx\n-    testpmd>vhost enable tx all\n-\n-2. Launch virtio-user1 by below command::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n-    --no-pci --file-prefix=virtio1 \\\n-    --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=2,server=1,packed_vq=0,mrg_rxbuf=0,in_order=0,queue_size=4096 \\\n-    -- -i --enable-hw-vlan-strip --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\n-    testpmd>set fwd rxonly\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=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=./pdump-virtio-rx.pcap,mbuf-size=8000'\n-\n-4. Launch virtio-user0 and send packets::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \\\n-    --no-pci --file-prefix=virtio \\\n-    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=2,server=1,packed_vq=0,mrg_rxbuf=0,in_order=0,queue_size=4096 \\\n-    -- -i --enable-hw-vlan-strip --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\n-    testpmd>set burst 1\n-    testpmd>set txpkts 64,128,256,512\n-    testpmd>start tx_first 27\n-    testpmd>stop\n-    testpmd>set burst 32\n-    testpmd>start tx_first 7\n-    testpmd>stop\n-    testpmd>set txpkts 64\n-    testpmd>start tx_first 1\n-    testpmd>stop\n-\n-5. Start vhost testpmd, check virtio-user1 RX-packets is 566 and RX-bytes is 486016, 502 packets with 960 length and 64 packets with 64 length in pdump-virtio-rx.pcap.\n-\n-6. Clear virtio-user1 port stats::\n-\n-    testpmd>stop\n-    testpmd>clear port stats all\n-    testpmd>start\n-\n-7. Quit and relaunch vhost with iova=pa by below command::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n-    --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:80:04.0;txq1@0000:80:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:80:04.2;txq1@0000:80:04.3]' \\\n-    --iova=pa -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx\n-    testpmd>vhost enable tx all\n-\n-8. Attach pdump secondary process to primary process by same file-prefix::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=./pdump-virtio-rx.pcap,mbuf-size=8000'\n-\n-9. Virtio-user0 send packets::\n-\n-    testpmd>set burst 1\n-    testpmd>set txpkts 64,128,256,512\n-    testpmd>start tx_first 27\n-    testpmd>stop\n-    testpmd>set burst 32\n-    testpmd>start tx_first 7\n-    testpmd>stop\n-    testpmd>set txpkts 64\n-    testpmd>start tx_first 1\n-    testpmd>stop\n-\n-10. Rerun step 5.\n-\n-Test Case 13: split virtqueue vm2vm mergeable path multi-queues payload check with cbdma enabled\n-================================================================================================\n-\n-1. Launch vhost by below command::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n-    --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3]' \\\n-    --iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx\n-    testpmd>vhost enable tx all\n-\n-2. Launch virtio-user1 by below command::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n-    --no-pci --file-prefix=virtio1 \\\n-    --vdev=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-    -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\n-    testpmd>set fwd rxonly\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=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=./pdump-virtio-rx.pcap,mbuf-size=8000'\n-\n-4. Launch virtio-user0 and send packets::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \\\n-    --no-pci --file-prefix=virtio \\\n-    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=2,server=1,packed_vq=0,mrg_rxbuf=1,in_order=0,queue_size=4096 \\\n-    -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\n-    testpmd>set burst 1\n-    testpmd>set txpkts 64,256,2000,64,256,2000\n-    testpmd>start tx_first 27\n-    testpmd>stop\n-    testpmd>set burst 32\n-    testpmd>set txpkts 64\n-    testpmd>start tx_first 7\n-    testpmd>stop\n-\n-5. Start vhost testpmd, check 502 packets and 279232 bytes received by virtio-user1 and 54 packets with 4640 length and 448 packets with 64 length in pdump-virtio-rx.pcap.\n-\n-6. Clear virtio-user1 port stats::\n-\n-    testpmd>stop\n-    testpmd>clear port stats all\n-    testpmd>start\n-\n-7. Quit and relaunch vhost with iova=pa by below command::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n-    --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3]' \\\n-    --iova=pa -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx\n-    testpmd>vhost enable tx all\n-\n-8. Attach pdump secondary process to primary process by same file-prefix::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=./pdump-virtio-rx.pcap,mbuf-size=8000'\n-\n-9. Virtio-user0 send packets::\n-\n-    testpmd>set burst 1\n-    testpmd>set txpkts 64,256,2000,64,256,2000\n-    testpmd>start tx_first 27\n-    testpmd>stop\n-    testpmd>set burst 32\n-    testpmd>set txpkts 64\n-    testpmd>start tx_first 7\n-    testpmd>stop\n-\n-10. Rerun step 5.\n-\n-Test Case 14: split virtqueue vm2vm inorder non-mergeable path multi-queues payload check with cbdma enabled\n-============================================================================================================\n-\n-1. Launch vhost by below command::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n-    --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3]' \\\n-    --iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx\n-    testpmd>vhost enable tx all\n-\n-2. Launch virtio-user1 by below command::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n-    --no-pci --file-prefix=virtio1 \\\n-    --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=2,server=1,packed_vq=0,mrg_rxbuf=0,in_order=1,queue_size=4096 \\\n-    -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\n-    testpmd>set fwd rxonly\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=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=./pdump-virtio-rx.pcap,mbuf-size=8000'\n-\n-4. Launch virtio-user0 and send packets::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \\\n-    --no-pci --file-prefix=virtio \\\n-    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=2,server=1,packed_vq=0,mrg_rxbuf=0,in_order=1,queue_size=4096 \\\n-    -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\n-    testpmd>set burst 1\n-    testpmd>set txpkts 64,256,2000,64,256,2000\n-    testpmd>start tx_first 27\n-    testpmd>stop\n-    testpmd>set burst 32\n-    testpmd>set txpkts 64\n-    testpmd>start tx_first 7\n-    testpmd>stop\n-\n-5. Start vhost testpmd, check 448 packets and 28672 bytes received by virtio-user1 and 448 packets with 64 length in pdump-virtio-rx.pcap.\n-\n-6. Clear virtio-user1 port stats::\n-\n-    testpmd>stop\n-    testpmd>clear port stats all\n-    testpmd>start\n-\n-7. Quit and relaunch vhost with iova=pa by below command::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n-    --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3]' \\\n-    --iova=pa -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx\n-    testpmd>vhost enable tx all\n-\n-8. Attach pdump secondary process to primary process by same file-prefix::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=./pdump-virtio-rx.pcap,mbuf-size=8000'\n-\n-9. Virtio-user0 send packets::\n-\n-    testpmd>set burst 1\n-    testpmd>set txpkts 64,256,2000,64,256,2000\n-    testpmd>start tx_first 27\n-    testpmd>stop\n-    testpmd>set burst 32\n-    testpmd>set txpkts 64\n-    testpmd>start tx_first 7\n-    testpmd>stop\n-\n-10. Rerun step 5.\n-\n-Test Case 15: split virtqueue vm2vm vectorized path multi-queues payload check with cbdma enabled\n-==================================================================================================\n-\n-1. Launch vhost by below command::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n-    --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3]' \\\n-    --iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx\n-    testpmd>vhost enable tx all\n-\n-2. Launch virtio-user1 by below command::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 --no-pci --file-prefix=virtio1 \\\n-    --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=2,server=1,mrg_rxbuf=0,in_order=0,vectorized=1,queue_size=4096 \\\n-    -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\n-    testpmd>set fwd rxonly\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=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=./pdump-virtio-rx.pcap,mbuf-size=8000'\n-\n-4. Launch virtio-user0 and send packets::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 --no-pci --file-prefix=virtio \\\n-    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=2,server=1,packed_vq=0,mrg_rxbuf=0,in_order=0,queue_size=4096 \\\n-    -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\n-    testpmd>set burst 32\n-    testpmd>set txpkts 64\n-    testpmd>start tx_first 7\n-    testpmd>stop\n-    testpmd>set burst 1\n-    testpmd>set txpkts 64,256,2000,64,256,2000\n-    testpmd>start tx_first 27\n-    testpmd>stop\n-\n-5. Start vhost testpmd, check 448 packets and 28672 bytes received by virtio-user1 and 448 packets with 64 length in pdump-virtio-rx.pcap.\n-\n-6. Clear virtio-user1 port stats::\n-\n-    testpmd>stop\n-    testpmd>clear port stats all\n-    testpmd>start\n-\n-7. Quit and relaunch vhost with iova=pa by below command::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n-    --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3]' \\\n-    --iova=pa -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx\n-    testpmd>vhost enable tx all\n-\n-8. Attach pdump secondary process to primary process by same file-prefix::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=./pdump-virtio-rx.pcap,mbuf-size=8000'\n-\n-9. Virtio-user0 send packets::\n-\n-    testpmd>set burst 32\n-    testpmd>set txpkts 64\n-    testpmd>start tx_first 7\n-    testpmd>stop\n-    testpmd>set burst 1\n-    testpmd>set txpkts 64,256,2000,64,256,2000\n-    testpmd>start tx_first 27\n-    testpmd>stop\n-\n-10. Rerun step 5.\n-\n-Test Case 16: Split virtqueue vm2vm inorder mergeable path test non-indirect descriptor with cbdma enable\n-=========================================================================================================\n-\n-1. Launch testpmd by below command::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n-    --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3]' \\\n-    --iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=256 --rxd=256 --no-flush-rx\n-    testpmd>vhost enable tx all\n-\n-2. Launch virtio-user1 by below command::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n-    --no-pci --file-prefix=virtio1 \\\n-    --vdev=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=1,queue_size=256 \\\n-    -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=256 --rxd=256\n-    testpmd>set fwd rxonly\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=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=./pdump-virtio-rx.pcap,mbuf-size=8000'\n-\n-4. Launch virtio-user0 and send packets(include 251 small packets and 32 8K packets)::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \\\n-    --no-pci --file-prefix=virtio \\\n-    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=2,server=1,packed_vq=0,mrg_rxbuf=1,in_order=1,queue_size=256 \\\n-    -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=256 --rxd=256\n-    testpmd>set burst 1\n-    testpmd>start tx_first 27\n-    testpmd>stop\n-    testpmd>set burst 32\n-    testpmd>start tx_first 7\n-    testpmd>stop\n-    testpmd>set txpkts 2000,2000,2000,2000\n-    testpmd>start tx_first 1\n-    testpmd>stop\n-\n-5. Start vhost, then quit pdump and three testpmd, about split virtqueue inorder mergeable path, it use the non-indirect descriptors, the 8k length pkt will occupies 5 ring:2000,2000,2000,2000 will need 4 consequent ring,\n-still need one ring put header. So check 504 packets and 48128 bytes received by virtio-user1 and 502 packets with 64 length and 2 packets with 8K length in pdump-virtio-rx.pcap.\n-\n-6. Relaunch vhost with iova=pa by below command::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n-    --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3]' \\\n-    --iova=pa -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=256 --rxd=256 --no-flush-rx\n-    testpmd>vhost enable tx all\n-\n-7. Rerun step 2-5.\n-\n-Test Case 17: Split virtqueue vm2vm mergeable path test indirect descriptor with cbdma enable\n-=============================================================================================\n-\n-1. Launch testpmd by below command::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n-    --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3]' \\\n-    --iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=256 --rxd=256 --no-flush-rx\n-    testpmd>vhost enable tx all\n-\n-2. Launch virtio-user1 by below command::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n-    --no-pci --file-prefix=virtio1 \\\n-    --vdev=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=256 \\\n-    -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=256 --rxd=256\n-    testpmd>set fwd rxonly\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=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=./pdump-virtio-rx.pcap,mbuf-size=8000'\n-\n-4. Launch virtio-user0 and send packets(include 251 small packets and 32 8K packets)::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \\\n-    --no-pci --file-prefix=virtio \\\n-    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=2,server=1,packed_vq=0,mrg_rxbuf=1,in_order=0,queue_size=256 \\\n-    -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=256 --rxd=256\n-    testpmd>set burst 1\n-    testpmd>start tx_first 27\n-    testpmd>stop\n-    testpmd>set burst 32\n-    testpmd>start tx_first 7\n-    testpmd>stop\n-    testpmd>set txpkts 2000,2000,2000,2000\n-    testpmd>start tx_first 1\n-    testpmd>stop\n-\n-5. Start vhost, then quit pdump and three testpmd, about split virtqueue mergeable path, it use the indirect descriptors, the 8k length pkt will just occupies one ring.\n-So check 512 packets and 112128 bytes received by virtio-user1 and 502 packets with 64 length and 10 packets with 8K length in pdump-virtio-rx.pcap.\n-\n-6. Relaunch vhost with iova=pa by below command::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n-    --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3]' \\\n-    --iova=pa -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=256 --rxd=256 --no-flush-rx\n-    testpmd>vhost enable tx all\n-\n-7. Rerun step 2-5.\n-\n-Test Case 18: packed virtqueue vm2vm non-mergeable path multi-queues payload check with cbdma enabled\n-=====================================================================================================\n-\n-1. Launch vhost by below command::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n-    --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:80:04.0;txq1@0000:80:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:80:04.2;txq1@0000:80:04.3]' \\\n-    --iova=va -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx\n-    testpmd>vhost enable tx all\n-\n-2. Launch virtio-user1 by below command::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n-    --no-pci --file-prefix=virtio1 \\\n-    --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=2,server=1,packed_vq=1,mrg_rxbuf=0,in_order=0,queue_size=4096 \\\n-    -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\n-    testpmd>set fwd rxonly\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=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=./pdump-virtio-rx.pcap,mbuf-size=8000'\n-\n-4. Launch virtio-user0 and send packets::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \\\n-    --no-pci --file-prefix=virtio \\\n-    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=2,server=1,packed_vq=1,mrg_rxbuf=0,in_order=0,queue_size=4096 \\\n-    -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\n-    testpmd>set burst 32\n-    testpmd>set txpkts 64\n-    testpmd>start tx_first 7\n-    testpmd>stop\n-    testpmd>set burst 1\n-    testpmd>set txpkts 64,256,2000,64,256,2000\n-    testpmd>start tx_first 27\n-    testpmd>stop\n-\n-5. Start vhost testpmd, check virtio-user1 RX-packets is 448 and RX-bytes is 28672, 448 packets with 64 length in pdump-virtio-rx.pcap.\n-\n-6. Clear virtio-user1 port stats::\n-\n-    testpmd>stop\n-    testpmd>clear port stats all\n-    testpmd>start\n-\n-7. Quit and relaunch vhost with iova=pa by below command::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n-    --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:80:04.0;txq1@0000:80:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:80:04.2;txq1@0000:80:04.3]' \\\n-    --iova=pa -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx\n-    testpmd>vhost enable tx all\n-\n-8. Attach pdump secondary process to primary process by same file-prefix::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=./pdump-virtio-rx.pcap,mbuf-size=8000'\n-\n-9. Virtio-user0 send packets::\n-\n-    testpmd>set burst 32\n-    testpmd>set txpkts 64\n-    testpmd>start tx_first 7\n-    testpmd>stop\n-    testpmd>set burst 1\n-    testpmd>set txpkts 64,256,2000,64,256,2000\n-    testpmd>start tx_first 27\n-    testpmd>stop\n-\n-10. Rerun step 5.\n-\n-Test Case 19: packed virtqueue vm2vm mergeable path multi-queues payload check with cbdma enabled\n-=================================================================================================\n-\n-1. Launch vhost by below command::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n-    --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3]' \\\n-    --iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx\n-    testpmd>vhost enable tx all\n-\n-2. Launch virtio-user1 by below command::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n-    --no-pci --file-prefix=virtio1 \\\n-    --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=2,server=1,packed_vq=1,mrg_rxbuf=1,in_order=0,queue_size=4096 \\\n-    -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\n-    testpmd>set fwd rxonly\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=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=./pdump-virtio-rx.pcap,mbuf-size=8000'\n-\n-4. Launch virtio-user0 and send packets::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \\\n-    --no-pci --file-prefix=virtio \\\n-    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=2,server=1,packed_vq=1,mrg_rxbuf=1,in_order=0,queue_size=4096 \\\n-    -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\n-    testpmd>set burst 1\n-    testpmd>set txpkts 64,256,2000,64,256,2000\n-    testpmd>start tx_first 27\n-    testpmd>stop\n-    testpmd>set burst 32\n-    testpmd>set txpkts 64\n-    testpmd>start tx_first 7\n-    testpmd>stop\n-\n-5. Start vhost testpmd, then quit pdump, check 502 packets and 279232 bytes received by virtio-user1 and 54 packets with 4640 length and 448 packets with 64 length in pdump-virtio-rx.pcap.\n-\n-6. Clear virtio-user1 port stats::\n-\n-    testpmd>stop\n-    testpmd>clear port stats all\n-    testpmd>start\n-\n-7. Quit and relaunch vhost with iova=pa by below command::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n-    --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3]' \\\n-    --iova=pa -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx\n-    testpmd>vhost enable tx all\n-\n-8. Attach pdump secondary process to primary process by same file-prefix::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=./pdump-virtio-rx.pcap,mbuf-size=8000'\n-\n-9. Virtio-user0 send packets::\n-\n-    testpmd>set burst 1\n-    testpmd>set txpkts 64,256,2000,64,256,2000\n-    testpmd>start tx_first 27\n-    testpmd>stop\n-    testpmd>set burst 32\n-    testpmd>set txpkts 64\n-    testpmd>start tx_first 7\n-    testpmd>stop\n-\n-10. Rerun step 5.\n+9. Quit pdump,vhost received packets in pdump-vhost-rx.pcap,check headers and payload of all packets in\n+   pdump-virtio-rx.pcap and pdump-vhost-rx.pcap and ensure the content are same.\n \n-Test Case 20: packed virtqueue vm2vm inorder mergeable path multi-queues payload check with cbdma enabled\n-=========================================================================================================\n-\n-1. Launch vhost by below command::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n-    --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3]' \\\n-    --iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx\n-    testpmd>vhost enable tx all\n-\n-2. Launch virtio-user1 by below command::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n-    --no-pci --file-prefix=virtio1 \\\n-    --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=2,server=1,packed_vq=1,mrg_rxbuf=1,in_order=1,queue_size=4096 \\\n-    -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\n-    testpmd>set fwd rxonly\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=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=./pdump-virtio-rx.pcap,mbuf-size=8000'\n-\n-4. Launch virtio-user0 and send packets::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \\\n-    --no-pci --file-prefix=virtio \\\n-    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=2,server=1,packed_vq=1,mrg_rxbuf=1,in_order=1,queue_size=4096 \\\n-    -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\n-    testpmd>set burst 1\n-    testpmd>set txpkts 64,256,2000,64,256,2000\n-    testpmd>start tx_first 27\n-    testpmd>stop\n-    testpmd>set burst 32\n-    testpmd>set txpkts 64\n-    testpmd>start tx_first 7\n-    testpmd>stop\n-\n-5. Start vhost testpmd, then quit pdump, check 502 packets and 279232 bytes received by virtio-user1 and 54 packets with 4640 length and 448 packets with 64 length in pdump-virtio-rx.pcap.\n-\n-6. Clear virtio-user1 port stats::\n-\n-    testpmd>stop\n-    testpmd>clear port stats all\n-    testpmd>start\n-\n-7. Quit and relaunch vhost with iova=pa by below command::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n-    --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3]' \\\n-    --iova=pa -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx\n-    testpmd>vhost enable tx all\n-\n-8. Attach pdump secondary process to primary process by same file-prefix::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=./pdump-virtio-rx.pcap,mbuf-size=8000'\n-\n-9. Virtio-user0 send packets::\n-\n-    testpmd>set burst 1\n-    testpmd>set txpkts 64,256,2000,64,256,2000\n-    testpmd>start tx_first 27\n-    testpmd>stop\n-    testpmd>set burst 32\n-    testpmd>set txpkts 64\n-    testpmd>start tx_first 7\n-    testpmd>stop\n-\n-10. Rerun step 5.\n-\n-Test Case 21: packed virtqueue vm2vm inorder non-mergeable path multi-queues payload check with cbdma enabled\n-=============================================================================================================\n-\n-1. Launch vhost by below command::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n-    --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3]' \\\n-    --iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx\n-    testpmd>vhost enable tx all\n-\n-2. Launch virtio-user1 by below command::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\n-    --no-pci --file-prefix=virtio1 \\\n-    --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=2,server=1,packed_vq=1,mrg_rxbuf=0,in_order=1,queue_size=4096 \\\n-    -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\n-    testpmd>set fwd rxonly\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=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=./pdump-virtio-rx.pcap,mbuf-size=8000'\n-\n-4. Launch virtio-user0 and send 8k length packets::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \\\n-    --no-pci --file-prefix=virtio \\\n-    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=2,server=1,packed_vq=1,mrg_rxbuf=0,in_order=1,queue_size=4096 \\\n-    -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\n-\n-    testpmd>set burst 32\n-    testpmd>set txpkts 64\n-    testpmd>start tx_first 7\n-    testpmd>stop\n-    testpmd>set burst 1\n-    testpmd>set txpkts 64,256,2000,64,256,2000\n-    testpmd>start tx_first 27\n-    testpmd>stop\n-\n-5. Start vhost testpmd, then quit pdump, check 448 packets and 28672 bytes received by virtio-user1 and 448 packets with 64 length in pdump-virtio-rx.pcap.\n-\n-6. Clear virtio-user1 port stats::\n-\n-    testpmd>stop\n-    testpmd>clear port stats all\n-    testpmd>start\n-\n-7. Quit and relaunch vhost with iova=pa by below command::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n-    --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3]' \\\n-    --iova=pa -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx\n-    testpmd>vhost enable tx all\n-\n-8. Attach pdump secondary process to primary process by same file-prefix::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=./pdump-virtio-rx.pcap,mbuf-size=8000'\n-\n-9. Virtio-user0 send packets::\n-\n-    testpmd>set burst 32\n-    testpmd>set txpkts 64\n-    testpmd>start tx_first 7\n-    testpmd>stop\n-    testpmd>set burst 1\n-    testpmd>set txpkts 64,256,2000,64,256,2000\n-    testpmd>start tx_first 27\n-    testpmd>stop\n-\n-10. Rerun step 5.\n-\n-Test Case 22: packed virtqueue vm2vm vectorized path multi-queues payload check with cbdma enabled\n-===================================================================================================\n-\n-1. Launch vhost by below command::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n-    --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3]' \\\n-    --iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx\n-    testpmd>vhost enable tx all\n-\n-2. Launch virtio-user1 by below command::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 --no-pci --file-prefix=virtio1 --force-max-simd-bitwidth=512 \\\n-    --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=2,server=1,packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1,queue_size=4096 \\\n-    -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\n-    testpmd>set fwd rxonly\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=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=./pdump-virtio-rx.pcap,mbuf-size=8000'\n-\n-4. Launch virtio-user0 and send 8k length packets::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 --force-max-simd-bitwidth=512 --no-pci --file-prefix=virtio \\\n-    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=2,server=1,packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1,queue_size=4096 \\\n-    -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\n-    testpmd>set burst 32\n-    testpmd>set txpkts 64\n-    testpmd>start tx_first 7\n-    testpmd>stop\n-    testpmd>set burst 1\n-    testpmd>set txpkts 64,256,2000,64,256,2000\n-    testpmd>start tx_first 27\n-    testpmd>stop\n-\n-5. Start vhost testpmd, then quit pdump, check 448 packets and 28672 bytes received by virtio-user1 and 448 packets with 64 length in pdump-virtio-rx.pcap.\n-\n-6. Clear virtio-user1 port stats::\n-\n-    testpmd>stop\n-    testpmd>clear port stats all\n-    testpmd>start\n-\n-7. Quit and relaunch vhost with iova=pa by below command::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n-    --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3]' \\\n-    --iova=pa -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx\n-    testpmd>vhost enable tx all\n-\n-8. Attach pdump secondary process to primary process by same file-prefix::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=./pdump-virtio-rx.pcap,mbuf-size=8000'\n-\n-9. Virtio-user0 send packets::\n-\n-    testpmd>set burst 32\n-    testpmd>set txpkts 64\n-    testpmd>start tx_first 7\n-    testpmd>stop\n-    testpmd>set burst 1\n-    testpmd>set txpkts 64,256,2000,64,256,2000\n-    testpmd>start tx_first 27\n-    testpmd>stop\n-\n-10. Rerun step 5.\n-\n-Test Case 23: packed virtqueue vm2vm vectorized path multi-queues payload check with ring size is not power of 2 and cbdma enabled\n-==================================================================================================================================\n-\n-1. Launch vhost by below command::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n-    --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3]' \\\n-    --iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx\n-    testpmd>vhost enable tx all\n-\n-2. Launch virtio-user1 by below command::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 --force-max-simd-bitwidth=512  --no-pci --file-prefix=virtio1 \\\n-    --vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=2,server=1,packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1,queue_size=4097 \\\n-    -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4097 --rxd=4097\n-    testpmd>set fwd rxonly\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=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=./pdump-virtio-rx.pcap,mbuf-size=8000'\n-\n-4. Launch virtio-user0 and send 8k length packets::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 --force-max-simd-bitwidth=512 --no-pci --file-prefix=virtio \\\n-    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=2,server=1,packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1,queue_size=4097 \\\n-    -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4097 --rxd=4097\n-    testpmd>set burst 32\n-    testpmd>set txpkts 64\n-    testpmd>start tx_first 7\n-    testpmd>stop\n-    testpmd>set burst 1\n-    testpmd>set txpkts 64,256,2000,64,256,2000\n-    testpmd>start tx_first 27\n-    testpmd>stop\n-\n-5. Start vhost testpmd, then quit pdump, check 448 packets and 28672 bytes received by virtio-user1 and 448 packets with 64 length in pdump-virtio-rx.pcap.\n-\n-6. Clear virtio-user1 port stats::\n-\n-    testpmd>stop\n-    testpmd>clear port stats all\n-    testpmd>start\n-\n-7. Quit and relaunch vhost with iova=pa by below command::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\n-    --vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1]' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:00:04.2;txq1@0000:00:04.3]' \\\n-    --iova=pa -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx\n-    testpmd>vhost enable tx all\n-\n-8. Attach pdump secondary process to primary process by same file-prefix::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=./pdump-virtio-rx.pcap,mbuf-size=8000'\n-\n-9. Virtio-user0 send packets::\n-\n-    testpmd>set burst 32\n-    testpmd>set txpkts 64\n-    testpmd>start tx_first 7\n-    testpmd>stop\n-    testpmd>set burst 1\n-    testpmd>set txpkts 64,256,2000,64,256,2000\n-    testpmd>start tx_first 27\n-    testpmd>stop\n-\n-10. Rerun step 5.\n-\n-Test Case 24: packed virtqueue vm2vm vectorized-tx path multi-queues test indirect descriptor\n-=============================================================================================\n+Test Case 12: packed virtqueue vm2vm vectorized-tx path multi-queues test indirect descriptor\n+---------------------------------------------------------------------------------------------\n+This case uses test of 2 virtio-user with packed ring vectorized-tx path and vhost with testpmd to forward packets,\n+and uses pdump to capture virtio-user side receive packets.\n \n 1. Launch vhost by below command::\n \n@@ -1611,13 +865,11 @@ Test Case 24: packed virtqueue vm2vm vectorized-tx path multi-queues test indire\n     testpmd>set fwd rxonly\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=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=*,rx-dev=./pdump-virtio-rx.pcap,mbuf-size=8000'\n+3. Start pdump to capture virtio-user1 packets, as common step 1.\n \n 4. Launch virtio-user0 and send 8k length packets::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 --force-max-simd-bitwidth=512 --no-pci --file-prefix=virtio \\\n+    <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 --force-max-simd-bitwidth=512 --no-pci --file-prefix=virtio \\\n     --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=1,packed_vq=1,mrg_rxbuf=1,in_order=1,vectorized=1,queue_size=256 \\\n     -- -i --nb-cores=1 --txd=256 --rxd=256\n \n@@ -1631,5 +883,6 @@ Test Case 24: packed virtqueue vm2vm vectorized-tx path multi-queues test indire\n     testpmd>start tx_first 1\n     testpmd>stop\n \n-5. Start vhost, then quit pdump and three testpmd, about packed virtqueue vectorized-tx path, it use the indirect descriptors, the 8k length pkt will just occupies one ring.\n-So check 256 packets and 56064 bytes received by virtio-user1 and 251 packets with 64 length and 5 packets with 8K length in pdump-virtio-rx.pcap.\n+5. Start vhost, then quit pdump and three testpmd, about packed virtqueue vectorized-tx path, it use the indirect descriptors,\n+    the 8k length pkt will just occupies one ring. So check 256 packets and 56064 bytes received by virtio-user1 and 251 packets\n+    with 64 length and 5 packets with 8K length in pdump-virtio-rx.pcap.\n",
    "prefixes": [
        "V1",
        "2/5"
    ]
}