get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 110836,
    "url": "http://patches.dpdk.org/api/patches/110836/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20220507095952.311180-1-weix.ling@intel.com/",
    "project": {
        "id": 3,
        "url": "http://patches.dpdk.org/api/projects/3/?format=api",
        "name": "DTS",
        "link_name": "dts",
        "list_id": "dts.dpdk.org",
        "list_email": "dts@dpdk.org",
        "web_url": "",
        "scm_url": "git://dpdk.org/tools/dts",
        "webscm_url": "http://git.dpdk.org/tools/dts/",
        "list_archive_url": "https://inbox.dpdk.org/dts",
        "list_archive_url_format": "https://inbox.dpdk.org/dts/{}",
        "commit_url_format": ""
    },
    "msgid": "<20220507095952.311180-1-weix.ling@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20220507095952.311180-1-weix.ling@intel.com",
    "date": "2022-05-07T09:59:52",
    "name": "[V1,6/7] test_plans/vm2vm_virtio_user_dsa_test_plan: add vm2vm_virtio_user_dsa testplan",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "df3a8c8ed687eced3ce1a3baaa8145ebae1f1f56",
    "submitter": {
        "id": 1828,
        "url": "http://patches.dpdk.org/api/people/1828/?format=api",
        "name": "Ling, WeiX",
        "email": "weix.ling@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20220507095952.311180-1-weix.ling@intel.com/mbox/",
    "series": [
        {
            "id": 22832,
            "url": "http://patches.dpdk.org/api/series/22832/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=22832",
            "date": "2022-05-07T09:58:32",
            "name": "add 6 das related testplan",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/22832/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/110836/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/110836/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 2206DA050A;\n\tSat,  7 May 2022 12:00:23 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 1B7B540DDB;\n\tSat,  7 May 2022 12:00:23 +0200 (CEST)",
            "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n by mails.dpdk.org (Postfix) with ESMTP id 0F8FD40395\n for <dts@dpdk.org>; Sat,  7 May 2022 12:00:19 +0200 (CEST)",
            "from orsmga005.jf.intel.com ([10.7.209.41])\n by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 07 May 2022 03:00:18 -0700",
            "from unknown (HELO localhost.localdomain) ([10.239.251.222])\n by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 07 May 2022 03:00:16 -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=1651917620; x=1683453620;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=5nEefbdesz7iDQ+jrucszaEbD5qAvK9KcZsliwbc6vM=;\n b=L1Y9Rf+/OSCams2vqsSiuMvTdLMDLK6pZvG7dk0o0snw+YJYtgsmnkXf\n yNdrgKaZ2USY1nnFnupqCkKXmwHRnNu4jsGhXSTm8TGgP96ViP5Wntyg0\n LsE9vA3oEBm8VudvUTm6tw96MT8t+jixdr4iFzXlms0wRMQ/L7L12vdZF\n t8PFLYrcsUfzbUUIb9QddSU2KMSAdGjWTy5C1LNtrXD+8c6sgfSAIsp7Y\n SGlIqBN8y3l4ocluTlIWd1hJiusBDFahA9yNleoqMe0zZYjEWTbT5xKkw\n AIhw6ZfFTTPmEsjcSS2AFI1tFr7GZ91CAINIkFvgC7gYS90nSpKCHQ7Gd w==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6400,9594,10339\"; a=\"355120998\"",
            "E=Sophos;i=\"5.91,206,1647327600\"; d=\"scan'208\";a=\"355120998\"",
            "E=Sophos;i=\"5.91,206,1647327600\"; d=\"scan'208\";a=\"736138888\""
        ],
        "From": "Wei Ling <weix.ling@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Wei Ling <weix.ling@intel.com>",
        "Subject": "[dts][PATCH V1 6/7] test_plans/vm2vm_virtio_user_dsa_test_plan: add\n vm2vm_virtio_user_dsa testplan",
        "Date": "Sat,  7 May 2022 05:59:52 -0400",
        "Message-Id": "<20220507095952.311180-1-weix.ling@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=y",
        "Content-Transfer-Encoding": "quoted-printable",
        "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": "Add vm2vm_virtio_user_dsa_test_plan.rst into test_plans.\n\nSigned-off-by: Wei Ling <weix.ling@intel.com>\n---\n .../vm2vm_virtio_user_dsa_test_plan.rst       | 1536 +++++++++++++++++\n 1 file changed, 1536 insertions(+)\n create mode 100644 test_plans/vm2vm_virtio_user_dsa_test_plan.rst",
    "diff": "diff --git a/test_plans/vm2vm_virtio_user_dsa_test_plan.rst b/test_plans/vm2vm_virtio_user_dsa_test_plan.rst\nnew file mode 100644\nindex 00000000..99ae37a2\n--- /dev/null\n+++ b/test_plans/vm2vm_virtio_user_dsa_test_plan.rst\n@@ -0,0 +1,1536 @@\n+.. Copyright (c) <2022>, Intel Corporation\r\n+   All rights reserved.\r\n+\r\n+   Redistribution and use in source and binary forms, with or without\r\n+   modification, are permitted provided that the following conditions\r\n+   are met:\r\n+\r\n+   - Redistributions of source code must retain the above copyright\r\n+     notice, this list of conditions and the following disclaimer.\r\n+\r\n+   - Redistributions in binary form must reproduce the above copyright\r\n+     notice, this list of conditions and the following disclaimer in\r\n+     the documentation and/or other materials provided with the\r\n+     distribution.\r\n+\r\n+   - Neither the name of Intel Corporation nor the names of its\r\n+     contributors may be used to endorse or promote products derived\r\n+     from this software without specific prior written permission.\r\n+\r\n+   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\r\n+   \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\r\n+   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\r\n+   FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\r\n+   COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\r\n+   INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\r\n+   (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\r\n+   SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\r\n+   HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\r\n+   STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\r\n+   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\r\n+   OF THE POSSIBILITY OF SUCH DAMAGE.\r\n+\r\n+======================================================\r\n+VM2VM vhost-user/virtio-user with DSA driver test plan\r\n+======================================================\r\n+\r\n+Description\r\n+===========\r\n+Vhost asynchronous data path leverages DMA devices to offload memory copies from the CPU and it is implemented in an asynchronous way.\r\n+In addition, vhost supports M:N mapping between vrings and DMA virtual channels. Specifically, one vring can use multiple different DMA\r\n+channels and one DMA channel can be shared by multiple vrings at the same time.Vhost enqueue operation with CBDMA channels is supported\r\n+in both split and packed ring.\r\n+\r\n+This document provides the test plan for testing the following features when Vhost-user using asynchronous data path with\r\n+DSA driver (kernel IDXD driver and DPDK vfio-pci driver) in VM2VM virtio-user topology.\r\n+1. Split virtqueue vm2vm in-order mergeable, in-order non-mergeable, mergeable, non-mergeable, vector_rx path test and payload check.\r\n+2. Packed virtqueue vm2vm in-order mergeable, in-order non-mergeable, mergeable, non-mergeable, vectorized path (ringsize not powerof 2) test and payload check.\r\n+3. 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.\r\n+the split ring mergeable path use indirect descriptor, the 2000,2000,2000,2000 chain packets will only occupy one ring.\r\n+\r\n+IOMMU impact:\r\n+If iommu off, idxd can work with iova=pa\r\n+If iommu on, kernel dsa driver only can work with iova=va by program IOMMU, can't use iova=pa(fwd not work due to pkts payload wrong).\r\n+\r\n+Note:\r\n+1.When DMA devices are bound to vfio driver, VA mode is the default and recommended. For PA mode, page by page mapping may\r\n+exceed IOMMU's max capability, better to use 1G guest hugepage.\r\n+2.DPDK local patch that about vhost pmd is needed when testing Vhost asynchronous data path with testpmd, and the suite has not yet been automated.\r\n+\r\n+Prerequisites\r\n+=============\r\n+\r\n+Topology\r\n+--------\r\n+\tTest flow: Virtio-user -> Vhost-user -> Testpmd -> Vhost-user -> Virtio-user\r\n+\r\n+General set up\r\n+--------------\r\n+1. Compile DPDK::\r\n+\r\n+\t# CC=gcc meson --werror -Denable_kmods=True -Dlibdir=lib -Dexamples=all --default-library=<dpdk build dir>\r\n+\t# ninja -C <dpdk build dir> -j 110\r\n+\tFor example,\r\n+\tCC=gcc meson --werror -Denable_kmods=True -Dlibdir=lib -Dexamples=all --default-library=x86_64-native-linuxapp-gcc\r\n+\tninja -C x86_64-native-linuxapp-gcc -j 110\r\n+\r\n+2. Get the PCI device ID and DSA device ID of DUT, for example, 0000:4f:00.1 is PCI device ID, 0000:6a:01.0 - 0000:f6:01.0 are DSA device IDs::\r\n+\r\n+\t<dpdk dir># ./usertools/dpdk-devbind.py -s\r\n+\r\n+\tNetwork devices using kernel driver\r\n+\t===================================\r\n+\t0000:4f:00.1 'Ethernet Controller E810-C for QSFP 1592' drv=ice unused=vfio-pci\r\n+\r\n+\tDMA devices using kernel driver\r\n+\t===============================\r\n+\t0000:6a:01.0 'Device 0b25' drv=idxd unused=vfio-pci\r\n+\t0000:6f:01.0 'Device 0b25' drv=idxd unused=vfio-pci\r\n+\t0000:74:01.0 'Device 0b25' drv=idxd unused=vfio-pci\r\n+\t0000:79:01.0 'Device 0b25' drv=idxd unused=vfio-pci\r\n+\t0000:e7:01.0 'Device 0b25' drv=idxd unused=vfio-pci\r\n+\t0000:ec:01.0 'Device 0b25' drv=idxd unused=vfio-pci\r\n+\t0000:f1:01.0 'Device 0b25' drv=idxd unused=vfio-pci\r\n+\t0000:f6:01.0 'Device 0b25' drv=idxd unused=vfio-pci\r\n+\r\n+Test case\r\n+=========\r\n+\r\n+Common steps\r\n+------------\r\n+1. Bind DSA devices to DPDK vfio-pci driver::\r\n+\r\n+\t<dpdk dir># ./usertools/dpdk-devbind.py -b vfio-pci <DUT port DSA device id>\r\n+\r\n+\tFor example, bind 2 DMA devices to vfio-pci driver:\r\n+\t<dpdk dir># ./usertools/dpdk-devbind.py -b vfio-pci 0000:e7:01.0 0000:ec:01.0\r\n+\r\n+.. note::\r\n+\r\n+\tOne DPDK DSA device can create 8 WQ at most. Below is an example, where DPDK DSA device will create one and\r\n+\teight WQ for DSA deivce 0000:e7:01.0 and 0000:ec:01.0. The value of “max_queues” is 1~8:\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 4 -n 4 -a 0000:e7:01.0,max_queues=1 -- -i\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 4 -n 4 -a 0000:ec:01.0,max_queues=8 -- -i\r\n+\r\n+2. Bind DSA devices to kernel idxd driver, and configure Work Queue (WQ)::\r\n+\r\n+\t<dpdk dir># ./usertools/dpdk-devbind.py -b idxd <numDevices * 2>\r\n+\t<dpdk dir># ./<dpdk build dir>drivers/dma/idxd/dpdk_idxd_cfg.py -q <numWq>\r\n+\r\n+.. note::\r\n+\r\n+\tBetter to reset WQ when need operate DSA devices that bound to idxd drvier:\r\n+\t<dpdk dir># ./drivers/dma/idxd/dpdk_idxd_cfg.py --reset <numDevices * 2>\r\n+\tYou can check it by 'ls /dev/dsa'\r\n+\tnumDevices: number of devices, where 0<=numDevices<=7, corresponding to 0000:6a:01.0 - 0000:f6:01.0\r\n+\tnumWq: Number of workqueues per DSA endpoint, where 1<=numWq<=8\r\n+\r\n+\tFor example, bind 2 DMA devices to idxd driver and configure WQ:\r\n+\r\n+\t<dpdk dir># ./usertools/dpdk-devbind.py -b idxd 6a:01.0 6f:01.0\r\n+\t<dpdk dir># ./<dpdk build dir>drivers/dma/idxd/dpdk_idxd_cfg.py -q 1 0\r\n+\t<dpdk dir># ./<dpdk build dir>drivers/dma/idxd/dpdk_idxd_cfg.py -q 4 2\r\n+\tCheck WQ by 'ls /dev/dsa' and can find \"wq0.0 wq2.0 wq2.1 wq2.2 wq2.3\"\r\n+\r\n+Test Case 1: VM2VM vhost-user/virtio-user split ring non-mergeable path and multi-queues payload check with dsa dpdk driver\r\n+----------------------------------------------------------------------------------------------------------------------------\r\n+This case uses testpmd to test the payload is valid after packets forwarding in vhost-user/virtio-user split ring non-mergeable path \r\n+and multi-queues when vhost uses the asynchronous enqueue operations with dsa dpdk driver. Both iova as VA and PA mode test.\r\n+\r\n+1. bind 2 dsa device to vfio-pci like common step 1::\r\n+\r\n+\t<dpdk dir># ./usertools/dpdk-devbind.py -b vfio-pci e7:01.0 ec:01.0\r\n+\r\n+2. Launch vhost by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 -a 0000:e7:01.0,max_queues=2 -a 0000:ec:01.0,max_queues=2 \\\r\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx --lcore-dma=[lcore2@0000:e7:01.0-q0,lcore2@0000:e7:01.0-q1]\r\n+\r\n+3. Launch virtio-user1 by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 --no-pci --file-prefix=virtio1 \\\r\n+\t--vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=2,server=1,mrg_rxbuf=0,in_order=0,queue_size=4096 \\\r\n+\t-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\r\n+\ttestpmd>set fwd rxonly\r\n+\ttestpmd>start\r\n+\r\n+4. Attach pdump secondary process to primary process of virtio-user1 by same file-prefix::\r\n+\r\n+\t <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=0,rx-dev=/tmp/pdump-virtio-rx.pcap,mbuf-size=8000'\r\n+\r\n+5. Launch virtio-user0 and send packets::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 --no-pci --file-prefix=virtio \\\r\n+\t--vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net0,queues=2,server=1,packed_vq=0,mrg_rxbuf=0,in_order=0,queue_size=4096 \\\r\n+\t-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\r\n+\ttestpmd>set burst 1\r\n+\ttestpmd>set txpkts 64,128,256,512\r\n+\ttestpmd>start tx_first 27\r\n+\ttestpmd>stop\r\n+\ttestpmd>set burst 32\r\n+\ttestpmd>start tx_first 7\r\n+\ttestpmd>stop\r\n+\ttestpmd>set txpkts 64\r\n+\ttestpmd>start tx_first 1\r\n+\ttestpmd>stop\r\n+\r\n+6. Start vhost testpmd, quit pdump and check virtio-user1 RX-packets is 566 and RX-bytes is 486016 and 502 packets with 960 length and 64 packets with 64 length in pdump-virtio-rx.pcap.\r\n+\r\n+7. Clear virtio-user1 port stats::\r\n+\r\n+\ttestpmd>stop\r\n+\ttestpmd>clear port stats all\r\n+\ttestpmd>start\r\n+\r\n+8. Relaunch vhost with pa mode by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 -a 0000:e7:01.0,max_queues=4 -a 0000:ec:01.0,max_queues=4 \\\r\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--iova=pa -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx --lcore-dma=[lcore2@0000:e7:01.0-q3,lcore2@0000:ec:01.0-q3]\r\n+\r\n+9. Rerun step 4.\r\n+\r\n+10. Virtio-user0 and send packets again::\r\n+\r\n+\ttestpmd>set burst 1\r\n+\ttestpmd>set txpkts 64,128,256,512\r\n+\ttestpmd>start tx_first 27\r\n+\ttestpmd>set burst 32\r\n+\ttestpmd>start tx_first 7\r\n+\ttestpmd>stop\r\n+\ttestpmd>set txpkts 64\r\n+\ttestpmd>start tx_first 1\r\n+\ttestpmd>stop\r\n+\r\n+11. Rerun step 6.\r\n+\r\n+Test Case 2: VM2VM vhost-user/virtio-user split ring inorder non-mergeable path and multi-queues payload check with dsa dpdk driver\r\n+-------------------------------------------------------------------------------------------------------------------------------------\r\n+This case uses testpmd to test the payload is valid after packets forwarding in vhost-user/virtio-user split ring inorder\r\n+non-mergeable path and multi-queues when vhost uses the asynchronous enqueue operations with dsa dpdk driver. Both iova as VA and PA mode test.\r\n+\r\n+1. bind 3 dsa device to vfio-pci like common step 1::\r\n+\r\n+\t<dpdk dir># ./usertools/dpdk-devbind.py -b vfio-pci e7:01.0 ec:01.0 f1:01.0\r\n+\r\n+2. Launch vhost by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 -a 0000:e7:01.0,max_queues=2 -a 0000:ec:01.0,max_queues=2 -a 0000:f1:01.0,max_queues=2 \\\r\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx --lcore-dma=[lcore2@0000:e7:01.0-q0,lcore2@0000:ec:01.0-q0,lcore2@0000:f1:01.0-q0]\r\n+\r\n+3. Launch virtio-user1 by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 --no-pci --file-prefix=virtio1 \\\r\n+\t--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 \\\r\n+\t-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\r\n+\ttestpmd>set fwd rxonly\r\n+\ttestpmd>start\r\n+\r\n+4. Attach pdump secondary process to primary process of virtio-user1 by same file-prefix::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=0,rx-dev=/tmp/pdump-virtio-rx.pcap,mbuf-size=8000'\r\n+\r\n+5. Launch virtio-user0 and send packets::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 --no-pci --file-prefix=virtio \\\r\n+\t--vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net0,queues=2,server=1,packed_vq=0,mrg_rxbuf=0,in_order=1,queue_size=4096 \\\r\n+\t-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\r\n+\ttestpmd>set burst 1\r\n+\ttestpmd>set txpkts 64,128,256,512\r\n+\ttestpmd>start tx_first 27\r\n+\ttestpmd>stop\r\n+\ttestpmd>set burst 32\r\n+\ttestpmd>start tx_first 7\r\n+\ttestpmd>stop\r\n+\ttestpmd>set txpkts 64\r\n+\ttestpmd>start tx_first 1\r\n+\ttestpmd>stop\r\n+\r\n+6. Start vhost testpmd, quit pdump and check virtio-user1 RX-packets is 566 and RX-bytes is 486016 and 502 packets with 960 length and 64 packets with 64 length in pdump-virtio-rx.pcap.\r\n+\r\n+7. Clear virtio-user1 port stats::\r\n+\r\n+\ttestpmd>stop\r\n+\ttestpmd>clear port stats all\r\n+\ttestpmd>start\r\n+\r\n+8. Relaunch vhost with pa mode by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 -a 0000:e7:01.0 -a 0000:ec:01.0,max_queues=4 -a 0000:f1:01.0,max_queues=4 -a 0000:f6:01.0,max_queues=4 \\\r\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--iova=pa -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx --lcore-dma=[lcore2@0000:e7:01.0-q2,lcore2@0000:ec:01.0-q2,lcore2@0000:f1:01.0-q2]\r\n+\r\n+9. Rerun step 4.\r\n+\r\n+10. Virtio-user0 send packets::\r\n+\r\n+\ttestpmd>set burst 1\r\n+\ttestpmd>set txpkts 64,128,256,512\r\n+\ttestpmd>start tx_first 27\r\n+\ttestpmd>stop\r\n+\ttestpmd>set burst 32\r\n+\ttestpmd>start tx_first 7\r\n+\ttestpmd>stop\r\n+\ttestpmd>set txpkts 64\r\n+\ttestpmd>start tx_first 1\r\n+\ttestpmd>stop\r\n+\r\n+11. Rerun step 6.\r\n+\r\n+Test Case 3: VM2VM vhost-user/virtio-user split ring inorder mergeable path and multi-queues non-indirect descriptor with dsa dpdk driver\r\n+------------------------------------------------------------------------------------------------------------------------------------------\r\n+This case uses testpmd to test the payload is valid and non-indirect descriptor after packets forwarding in vhost-user/virtio-user\r\n+split ring inorder mergeable path and multi-queues when vhost uses the asynchronous enqueue operations with dsa dpdk driver. Both iova as VA and PA mode test.\r\n+\r\n+1. bind 4 dsa device to vfio-pci like common step 1::\r\n+\r\n+\t<dpdk dir># ./usertools/dpdk-devbind.py -b vfio-pci e7:01.0 ec:01.0 f1:01.0 f6:01.0\r\n+\r\n+2. Launch vhost by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 -a 0000:e7:01.0,max_queues=1 -a 0000:ec:01.0,max_queues=2 -a 0000:f1:01.0,max_queues=3 -a 0000:f6:01.0,max_queues=4 \\\r\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=256 --rxd=256 --no-flush-rx --lcore-dma=[lcore2@0000:e7:01.0-q0,lcore2@0000:ec:01.0-q1,lcore2@0000:f1:01.0-q2,lcore2@0000:f6:01.0-q3]\r\n+\r\n+3. Launch virtio-user1 by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 --no-pci --file-prefix=virtio1 \\\r\n+\t--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 \\\r\n+\t-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=256 --rxd=256\r\n+\ttestpmd>set fwd rxonly\r\n+\ttestpmd>start\r\n+\r\n+4. Attach pdump secondary process to primary process of virtio-user1 by same file-prefix::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=0,rx-dev=/tmp/pdump-virtio-rx.pcap,mbuf-size=8000'\r\n+\r\n+5. Launch virtio-user0 and send packets::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 --no-pci --file-prefix=virtio \\\r\n+\t--vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net0,queues=2,server=1,packed_vq=0,mrg_rxbuf=1,in_order=1,queue_size=256 \\\r\n+\t-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=256 --rxd=256\r\n+\ttestpmd>set burst 1\r\n+\ttestpmd>start tx_first 27\r\n+\ttestpmd>stop\r\n+\ttestpmd>set burst 32\r\n+\ttestpmd>start tx_first 7\r\n+\ttestpmd>stop\r\n+\ttestpmd>set txpkts 2000,2000,2000,2000\r\n+\ttestpmd>start tx_first 1\r\n+\ttestpmd>stop\r\n+\r\n+6. 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,\r\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.\r\n+\r\n+7. Relaunch vhost with pa mode by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 -a 0000:e7:01.0,max_queues=1 -a 0000:ec:01.0,max_queues=2 -a 0000:f1:01.0,max_queues=3 -a 0000:f6:01.0,max_queues=4 \\\r\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--iova=pa -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=256 --rxd=256 --no-flush-rx --lcore-dma=[lcore2@0000:e7:01.0-q0,lcore2@0000:ec:01.0-q1,lcore2@0000:f1:01.0-q2,lcore2@0000:f6:01.0-q3]\r\n+\r\n+8. Rerun step 3-6.\r\n+\r\n+Test Case 4: VM2VM vhost-user/virtio-user split ring mergeable path and multi-queues indirect descriptor with dsa dpdk driver\r\n+-------------------------------------------------------------------------------------------------------------------------------\r\n+This case uses testpmd to test the payload is valid and indirect descriptor after packets forwarding in vhost-user/virtio-user\r\n+split ring mergeable path and multi-queues when vhost uses the asynchronous enqueue operations with dsa dpdk driver. Both iova as VA and PA mode test.\r\n+\r\n+1. bind 4 dsa device to vfio-pci like common step 1::\r\n+\r\n+\t<dpdk dir># ./usertools/dpdk-devbind.py -b vfio-pci e7:01.0 ec:01.0 f1:01.0 f6:01.0\r\n+\r\n+2. Launch vhost by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 -a 0000:e7:01.0,max_queues=1 -a 0000:ec:01.0,max_queues=2 -a 0000:f1:01.0,max_queues=3 -a 0000:f6:01.0,max_queues=4 \\\r\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=256 --rxd=256 --no-flush-rx --lcore-dma=[lcore2@0000:e7:01.0-q0,lcore2@0000:ec:01.0-q1,lcore2@0000:f1:01.0-q2,lcore2@0000:f6:01.0-q3]\r\n+\r\n+3. Launch virtio-user1 by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 --no-pci --file-prefix=virtio1 \\\r\n+\t--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 \\\r\n+\t-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=256 --rxd=256\r\n+\ttestpmd>set fwd rxonly\r\n+\ttestpmd>start\r\n+\r\n+4. Attach pdump secondary process to primary process of virtio-user1 by same file-prefix::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=0,rx-dev=/tmp/pdump-virtio-rx.pcap,mbuf-size=8000'\r\n+\r\n+5. Launch virtio-user0 and send packets::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 --no-pci --file-prefix=virtio \\\r\n+\t--vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net0,queues=2,server=1,packed_vq=0,mrg_rxbuf=1,in_order=0,queue_size=256 \\\r\n+\t-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=256 --rxd=256\r\n+\ttestpmd>set burst 1\r\n+\ttestpmd>start tx_first 27\r\n+\ttestpmd>stop\r\n+\ttestpmd>set burst 32\r\n+\ttestpmd>start tx_first 7\r\n+\ttestpmd>stop\r\n+\ttestpmd>set txpkts 2000,2000,2000,2000\r\n+\ttestpmd>start tx_first 1\r\n+\ttestpmd>stop\r\n+\r\n+6. Start vhost, then quit pdump and three testpmd, about split virtqueue inorder mergeable path, it use the indirect descriptors, the 8k length pkt will just occupies one ring.\r\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.\r\n+\r\n+7. Relaunch vhost with pa mode by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 -a 0000:e7:01.0,max_queues=1 -a 0000:ec:01.0,max_queues=2 -a 0000:f1:01.0,max_queues=3 -a 0000:f6:01.0,max_queues=4 \\\r\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--iova=pa -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=256 --rxd=256 --no-flush-rx --lcore-dma=[lcore2@0000:e7:01.0-q0,lcore2@0000:ec:01.0-q1,lcore2@0000:f1:01.0-q2,lcore2@0000:f6:01.0-q3]\r\n+\r\n+8. Rerun step 3-6.\r\n+\r\n+Test Case 5: VM2VM vhost-user/virtio-user packed ring non-mergeable path and multi-queues payload check with dsa dpdk driver\r\n+--------------------------------------------------------------------------------------------------------------------------------\r\n+This case uses testpmd to test the payload is valid after packets forwarding in vhost-user/virtio-user packed ring \r\n+non-mergeable path and multi-queues when vhost uses the asynchronous enqueue operations with dsa dpdk driver. Both iova as VA and PA mode test.\r\n+\r\n+1. bind 3 dsa device to vfio-pci like common step 1::\r\n+\r\n+\t<dpdk dir># ./usertools/dpdk-devbind.py -b vfio-pci e7:01.0 ec:01.0 f1:01.0\r\n+\r\n+2. Launch vhost by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 -a 0000:e7:01.0 -a 0000:ec:01.0 -a 0000:f1:01.0 \\\r\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx --lcore-dma=[lcore2@0000:e7:01.0-q0,lcore2@0000:ec:01.0-q1,lcore2@0000:f1:01.0-q2]\r\n+\r\n+3. Launch virtio-user1 by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\r\n+\t--no-pci --file-prefix=virtio1 \\\r\n+\t--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 \\\r\n+\t-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\r\n+\ttestpmd>set fwd rxonly\r\n+\ttestpmd>start\r\n+\r\n+4. Attach pdump secondary process to primary process of virtio-user1 by same file-prefix::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=0,rx-dev=/tmp/pdump-virtio-rx.pcap,mbuf-size=8000'\r\n+\r\n+5. Launch virtio-user0 and send packets::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 --no-pci --file-prefix=virtio \\\r\n+\t--vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net0,queues=2,server=1,packed_vq=1,mrg_rxbuf=0,in_order=0,queue_size=4096 \\\r\n+\t-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\r\n+\ttestpmd>set burst 1\r\n+\ttestpmd>set txpkts 64,128,256,512\r\n+\ttestpmd>start tx_first 27\r\n+\ttestpmd>stop\r\n+\ttestpmd>set burst 32\r\n+\ttestpmd>start tx_first 7\r\n+\ttestpmd>stop\r\n+\ttestpmd>set txpkts 64\r\n+\ttestpmd>start tx_first 1\r\n+\ttestpmd>stop\r\n+\r\n+6. Start vhost testpmd,  quit pdump and check virtio-user1 RX-packets is 566 and RX-bytes is 486016 and 502 packets with 960 length and 64 packets with 64 length in pdump-virtio-rx.pcap.\r\n+\r\n+7. Clear virtio-user1 port stats::\r\n+\r\n+\ttestpmd>stop\r\n+\ttestpmd>clear port stats all\r\n+\ttestpmd>start\r\n+\r\n+8. Relaunch vhost with iova=pa by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 -a 0000:e7:01.0 -a 0000:ec:01.0 -a 0000:f1:01.0 \\\r\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--iova=pa -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx --lcore-dma=[lcore2@0000:e7:01.0-q4,lcore2@0000:ec:01.0-q5,lcore2@0000:f1:01.0-q6]\r\n+\r\n+9. Rerun step 4.\r\n+\r\n+10. Virtio-user0 send packets::\r\n+\r\n+\ttestpmd>set burst 1\r\n+\ttestpmd>set txpkts 64,128,256,512\r\n+\ttestpmd>start tx_first 27\r\n+\ttestpmd>stop\r\n+\ttestpmd>set burst 32\r\n+\ttestpmd>start tx_first 7\r\n+\ttestpmd>stop\r\n+\ttestpmd>set txpkts 64\r\n+\ttestpmd>start tx_first 1\r\n+\ttestpmd>stop\r\n+\r\n+11. Rerun step 6.\r\n+\r\n+Test Case 6: VM2VM vhost-user/virtio-user packed ring inorder non-mergeable path and multi-queues payload check with dsa dpdk driver\r\n+-------------------------------------------------------------------------------------------------------------------------------------\r\n+This case uses testpmd to test the payload is valid after packets forwarding in vhost-user/virtio-user packed ring inorder\r\n+non-mergeable path and multi-queues when vhost uses the asynchronous enqueue operations with dsa dpdk driver. Both iova as VA and PA mode test.\r\n+\r\n+1. bind 4 dsa device to vfio-pci like common step 1::\r\n+\r\n+\t<dpdk dir># ./usertools/dpdk-devbind.py -b vfio-pci e7:01.0 f1:01.0 f6:01.0\r\n+\r\n+2. Launch vhost by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 -a 0000:e7:01.0,max_queues=2 -a 0000:ec:01.0,max_queues=2 -a 0000:f1:01.0,max_queues=2 -a 0000:f6:01.0,max_queues=2 \\\r\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx --lcore-dma=[lcore2@0000:e7:01.0-q0,lcore2@0000:ec:01.0-q0,lcore2@0000:f1:01.0-q1,lcore2@0000:f6:01.0-q1]\r\n+\r\n+3. Launch virtio-user1 by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 --no-pci --file-prefix=virtio1 \\\r\n+\t--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 \\\r\n+\t-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\r\n+\ttestpmd>set fwd rxonly\r\n+\ttestpmd>start\r\n+\r\n+4. Attach pdump secondary process to primary process of virtio-user1 by same file-prefix::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=0,rx-dev=/tmp/pdump-virtio-rx.pcap,mbuf-size=8000'\r\n+\r\n+5. Launch virtio-user0 and send packets::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 --no-pci --file-prefix=virtio \\\r\n+\t--vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net0,queues=2,server=1,packed_vq=1,mrg_rxbuf=0,in_order=1,queue_size=4096 \\\r\n+\t-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\r\n+\ttestpmd>set burst 1\r\n+\ttestpmd>set txpkts 64,128,256,512\r\n+\ttestpmd>start tx_first 27\r\n+\ttestpmd>stop\r\n+\ttestpmd>set burst 32\r\n+\ttestpmd>start tx_first 7\r\n+\ttestpmd>stop\r\n+\ttestpmd>set txpkts 64\r\n+\ttestpmd>start tx_first 1\r\n+\r\n+6. Start vhost testpmd, quit pdump and check virtio-user1 RX-packets is 566 and RX-bytes is 486016 and 502 packets with 960 length and 64 packets with 64 length in pdump-virtio-rx.pcap.\r\n+\r\n+7. Clear virtio-user1 port stats::\r\n+\r\n+\ttestpmd>stop\r\n+\ttestpmd>clear port stats all\r\n+\ttestpmd>start\r\n+\r\n+8. Relaunch vhost with iova=pa by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 -a 0000:e7:01.0 -a 0000:ec:01.0 -a 0000:f1:01.0 -a 0000:f6:01.0 \\\r\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--iova=pa -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx --lcore-dma=[lcore2@0000:e7:01.0-q5,lcore2@0000:ec:01.0-q6,lcore2@0000:f1:01.0-q5,lcore2@0000:f6:01.0-q6]\r\n+\r\n+9. Rerun step 4.\r\n+\r\n+10. virtio-user0 send packets::\r\n+\r\n+\ttestpmd>stop\r\n+\ttestpmd>set burst 1\r\n+\ttestpmd>set txpkts 64,128,256,512\r\n+\ttestpmd>start tx_first 27\r\n+\ttestpmd>stop\r\n+\ttestpmd>set burst 32\r\n+\ttestpmd>start tx_first 7\r\n+\ttestpmd>stop\r\n+\ttestpmd>set txpkts 64\r\n+\ttestpmd>start tx_first 1\r\n+\r\n+11. Rerun step 6.\r\n+\r\n+Test Case 7: VM2VM vhost-user/virtio-user packed ring mergeable path and multi-queues payload check with dsa dpdk driver\r\n+--------------------------------------------------------------------------------------------------------------------------\r\n+This case uses testpmd to test the payload is valid after packets forwarding in vhost-user/virtio-user packed ring \r\n+mergeable path and multi-queues when vhost uses the asynchronous enqueue operations with dsa dpdk driver. Both iova as VA and PA mode test.\r\n+\r\n+1. bind 2 dsa device to vfio-pci like common step 1::\r\n+\r\n+\t<dpdk dir># ./usertools/dpdk-devbind.py -b vfio-pci e7:01.0 ec:01.0 \r\n+\r\n+2. Launch vhost by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 -a 0000:e7:01.0,max_queues=4 -a 0000:ec:01.0,max_queues=4 \\\r\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx --lcore-dma=[lcore2@0000:e7:01.0-q0,lcore2@0000:e7:01.0-q1,lcore2@0000:e7:01.0-q2,lcore2@0000:ec:01.0-q0,lcore2@0000:ec:01.0-q1]\r\n+\r\n+3. Launch virtio-user1 by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\r\n+\t--no-pci --file-prefix=virtio1 \\\r\n+\t--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 \\\r\n+\t-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\r\n+\ttestpmd>set fwd rxonly\r\n+\ttestpmd>start\r\n+\r\n+4. Attach pdump secondary process to primary process of virtio-user1 by same file-prefix::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=0,rx-dev=/tmp/pdump-virtio-rx.pcap,mbuf-size=8000'\r\n+\r\n+5. Launch virtio-user0 and send packets::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 --no-pci --file-prefix=virtio \\\r\n+\t--vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net0,queues=2,server=1,packed_vq=1,mrg_rxbuf=1,in_order=0,queue_size=4096 \\\r\n+\t-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\r\n+\ttestpmd>set burst 1\r\n+\ttestpmd>set txpkts 64,256,2000,64,256,2000\r\n+\ttestpmd>start tx_first 27\r\n+\ttestpmd>stop\r\n+\ttestpmd>set burst 32\r\n+\ttestpmd>set txpkts 64\r\n+\ttestpmd>start tx_first 7\r\n+\ttestpmd>stop\r\n+\r\n+6. Start vhost testpmd,  quit pdump and check virtio-user1 check 502 packets and 279232 bytes and 54 packets with 4640 length and 448 packets with 64 length in pdump-virtio-rx.pcap.\r\n+\r\n+7. Clear virtio-user1 port stats::\r\n+\r\n+\ttestpmd>stop\r\n+\ttestpmd>clear port stats all\r\n+\ttestpmd>start\r\n+\r\n+8. Relaunch vhost with iova=pa by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 -a 0000:e7:01.0 -a 0000:ec:01.0 \\\r\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--iova=pa -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx --lcore-dma=[lcore2@0000:e7:01.0-q6,lcore2@0000:e7:01.0-q7,lcore2@0000:ec:01.0-q2,lcore2@0000:ec:01.0-q3,lcore2@0000:ec:01.0-q4]\r\n+\r\n+9. Rerun step 4.\r\n+\r\n+10. Virtio-user0 send packets::\r\n+\r\n+\ttestpmd>set burst 1\r\n+\ttestpmd>set txpkts 64,256,2000,64,256,2000\r\n+\ttestpmd>start tx_first 27\r\n+\ttestpmd>stop\r\n+\ttestpmd>set burst 32\r\n+\ttestpmd>set txpkts 64\r\n+\ttestpmd>start tx_first 7\r\n+\ttestpmd>stop\r\n+\r\n+11. Rerun step 6.\r\n+\r\n+Test Case 8: VM2VM vhost-user/virtio-user packed ring inorder mergeable path and multi-queues payload check with dsa dpdk driver\r\n+----------------------------------------------------------------------------------------------------------------------------------\r\n+This case uses testpmd to test the payload is valid after packets forwarding in vhost-user/virtio-user packed ring inorder\r\n+mergeable path and multi-queues when vhost uses the asynchronous enqueue operations with dsa dpdk driver. Both iova as VA and PA mode test.\r\n+\r\n+1. bind 8 dsa device to vfio-pci like common step 1::\r\n+\r\n+\tls /dev/dsa #check wq configure, reset if exist\r\n+\t<dpdk dir># ./usertools/dpdk-devbind.py -u 6a:01.0 6f:01.0 74:01.0 79:01.0 e7:01.0 ec:01.0 f1:01.0 f6:01.0\r\n+\t<dpdk dir># ./usertools/dpdk-devbind.py -b vfio-pci 6a:01.0 6f:01.0 74:01.0 79:01.0 e7:01.0 ec:01.0 f1:01.0 f6:01.0\r\n+\r\n+2. Launch vhost by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 -a 0000:6a:01.0 -a 0000:6f:01.0 -a 0000:74:01.0 -a 0000:79:01.0 -a 0000:e7:01.0 -a 0000:ec:01.0 -a 0000:f1:01.0 -a 0000:f6:01.0 \\\r\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx --lcore-dma=[lcore2@0000:6a:01.0-q0,lcore2@0000:6f:01.0-q1,lcore2@0000:74:01.0-q2,lcore2@0000:79:01.0-q3,lcore2@0000:e7:01.0-q4,lcore2@0000:ec:01.0-q5,lcore2@0000:f1:01.0-q6,lcore2@0000:f6:01.0-q7]\r\n+\r\n+3. Launch virtio-user1 by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 --no-pci --file-prefix=virtio1 \\\r\n+\t--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 \\\r\n+\t-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\r\n+\ttestpmd>set fwd rxonly\r\n+\ttestpmd>start\r\n+\r\n+4. Attach pdump secondary process to primary process of virtio-user1 by same file-prefix::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=0,rx-dev=/tmp/pdump-virtio-rx.pcap,mbuf-size=8000'\r\n+\r\n+5. Launch virtio-user0 and send packets::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 --no-pci --file-prefix=virtio \\\r\n+\t--vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net0,queues=2,server=1,packed_vq=1,mrg_rxbuf=1,in_order=1,queue_size=4096 \\\r\n+\t-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\r\n+\ttestpmd>set burst 1\r\n+\ttestpmd>set txpkts 64,256,2000,64,256,2000\r\n+\ttestpmd>start tx_first 27\r\n+\ttestpmd>stop\r\n+\ttestpmd>set burst 32\r\n+\ttestpmd>set txpkts 64\r\n+\ttestpmd>start tx_first 7\r\n+\ttestpmd>stop\r\n+\r\n+6. Start vhost testpmd, quit pdump and check virtio-user1 RX-packets is 502 packets and 279232 bytes and 54 packets with 4640 length and 448 packets with 64 length in pdump-virtio-rx.pcap.\r\n+\r\n+7. Clear virtio-user1 port stats::\r\n+\r\n+\ttestpmd>stop\r\n+\ttestpmd>clear port stats all\r\n+\ttestpmd>start\r\n+\r\n+8. Relaunch vhost with iova=pa by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 -a 0000:6a:01.0 -a 0000:6f:01.0 -a 0000:74:01.0 -a 0000:79:01.0 -a 0000:e7:01.0 -a 0000:ec:01.0 -a 0000:f1:01.0 -a 0000:f6:01.0 \\\r\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--iova=pa -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx --lcore-dma=[lcore2@0000:6a:01.0-q1,lcore2@0000:6f:01.0-q2,lcore2@0000:74:01.0-q3,lcore2@0000:79:01.0-q4,lcore2@0000:e7:01.0-q5,lcore2@0000:ec:01.0-q6,lcore2@0000:f1:01.0-q7,lcore2@0000:f6:01.0-q7]\r\n+\r\n+9. Rerun step 4.\r\n+\r\n+10. virtio-user0 send packets::\r\n+\r\n+\ttestpmd>set burst 1\r\n+\ttestpmd>set txpkts 64,256,2000,64,256,2000\r\n+\ttestpmd>start tx_first 27\r\n+\ttestpmd>stop\r\n+\ttestpmd>set burst 32\r\n+\ttestpmd>set txpkts 64\r\n+\ttestpmd>start tx_first 7\r\n+\ttestpmd>stop\r\n+\r\n+11. Rerun step 6.\r\n+\r\n+Test Case 9: VM2VM vhost-user/virtio-user packed ring vectorized-tx path and multi-queues indirect descriptor with dsa dpdk driver\r\n+-----------------------------------------------------------------------------------------------------------------------------------\r\n+This case uses testpmd to test the payload is valid and indirect descriptor after packets forwarding in vhost-user/virtio-user\r\n+packed ring vectorized-tx path and multi-queues when vhost uses the asynchronous enqueue operations with dsa dpdk driver. \r\n+Both iova as VA and PA mode test.\r\n+\r\n+1. bind 4 dsa device to vfio-pci like common step 1::\r\n+\r\n+\t<dpdk dir># ./usertools/dpdk-devbind.py -b vfio-pci 6a:01.0 6f:01.0 74:01.0\r\n+\r\n+2. Launch vhost by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 -a 0000:6a:01.0 -a 0000:6f:01.0 -a 0000:74:01.0 -a 0000:79:01.0 \\\r\n+\t--vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0;txq1],dma_ring_size=2048' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0;txq1],dma_ring_size=2048' \\\r\n+\t--iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=256 --rxd=256 --no-flush-rx \\\r\n+\t--lcore-dma=[lcore2@0000:6a:01.0-q0,lcore2@0000:6f:01.0-q1,lcore2@0000:74:01.0-q2,lcore2@0000:79:01.0-q3]\r\n+\r\n+3. Launch virtio-user1 by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 --no-pci --file-prefix=virtio1 --force-max-simd-bitwidth=512 \\\r\n+\t--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,vectorized=1,queue_size=256 \\\r\n+\t-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=256 --rxd=256\r\n+\ttestpmd>set fwd rxonly\r\n+\tset verbose 1\r\n+\ttestpmd>start\r\n+\r\n+4. Attach pdump secondary process to primary process by same file-prefix::\r\n+\r\n+\t<dpdk dir># ./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'\r\n+\r\n+5. Launch virtio-user0 and send 8k length packets::\r\n+\r\n+\t<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 \\\r\n+\t--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,vectorized=1,queue_size=256 \\\r\n+\t-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=256 --rxd=256\r\n+\r\n+\ttestpmd>set burst 1\r\n+\ttestpmd>start tx_first 27\r\n+\ttestpmd>stop\r\n+\ttestpmd>set burst 32\r\n+\ttestpmd>start tx_first 7\r\n+\ttestpmd>stop\r\n+\ttestpmd>set txpkts 2000,2000,2000,2000\r\n+\ttestpmd>start tx_first 1\r\n+\ttestpmd>stop\r\n+\r\n+6. 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.\r\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.\r\n+\r\n+7.Relaunch vhost with iova=pa by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 -a 0000:6a:01.0 -a 0000:6f:01.0 -a 0000:74:01.0 -a 0000:79:01.0 \\\r\n+\t--vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0;txq1],dma_ring_size=2048' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0;txq1],dma_ring_size=2048' \\\r\n+\t--iova=pa -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=256 --rxd=256 --no-flush-rx \\\r\n+\t--lcore-dma=[lcore2@0000:6a:01.0-q1,lcore2@0000:6f:01.0-q2,lcore2@0000:74:01.0-q3,lcore2@0000:79:01.0-q4]\r\n+\r\n+8. Rerun step 3-6.\r\n+\r\n+Test Case 10: VM2VM vhost-user/virtio-user split ring non-mergeable path and multi-queues payload check with dsa kernel driver\r\n+--------------------------------------------------------------------------------------------------------------------------------\r\n+This case uses testpmd to test the payload is valid after packets forwarding in vhost-user/virtio-user split ring \r\n+non-mergeable path and multi-queues when vhost uses the asynchronous enqueue operations with dsa kernel driver. \r\n+\r\n+1. bind 1 dsa device to idxd like common step 2::\r\n+\r\n+\tls /dev/dsa #check wq configure, reset if exist\r\n+\t<dpdk dir># ./<dpdk build dir>drivers/dma/idxd/dpdk_idxd_cfg.py --reset xx\r\n+\t<dpdk dir># ./usertools/dpdk-devbind.py -u 6a:01.0\r\n+\t<dpdk dir># ./usertools/dpdk-devbind.py -b idxd 6a:01.0\r\n+\t<dpdk dir># ./<dpdk build dir>drivers/dma/idxd/dpdk_idxd_cfg.py -q 4 0\r\n+\tls /dev/dsa #check wq configure success\r\n+\r\n+2. Launch vhost by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\r\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx --lcore-dma=[lcore2@wq0.0,lcore2@wq0.1]\r\n+\r\n+3. Launch virtio-user1 by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 --no-pci --file-prefix=virtio1 \\\r\n+\t--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 \\\r\n+\t-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\r\n+\ttestpmd>set fwd rxonly\r\n+\ttestpmd>start\r\n+\r\n+4. Attach pdump secondary process to primary process of virtio-user1 by same file-prefix::\r\n+\r\n+\t <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=0,rx-dev=/tmp/pdump-virtio-rx.pcap,mbuf-size=8000'\r\n+\r\n+5. Launch virtio-user0 and send packets::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 --no-pci --file-prefix=virtio \\\r\n+\t--vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net0,queues=2,server=1,packed_vq=0,mrg_rxbuf=0,in_order=0,queue_size=4096 \\\r\n+\t-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\r\n+\ttestpmd>set burst 1\r\n+\ttestpmd>set txpkts 64,128,256,512\r\n+\ttestpmd>start tx_first 27\r\n+\ttestpmd>stop\r\n+\ttestpmd>set burst 32\r\n+\ttestpmd>start tx_first 7\r\n+\ttestpmd>stop\r\n+\ttestpmd>set txpkts 64\r\n+\ttestpmd>start tx_first 1\r\n+\ttestpmd>stop\r\n+\r\n+6. Start vhost testpmd, quit pdump and check virtio-user1 RX-packets is 566 and RX-bytes is 486016 and 502 packets with 960 length and 64 packets with 64 length in pdump-virtio-rx.pcap.\r\n+\r\n+7. Clear virtio-user1 port stats::\r\n+\r\n+\ttestpmd>stop\r\n+\ttestpmd>clear port stats all\r\n+\ttestpmd>start\r\n+\r\n+8. Quit and relaunch vhost with diff channel by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\r\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx --lcore-dma=[lcore2@wq0.2,lcore2@wq0.3]\r\n+\r\n+9. Rerun step 4.\r\n+\r\n+10. Virtio-user0 send packets::\r\n+\r\n+\ttestpmd>set burst 1\r\n+\ttestpmd>set txpkts 64,128,256,512\r\n+\ttestpmd>start tx_first 27\r\n+\ttestpmd>stop\r\n+\ttestpmd>set burst 32\r\n+\ttestpmd>start tx_first 7\r\n+\ttestpmd>stop\r\n+\ttestpmd>set txpkts 64\r\n+\ttestpmd>start tx_first 1\r\n+\ttestpmd>stop\r\n+\r\n+11. Rerun step 6.\r\n+\r\n+Test Case 11: VM2VM vhost-user/virtio-user split ring inorder non-mergeable path and multi-queues payload check with dsa kernel driver\r\n+----------------------------------------------------------------------------------------------------------------------------------------\r\n+This case uses testpmd to test the payload is valid after packets forwarding in vhost-user/virtio-user split ring inorder\r\n+non-mergeable path and multi-queues when vhost uses the asynchronous enqueue operations with dsa kernel driver. \r\n+\r\n+1. bind 3 dsa device to idxd like common step 2::\r\n+\r\n+\tls /dev/dsa #check wq configure, reset if exist\r\n+\t<dpdk dir># ./usertools/dpdk-devbind.py -u 6a:01.0 6f:01.0 74:01.0\r\n+\t<dpdk dir># ./usertools/dpdk-devbind.py -b idxd 6a:01.0 6f:01.0 74:01.0\r\n+\t<dpdk dir># ./<dpdk build dir>drivers/dma/idxd/dpdk_idxd_cfg.py -q 8 0\r\n+\t<dpdk dir># ./<dpdk build dir>drivers/dma/idxd/dpdk_idxd_cfg.py -q 8 2\r\n+\t<dpdk dir># ./<dpdk build dir>drivers/dma/idxd/dpdk_idxd_cfg.py -q 8 4\r\n+\tls /dev/dsa #check wq configure success\r\n+\r\n+2. Launch vhost by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\r\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx --lcore-dma=[lcore2@wq0.0,lcore2@wq2.1,lcore2@wq4.2]\r\n+\r\n+3. Launch virtio-user1 by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 --no-pci --file-prefix=virtio1 \\\r\n+\t--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 \\\r\n+\t-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\r\n+\ttestpmd>set fwd rxonly\r\n+\ttestpmd>start\r\n+\r\n+4. Attach pdump secondary process to primary process of virtio-user1 by same file-prefix::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=0,rx-dev=/tmp/pdump-virtio-rx.pcap,mbuf-size=8000'\r\n+\r\n+5. Launch virtio-user0 and send packets::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 --no-pci --file-prefix=virtio \\\r\n+\t--vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net0,queues=2,server=1,packed_vq=0,mrg_rxbuf=0,in_order=1,queue_size=4096 \\\r\n+\t-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\r\n+\ttestpmd>set burst 1\r\n+\ttestpmd>set txpkts 64,128,256,512\r\n+\ttestpmd>start tx_first 27\r\n+\ttestpmd>stop\r\n+\ttestpmd>set burst 32\r\n+\ttestpmd>start tx_first 7\r\n+\ttestpmd>stop\r\n+\ttestpmd>set txpkts 64\r\n+\ttestpmd>start tx_first 1\r\n+\ttestpmd>stop\r\n+\r\n+6. Start vhost testpmd, quit pdump and check virtio-user1 RX-packets is 566 and RX-bytes is 486016 and 502 packets with 960 length and 64 packets with 64 length in pdump-virtio-rx.pcap.\r\n+\r\n+7. Clear virtio-user1 port stats::\r\n+\r\n+\ttestpmd>stop\r\n+\ttestpmd>clear port stats all\r\n+\ttestpmd>start\r\n+\r\n+8. Quit and relaunch vhost with diff channel by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\r\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx --lcore-dma=[lcore2@wq0.3,lcore2@wq2.4,lcore2@wq4.5]\r\n+\r\n+9. Rerun step 4.\r\n+\r\n+10. virtio-user0 send packets::\r\n+\r\n+\ttestpmd>set burst 1\r\n+\ttestpmd>set txpkts 64,128,256,512\r\n+\ttestpmd>start tx_first 27\r\n+\ttestpmd>stop\r\n+\ttestpmd>set burst 32\r\n+\ttestpmd>start tx_first 7\r\n+\ttestpmd>stop\r\n+\ttestpmd>set txpkts 64\r\n+\ttestpmd>start tx_first 1\r\n+\ttestpmd>stop\r\n+\r\n+11. Rerun step 6.\r\n+\r\n+Test Case 12: VM2VM vhost-user/virtio-user split ring inorder mergeable path and multi-queues non-indirect descriptor with dsa kernel driver\r\n+---------------------------------------------------------------------------------------------------------------------------------------------\r\n+This case uses testpmd to test the payload is valid and non-indirect descriptor after packets forwarding in vhost-user/virtio-user\r\n+split ring inorder mergeable path and multi-queues when vhost uses the asynchronous enqueue operations with dsa kernel driver. \r\n+\r\n+1. bind 4 dsa device to idxd like common step 2::\r\n+\r\n+\tls /dev/dsa #check wq configure, reset if exist\r\n+\t<dpdk dir># ./usertools/dpdk-devbind.py -u 6a:01.0 6f:01.0 74:01.0 79:01.0\r\n+\t<dpdk dir># ./usertools/dpdk-devbind.py -b idxd 6a:01.0 6f:01.0 74:01.0 79:01.0\r\n+\t<dpdk dir># ./<dpdk build dir>drivers/dma/idxd/dpdk_idxd_cfg.py -q 8 0\r\n+\t<dpdk dir># ./<dpdk build dir>drivers/dma/idxd/dpdk_idxd_cfg.py -q 8 2\r\n+\t<dpdk dir># ./<dpdk build dir>drivers/dma/idxd/dpdk_idxd_cfg.py -q 8 4\r\n+\t<dpdk dir># ./<dpdk build dir>drivers/dma/idxd/dpdk_idxd_cfg.py -q 8 6\r\n+\tls /dev/dsa #check wq configure success\r\n+\r\n+2. Launch vhost by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\r\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=256 --rxd=256 --no-flush-rx --lcore-dma=[lcore2@wq0.0,lcore2@wq2.1,lcore2@wq4.2,lcore2@wq6.3]\r\n+\r\n+3. Launch virtio-user1 by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 --no-pci --file-prefix=virtio1 \\\r\n+\t--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=4096 \\\r\n+\t-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=256 --rxd=256\r\n+\ttestpmd>set fwd rxonly\r\n+\ttestpmd>start\r\n+\r\n+4. Attach pdump secondary process to primary process of virtio-user1 by same file-prefix::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=0,rx-dev=/tmp/pdump-virtio-rx.pcap,mbuf-size=8000'\r\n+\r\n+5. Launch virtio-user0 and send packets::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 --no-pci --file-prefix=virtio \\\r\n+\t--vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net0,queues=2,server=1,packed_vq=0,mrg_rxbuf=1,in_order=1,queue_size=256 \\\r\n+\t-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=256 --rxd=256\r\n+\ttestpmd>set burst 1\r\n+\ttestpmd>start tx_first 27\r\n+\ttestpmd>stop\r\n+\ttestpmd>set burst 32\r\n+\ttestpmd>start tx_first 7\r\n+\ttestpmd>stop\r\n+\ttestpmd>set txpkts 2000,2000,2000,2000\r\n+\ttestpmd>start tx_first 1\r\n+\ttestpmd>stop\r\n+\r\n+6. Start vhost, then quit pdump and three testpmd, about split virtqueue inorder mergeable path, it use the direct descriptors, the 8k length pkt will occupies 5 ring:2000,2000,2000,2000 will need 4 consequent ring,\r\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.\r\n+\r\n+7. Clear virtio-user1 port stats::\r\n+\r\n+\ttestpmd>stop\r\n+\ttestpmd>clear port stats all\r\n+\ttestpmd>start\r\n+\r\n+8. Quit and relaunch vhost with diff channel by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\r\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=256 --rxd=256 --no-flush-rx --lcore-dma=[lcore2@wq0.3,lcore2@wq2.4,lcore2@wq4.3,lcore2@wq6.4]\r\n+\r\n+9. Rerun step 4.\r\n+\r\n+10. virtio-user0 send packets::\r\n+\r\n+\ttestpmd>set burst 1\r\n+\ttestpmd>start tx_first 27\r\n+\ttestpmd>stop\r\n+\ttestpmd>set burst 32\r\n+\ttestpmd>start tx_first 7\r\n+\ttestpmd>stop\r\n+\ttestpmd>set txpkts 2000,2000,2000,2000\r\n+\ttestpmd>start tx_first 1\r\n+\ttestpmd>stop\r\n+\r\n+11. Rerun step 6.\r\n+\r\n+Test Case 13: VM2VM vhost-user/virtio-user split ring mergeable path and multi-queues indirect descriptor with dsa kernel driver\r\n+----------------------------------------------------------------------------------------------------------------------------------\r\n+This case uses testpmd to test the payload is valid and indirect descriptor after packets forwarding in vhost-user/virtio-user\r\n+split ring mergeable path and multi-queues when vhost uses the asynchronous enqueue operations with dsa kernel driver. \r\n+\r\n+1. bind 4 dsa device to idxd like common step 2::\r\n+\r\n+\tls /dev/dsa #check wq configure, reset if exist\r\n+\t<dpdk dir># ./usertools/dpdk-devbind.py -u 6a:01.0 6f:01.0 74:01.0 79:01.0\r\n+\t<dpdk dir># ./usertools/dpdk-devbind.py -b idxd 6a:01.0 6f:01.0 74:01.0 79:01.0\r\n+\t<dpdk dir># ./<dpdk build dir>drivers/dma/idxd/dpdk_idxd_cfg.py -q 8 0\r\n+\t<dpdk dir># ./<dpdk build dir>drivers/dma/idxd/dpdk_idxd_cfg.py -q 8 2\r\n+\t<dpdk dir># ./<dpdk build dir>drivers/dma/idxd/dpdk_idxd_cfg.py -q 8 4\r\n+\t<dpdk dir># ./<dpdk build dir>drivers/dma/idxd/dpdk_idxd_cfg.py -q 8 6\r\n+\tls /dev/dsa #check wq configure success\r\n+\r\n+2. Launch vhost by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\r\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=256 --rxd=256 --no-flush-rx --lcore-dma=[lcore2@wq0.0,lcore2@wq2.1,lcore2@wq4.2,lcore2@wq6.3]\r\n+\r\n+3. Launch virtio-user1 by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 --no-pci --file-prefix=virtio1 \\\r\n+\t--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 \\\r\n+\t-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=256 --rxd=256\r\n+\ttestpmd>set fwd rxonly\r\n+\ttestpmd>start\r\n+\r\n+4. Attach pdump secondary process to primary process of virtio-user1 by same file-prefix::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=0,rx-dev=/tmp/pdump-virtio-rx.pcap,mbuf-size=8000'\r\n+\r\n+5. Launch virtio-user0 and send packets::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 --no-pci --file-prefix=virtio \\\r\n+\t--vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net0,queues=2,server=1,packed_vq=0,mrg_rxbuf=1,in_order=0,queue_size=256 \\\r\n+\t-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=256 --rxd=256\r\n+\ttestpmd>set burst 1\r\n+\ttestpmd>start tx_first 27\r\n+\ttestpmd>stop\r\n+\ttestpmd>set burst 32\r\n+\ttestpmd>start tx_first 7\r\n+\ttestpmd>stop\r\n+\ttestpmd>set txpkts 2000,2000,2000,2000\r\n+\ttestpmd>start tx_first 1\r\n+\ttestpmd>stop\r\n+\r\n+6. Start vhost, then quit pdump and three testpmd, about split virtqueue inorder mergeable path, it use the indirect descriptors, the 8k length pkt will just occupies one ring.\r\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.\r\n+\r\n+7. Clear virtio-user1 port stats::\r\n+\r\n+\ttestpmd>stop\r\n+\ttestpmd>clear port stats all\r\n+\ttestpmd>start\r\n+\r\n+8. Quit and relaunch vhost with diff channel by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\r\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=256 --rxd=256 --no-flush-rx --lcore-dma=[lcore2@wq0.3,lcore2@wq2.4,lcore2@wq4.3,lcore2@wq6.4]\r\n+\r\n+9. Rerun step 4.\r\n+\r\n+10. Virtio-user0 send packets::\r\n+\r\n+\ttestpmd>set burst 1\r\n+\ttestpmd>start tx_first 27\r\n+\ttestpmd>stop\r\n+\ttestpmd>set burst 32\r\n+\ttestpmd>start tx_first 7\r\n+\ttestpmd>stop\r\n+\ttestpmd>set txpkts 2000,2000,2000,2000\r\n+\ttestpmd>start tx_first 1\r\n+\ttestpmd>stop\r\n+\r\n+11. Rerun step 6.\r\n+\r\n+Test Case 14: VM2VM vhost-user/virtio-user packed ring non-mergeable path and multi-queues payload check with dsa kernel driver\r\n+----------------------------------------------------------------------------------------------------------------------------------\r\n+This case uses testpmd to test the payload is valid after packets forwarding in vhost-user/virtio-user packed ring \r\n+non-mergeable path and multi-queues when vhost uses the asynchronous enqueue operations with dsa kernel driver.\r\n+\r\n+1. bind 3 dsa device to idxd like common step 2::\r\n+\r\n+\tls /dev/dsa #check wq configure, reset if exist\r\n+\t<dpdk dir># ./usertools/dpdk-devbind.py -u 6a:01.0 6f:01.0 74:01.0\r\n+\t<dpdk dir># ./usertools/dpdk-devbind.py -b idxd 6a:01.0 6f:01.0 74:01.0\r\n+\t<dpdk dir># ./<dpdk build dir>drivers/dma/idxd/dpdk_idxd_cfg.py -q 8 0\r\n+\t<dpdk dir># ./<dpdk build dir>drivers/dma/idxd/dpdk_idxd_cfg.py -q 8 2\r\n+\t<dpdk dir># ./<dpdk build dir>drivers/dma/idxd/dpdk_idxd_cfg.py -q 8 4\r\n+\tls /dev/dsa #check wq configure success\r\n+\r\n+2. Launch vhost by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\r\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx --lcore-dma=[lcore2@wq0.0,lcore2@wq2.1,lcore2@wq4.2]\r\n+\r\n+3. Launch virtio-user1 by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\r\n+\t--no-pci --file-prefix=virtio1 \\\r\n+\t--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 \\\r\n+\t-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\r\n+\ttestpmd>set fwd rxonly\r\n+\ttestpmd>start\r\n+\r\n+4. Attach pdump secondary process to primary process of virtio-user1 by same file-prefix::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=0,rx-dev=/tmp/pdump-virtio-rx.pcap,mbuf-size=8000'\r\n+\r\n+5. Launch virtio-user0 and send packets::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 --no-pci --file-prefix=virtio \\\r\n+\t--vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net0,queues=2,server=1,packed_vq=1,mrg_rxbuf=0,in_order=0,queue_size=4096 \\\r\n+\t-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\r\n+\ttestpmd>set burst 1\r\n+\ttestpmd>set txpkts 64,128,256,512\r\n+\ttestpmd>start tx_first 27\r\n+\ttestpmd>stop\r\n+\ttestpmd>set burst 32\r\n+\ttestpmd>start tx_first 7\r\n+\ttestpmd>stop\r\n+\ttestpmd>set txpkts 64\r\n+\ttestpmd>start tx_first 1\r\n+\ttestpmd>stop\r\n+\r\n+6. Start vhost testpmd,  quit pdump and check virtio-user1 RX-packets is 566 and RX-bytes is 486016 and 502 packets with 960 length and 64 packets with 64 length in pdump-virtio-rx.pcap.\r\n+\r\n+7. Clear virtio-user1 port stats::\r\n+\r\n+\ttestpmd>stop\r\n+\ttestpmd>clear port stats all\r\n+\ttestpmd>start\r\n+\r\n+8. Quit and relaunch vhost with diff channel by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\r\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx --lcore-dma=[lcore2@wq0.4,lcore2@wq2.5,lcore2@wq4.6]\r\n+\r\n+9. Rerun step 4.\r\n+\r\n+10. Virtio-user0 send packets::\r\n+\r\n+\ttestpmd>set burst 1\r\n+\ttestpmd>set txpkts 64,128,256,512\r\n+\ttestpmd>start tx_first 27\r\n+\ttestpmd>stop\r\n+\ttestpmd>set burst 32\r\n+\ttestpmd>start tx_first 7\r\n+\ttestpmd>stop\r\n+\ttestpmd>set txpkts 64\r\n+\ttestpmd>start tx_first 1\r\n+\ttestpmd>stop\r\n+\r\n+11. Rerun step 6.\r\n+\r\n+Test Case 15: VM2VM vhost-user/virtio-user packed ring inorder non-mergeable path and multi-queues payload check with dsa kernel driver\r\n+----------------------------------------------------------------------------------------------------------------------------------------\r\n+This case uses testpmd to test the payload is valid after packets forwarding in vhost-user/virtio-user packed ring inorder\r\n+non-mergeable path and multi-queues when vhost uses the asynchronous enqueue operations with dsa kernel driver.\r\n+\r\n+1. bind 4 dsa device to idxd like common step 2::\r\n+\r\n+\tls /dev/dsa #check wq configure, reset if exist\r\n+\t<dpdk dir># ./usertools/dpdk-devbind.py -u 6a:01.0 6f:01.0 74:01.0 79:01.0\r\n+\t<dpdk dir># ./usertools/dpdk-devbind.py -b idxd 6a:01.0 6f:01.0 74:01.0 79:01.0\r\n+\t<dpdk dir># ./<dpdk build dir>drivers/dma/idxd/dpdk_idxd_cfg.py -q 8 0\r\n+\t<dpdk dir># ./<dpdk build dir>drivers/dma/idxd/dpdk_idxd_cfg.py -q 8 2\r\n+\t<dpdk dir># ./<dpdk build dir>drivers/dma/idxd/dpdk_idxd_cfg.py -q 8 4\r\n+\t<dpdk dir># ./<dpdk build dir>drivers/dma/idxd/dpdk_idxd_cfg.py -q 8 6\r\n+\tls /dev/dsa #check wq configure success\r\n+\r\n+2. Launch vhost by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\r\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx --lcore-dma=[lcore2@wq0.0,lcore2@wq2.0,lcore2@wq4.1,lcore2@wq6.1]\r\n+\r\n+3. Launch virtio-user1 by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 --no-pci --file-prefix=virtio1 \\\r\n+\t--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 \\\r\n+\t-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\r\n+\ttestpmd>set fwd rxonly\r\n+\ttestpmd>start\r\n+\r\n+4. Attach pdump secondary process to primary process of virtio-user1 by same file-prefix::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=0,rx-dev=/tmp/pdump-virtio-rx.pcap,mbuf-size=8000'\r\n+\r\n+5. Launch virtio-user0 and send packets::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 --no-pci --file-prefix=virtio \\\r\n+\t--vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net0,queues=2,server=1,packed_vq=1,mrg_rxbuf=0,in_order=1,queue_size=4096 \\\r\n+\t-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\r\n+\ttestpmd>set burst 1\r\n+\ttestpmd>set txpkts 64,128,256,512\r\n+\ttestpmd>start tx_first 27\r\n+\ttestpmd>stop\r\n+\ttestpmd>set burst 32\r\n+\ttestpmd>start tx_first 7\r\n+\ttestpmd>stop\r\n+\ttestpmd>set txpkts 64\r\n+\ttestpmd>start tx_first 1\r\n+\r\n+6. Start vhost testpmd, quit pdump and check virtio-user1 RX-packets is 566 and RX-bytes is 486016 and 502 packets with 960 length and 64 packets with 64 length in pdump-virtio-rx.pcap.\r\n+\r\n+7. Clear virtio-user1 port stats::\r\n+\r\n+\ttestpmd>stop\r\n+\ttestpmd>clear port stats all\r\n+\ttestpmd>start\r\n+\r\n+8. Quit and relaunch vhost with diff channel by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\r\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx --lcore-dma=[lcore2@wq0.5,lcore2@wq2.6,lcore2@wq4.5,lcore2@wq6.6]\r\n+\r\n+9. Rerun step 4.\r\n+\r\n+10. virtio-user0 send packets::\r\n+\r\n+\ttestpmd>stop\r\n+\ttestpmd>set burst 1\r\n+\ttestpmd>set txpkts 64,128,256,512\r\n+\ttestpmd>start tx_first 27\r\n+\ttestpmd>stop\r\n+\ttestpmd>set burst 32\r\n+\ttestpmd>start tx_first 7\r\n+\ttestpmd>stop\r\n+\ttestpmd>set txpkts 64\r\n+\ttestpmd>start tx_first 1\r\n+\r\n+11. Rerun step 6.\r\n+\r\n+Test Case 16: VM2VM vhost-user/virtio-user packed ring mergeable path and multi-queues payload check with dsa kernel driver\r\n+-----------------------------------------------------------------------------------------------------------------------------\r\n+This case uses testpmd to test the payload is valid after packets forwarding in vhost-user/virtio-user packed ring \r\n+mergeable path and multi-queues when vhost uses the asynchronous enqueue operations with dsa kernel driver.\r\n+\r\n+1. bind 2 dsa device to idxd::\r\n+\r\n+\tls /dev/dsa #check wq configure, reset if exist\r\n+\t<dpdk dir># ./usertools/dpdk-devbind.py -u 6a:01.0 6f:01.0\r\n+\t<dpdk dir># ./usertools/dpdk-devbind.py -b idxd 6a:01.0 6f:01.0\r\n+\t<dpdk dir># ./<dpdk build dir>drivers/dma/idxd/dpdk_idxd_cfg.py -q 8 0\r\n+\t<dpdk dir># ./<dpdk build dir>drivers/dma/idxd/dpdk_idxd_cfg.py -q 8 2\r\n+\tls /dev/dsa #check wq configure success\r\n+\r\n+2. Launch vhost by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\r\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx --lcore-dma=[lcore2@wq0.0,lcore2@wq0.1,lcore2@wq0.2,lcore2@wq2.3,lcore2@wq2.4]\r\n+\r\n+3. Launch virtio-user1 by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 \\\r\n+\t--no-pci --file-prefix=virtio1 \\\r\n+\t--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 \\\r\n+\t-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\r\n+\ttestpmd>set fwd rxonly\r\n+\ttestpmd>start\r\n+\r\n+4. Attach pdump secondary process to primary process of virtio-user1 by same file-prefix::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=0,rx-dev=/tmp/pdump-virtio-rx.pcap,mbuf-size=8000'\r\n+\r\n+5. Launch virtio-user0 and send packets::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 --no-pci --file-prefix=virtio \\\r\n+\t--vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net0,queues=2,server=1,packed_vq=1,mrg_rxbuf=1,in_order=0,queue_size=4096 \\\r\n+\t-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\r\n+\ttestpmd>set burst 1\r\n+\ttestpmd>set txpkts 64,256,2000,64,256,2000\r\n+\ttestpmd>start tx_first 27\r\n+\ttestpmd>stop\r\n+\ttestpmd>set burst 32\r\n+\ttestpmd>set txpkts 64\r\n+\ttestpmd>start tx_first 7\r\n+\ttestpmd>stop\r\n+\r\n+6. Start vhost testpmd,  quit pdump and check virtio-user1 check 502 packets and 279232 bytes and 54 packets with 4640 length and 448 packets with 64 length in pdump-virtio-rx.pcap.\r\n+\r\n+7. Clear virtio-user1 port stats::\r\n+\r\n+\ttestpmd>stop\r\n+\ttestpmd>clear port stats all\r\n+\ttestpmd>start\r\n+\r\n+8. Quit and relaunch vhost with diff channel by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\r\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx --lcore-dma=[lcore2@wq0.6,lcore2@wq0.7,lcore2@wq2.3,lcore2@wq2.4,lcore2@wq2.5]\r\n+\r\n+9. Rerun step 4.\r\n+\r\n+10. Virtio-user0 send packets::\r\n+\r\n+\ttestpmd>set burst 1\r\n+\ttestpmd>set txpkts 64,256,2000,64,256,2000\r\n+\ttestpmd>start tx_first 27\r\n+\ttestpmd>stop\r\n+\ttestpmd>set burst 32\r\n+\ttestpmd>set txpkts 64\r\n+\ttestpmd>start tx_first 7\r\n+\ttestpmd>stop\r\n+\r\n+11. Rerun step 6.\r\n+\r\n+Test Case 17: VM2VM vhost-user/virtio-user packed ring inorder mergeable path and multi-queues payload check with dsa kernel driver\r\n+------------------------------------------------------------------------------------------------------------------------------------\r\n+This case uses testpmd to test the payload is valid after packets forwarding in vhost-user/virtio-user packed ring inorder\r\n+mergeable path and multi-queues when vhost uses the asynchronous enqueue operations with dsa kernel driver.\r\n+\r\n+1. bind 8 dsa device to idxd like common step 2::\r\n+\r\n+\tls /dev/dsa #check wq configure, reset if exist\r\n+\t<dpdk dir># ./usertools/dpdk-devbind.py -u 6a:01.0 6f:01.0 74:01.0 79:01.0 e7:01.0 ec:01.0 f1:01.0 f6:01.0\r\n+\t<dpdk dir># ./usertools/dpdk-devbind.py -b idxd 6a:01.0 6f:01.0 74:01.0 79:01.0 e7:01.0 ec:01.0 f1:01.0 f6:01.0\r\n+\t<dpdk dir># ./<dpdk build dir>drivers/dma/idxd/dpdk_idxd_cfg.py -q 8 0\r\n+\t<dpdk dir># ./<dpdk build dir>drivers/dma/idxd/dpdk_idxd_cfg.py -q 8 2\r\n+\t<dpdk dir># ./<dpdk build dir>drivers/dma/idxd/dpdk_idxd_cfg.py -q 8 4\r\n+\t<dpdk dir># ./<dpdk build dir>drivers/dma/idxd/dpdk_idxd_cfg.py -q 8 6\r\n+\t<dpdk dir># ./<dpdk build dir>drivers/dma/idxd/dpdk_idxd_cfg.py -q 8 8\r\n+\t<dpdk dir># ./<dpdk build dir>drivers/dma/idxd/dpdk_idxd_cfg.py -q 8 10\r\n+\t<dpdk dir># ./<dpdk build dir>drivers/dma/idxd/dpdk_idxd_cfg.py -q 8 12\r\n+\t<dpdk dir># ./<dpdk build dir>drivers/dma/idxd/dpdk_idxd_cfg.py -q 8 14\r\n+\tls /dev/dsa #check wq configure success\r\n+\r\n+2. Launch vhost by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\r\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx --lcore-dma=[lcore2@wq0.0,lcore2@wq2.1,lcore2@wq4.2,lcore2@wq6.3,lcore2@wq8.4,lcore2@wq10.5,lcore2@wq12.6,lcore2@wq14.7]\r\n+\r\n+3. Launch virtio-user1 by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 --no-pci --file-prefix=virtio1 \\\r\n+\t--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 \\\r\n+\t-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\r\n+\ttestpmd>set fwd rxonly\r\n+\ttestpmd>start\r\n+\r\n+4. Attach pdump secondary process to primary process of virtio-user1 by same file-prefix::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=0,rx-dev=/tmp/pdump-virtio-rx.pcap,mbuf-size=8000'\r\n+\r\n+5. Launch virtio-user0 and send packets::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 --no-pci --file-prefix=virtio \\\r\n+\t--vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net0,queues=2,server=1,packed_vq=1,mrg_rxbuf=1,in_order=1,queue_size=4096 \\\r\n+\t-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\r\n+\ttestpmd>set burst 1\r\n+\ttestpmd>set txpkts 64,256,2000,64,256,2000\r\n+\ttestpmd>start tx_first 27\r\n+\ttestpmd>stop\r\n+\ttestpmd>set burst 32\r\n+\ttestpmd>set txpkts 64\r\n+\ttestpmd>start tx_first 7\r\n+\ttestpmd>stop\r\n+\r\n+6. Start vhost testpmd, quit pdump and check virtio-user1 RX-packets is 502 packets and 279232 bytes and 54 packets with 4640 length and 448 packets with 64 length in pdump-virtio-rx.pcap.\r\n+\r\n+7. Clear virtio-user1 port stats::\r\n+\r\n+\ttestpmd>stop\r\n+\ttestpmd>clear port stats all\r\n+\ttestpmd>start\r\n+\r\n+8. Quit and relaunch vhost with diff channel by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\r\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx --lcore-dma=[lcore2@wq0.7,lcore2@wq2.6,lcore2@wq4.5,lcore2@wq6.4,lcore2@wq8.3,lcore2@wq10.2,lcore2@wq12.1,lcore2@wq14.0]\r\n+\r\n+9. Rerun step 4.\r\n+\r\n+10. virtio-user0 send packets::\r\n+\r\n+\ttestpmd>set burst 1\r\n+\ttestpmd>set txpkts 64,256,2000,64,256,2000\r\n+\ttestpmd>start tx_first 27\r\n+\ttestpmd>stop\r\n+\ttestpmd>set burst 32\r\n+\ttestpmd>set txpkts 64\r\n+\ttestpmd>start tx_first 7\r\n+\ttestpmd>stop\r\n+\r\n+11. Rerun step 6.\r\n+\r\n+Test Case 18: VM2VM vhost-user/virtio-user packed ring vectorized-tx path and multi-queues indirect descriptor with dsa kernel driver\r\n+-------------------------------------------------------------------------------------------------------------------------------------\r\n+This case uses testpmd to test the payload is valid and indirect descriptor after packets forwarding in vhost-user/virtio-user\r\n+packed ring vectorized-tx path and multi-queues when vhost uses the asynchronous enqueue operations with dsa kernel driver.\r\n+\r\n+1. bind 4 dsa device to idxd like common step 2::\r\n+\r\n+\tls /dev/dsa #check wq configure, reset if exist\r\n+\t<dpdk dir># ./usertools/dpdk-devbind.py -u 6a:01.0 6f:01.0 74:01.0 79:01.0\r\n+\t<dpdk dir># ./usertools/dpdk-devbind.py -b idxd 6a:01.0 6f:01.0 74:01.0 79:01.0\r\n+\t<dpdk dir># ./<dpdk build dir>drivers/dma/idxd/dpdk_idxd_cfg.py -q 8 0\r\n+\t<dpdk dir># ./<dpdk build dir>drivers/dma/idxd/dpdk_idxd_cfg.py -q 8 2\r\n+\t<dpdk dir># ./<dpdk build dir>drivers/dma/idxd/dpdk_idxd_cfg.py -q 8 4\r\n+\t<dpdk dir># ./<dpdk build dir>drivers/dma/idxd/dpdk_idxd_cfg.py -q 8 6\r\n+\tls /dev/dsa #check wq configure success\r\n+\r\n+2. Launch vhost by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 10-18 -n 4 \\\r\n+\t--vdev 'eth_vhost0,iface=vhost-net,queues=2,client=1,dmas=[txq0;txq1],dma_ring_size=2048' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0;txq1],dma_ring_size=2048' \\\r\n+\t--iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=256 --rxd=256 --no-flush-rx \\\r\n+\t--lcore-dma=[lcore11@wq0.0,lcore11@wq2.1,lcore11@wq4.2,lcore11@wq6.3]\r\n+\r\n+3. Launch virtio-user1 by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 --no-pci --file-prefix=virtio1 --force-max-simd-bitwidth=512 \\\r\n+\t--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,vectorized=1,queue_size=256 \\\r\n+\t-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=256 --rxd=256\r\n+\ttestpmd>set fwd rxonly\r\n+\ttestpmd>start\r\n+\r\n+4. Attach pdump secondary process to primary process by same file-prefix::\r\n+\r\n+\t<dpdk dir># ./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'\r\n+\r\n+5. Launch virtio-user0 and send 8k length packets::\r\n+\r\n+\t<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 \\\r\n+\t--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,vectorized=1,queue_size=256 \\\r\n+\t-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=256 --rxd=256\r\n+\r\n+\ttestpmd>set burst 1\r\n+\ttestpmd>start tx_first 27\r\n+\ttestpmd>stop\r\n+\ttestpmd>set burst 32\r\n+\ttestpmd>start tx_first 7\r\n+\ttestpmd>stop\r\n+\ttestpmd>set txpkts 2000,2000,2000,2000\r\n+\ttestpmd>start tx_first 1\r\n+\ttestpmd>stop\r\n+\r\n+6. 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.\r\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.\r\n+\r\n+Test Case 19: VM2VM vhost-user/virtio-user packed ring inorder mergeable path and multi-queues payload check with dsa dpdk and kernel driver\r\n+---------------------------------------------------------------------------------------------------------------------------------------------\r\n+This case uses testpmd to test the payload is valid after packets forwarding in vhost-user/virtio-user packed ring inorder\r\n+mergeable path and multi-queues when vhost uses the asynchronous enqueue operations with dsa dpdk and kernel driver.\r\n+\r\n+1. bind 2 dsa device to vfio-pci and 2 dsa port to idxd like common step 1-2::\r\n+\r\n+\tls /dev/dsa #check wq configure, reset if exist\r\n+\t<dpdk dir># ./usertools/dpdk-devbind.py -u 6a:01.0 6f:01.0 e7:01.0 ec:01.0\r\n+\t<dpdk dir># ./usertools/dpdk-devbind.py -b idxd 6a:01.0 6f:01.0\r\n+\t<dpdk dir># ./<dpdk build dir>drivers/dma/idxd/dpdk_idxd_cfg.py -q 8 0\r\n+\t<dpdk dir># ./<dpdk build dir>drivers/dma/idxd/dpdk_idxd_cfg.py -q 8 2\r\n+\tls /dev/dsa #check wq configure success\r\n+\t<dpdk dir># ./usertools/dpdk-devbind.py -b vfio-pci e7:01.0 ec:01.0\r\n+\r\n+2. Launch vhost by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 -a 0000:e7:01.0 -a 0000:ec:01.0 \\\r\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx --lcore-dma=[lcore2@0000:e7:01.0-q0,lcore2@0000:ec:01.0-q1,lcore2@wq0.0,lcore2@wq2.0]\r\n+\r\n+3. Launch virtio-user1 by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 --no-pci --file-prefix=virtio1 \\\r\n+\t--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 \\\r\n+\t-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\r\n+\ttestpmd>set fwd rxonly\r\n+\ttestpmd>start\r\n+\r\n+4. Attach pdump secondary process to primary process of virtio-user1 by same file-prefix::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 -- --pdump 'device_id=net_virtio_user1,queue=0,rx-dev=/tmp/dsa-va-rx.pcap,mbuf-size=8000'\r\n+\r\n+5. Launch virtio-user0 and send packets::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 --no-pci --file-prefix=virtio \\\r\n+\t--vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net0,queues=2,server=1,packed_vq=1,mrg_rxbuf=1,in_order=1,queue_size=4096 \\\r\n+\t-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096\r\n+\ttestpmd>set burst 1\r\n+\ttestpmd>set txpkts 64,256,2000,64,256,2000\r\n+\ttestpmd>start tx_first 27\r\n+\ttestpmd>stop\r\n+\ttestpmd>set burst 32\r\n+\ttestpmd>set txpkts 64\r\n+\ttestpmd>start tx_first 7\r\n+\ttestpmd>stop\r\n+\r\n+6. Start vhost testpmd, quit pdump and check virtio-user1 RX-packets is 502 packets and 279232 bytes and 54 packets with 4640 length and 448 packets with 64 length in pdump-virtio-rx.pcap.\r\n+\r\n+7. Clear virtio-user1 port stats::\r\n+\r\n+\ttestpmd>stop\r\n+\ttestpmd>clear port stats all\r\n+\ttestpmd>start\r\n+\r\n+8. Quit and relaunch vhost with diff dsa channel by below command::\r\n+\r\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 \\\r\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0;txq1]' \\\r\n+\t--iova=va -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=4096 --rxd=4096 --no-flush-rx --lcore-dma=[lcore2@0000:e7:01.0-q2,lcore2@0000:e7:01.0-q5,lcore2@0000:ec:01.0-q4,lcore2@wq0.1,lcore2@wq0.3]\r\n+\r\n+9. Rerun step 4.\r\n+\r\n+10. Virtio-user0 send packets::\r\n+\r\n+\ttestpmd>set burst 1\r\n+\ttestpmd>set txpkts 64,256,2000,64,256,2000\r\n+\ttestpmd>start tx_first 27\r\n+\ttestpmd>stop\r\n+\ttestpmd>set burst 32\r\n+\ttestpmd>set txpkts 64\r\n+\ttestpmd>start tx_first 7\r\n+\ttestpmd>stop\r\n+\r\n+11. Rerun step 6.\r\n",
    "prefixes": [
        "V1",
        "6/7"
    ]
}