get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 109184,
    "url": "http://patchwork.dpdk.org/api/patches/109184/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dts/patch/20220406085635.27372-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": "<20220406085635.27372-1-weix.ling@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20220406085635.27372-1-weix.ling@intel.com",
    "date": "2022-04-06T08:56:35",
    "name": "[V1,1/5] test_plans/vm2vm_virtio_pmd_test_plan: delete CBDMA case 9-11",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "93e4caab36e24d69bf3d05f0b8067bd84a6c5c00",
    "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/20220406085635.27372-1-weix.ling@intel.com/mbox/",
    "series": [
        {
            "id": 22365,
            "url": "http://patchwork.dpdk.org/api/series/22365/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dts/list/?series=22365",
            "date": "2022-04-06T08:56:20",
            "name": "migrate cbdma case in new testsuite",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/22365/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/109184/comments/",
    "check": "pending",
    "checks": "http://patchwork.dpdk.org/api/patches/109184/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 78449A0509;\n\tWed,  6 Apr 2022 10:56:49 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 6DAD1427EB;\n\tWed,  6 Apr 2022 10:56:49 +0200 (CEST)",
            "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n by mails.dpdk.org (Postfix) with ESMTP id E68E440689\n for <dts@dpdk.org>; Wed,  6 Apr 2022 10:56:46 +0200 (CEST)",
            "from orsmga008.jf.intel.com ([10.7.209.65])\n by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 06 Apr 2022 01:56:42 -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 06 Apr 2022 01:56:40 -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=1649235407; x=1680771407;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=ZG8kEg6Rhsz2gzTLI+a4qB3KKkemshVYaXM6LAx8VgI=;\n b=VFUT29n3TB9nqoiCS6KcIG7Spfdx8QIOkMD21qYuqlhFxCkBo0MRWKvx\n QQd3fSFsyLIZjNplv4B2a5Z5qVKaKWTqgAbpXapDnHwrMmvWNXB6D4XZZ\n 2pVDq2mzeyaYSPMxUZ8c3PdB9ym+z/yRmxIB13gO0rg0T3P/eQiCfBZHB\n fGF+nHlCNI6MQ6KA6hpqk3SFpNc6EZJHDxdfDi5uqt91q+/9/Q1dfXUnd\n YYFB9MaVTa1XbuI+DH+MPd5uNmnujNYSrvsXNc8NNbV7Bqj7c2gkyOhCe\n oBBTjdLwqmCedYrigaT9PH/QMlNyImVd4KU4zRInfgE/EkPVsx1GeiZlU g==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10308\"; a=\"241576786\"",
            "E=Sophos;i=\"5.90,239,1643702400\"; d=\"scan'208\";a=\"241576786\"",
            "E=Sophos;i=\"5.90,239,1643702400\"; d=\"scan'208\";a=\"570419935\""
        ],
        "From": "Wei Ling <weix.ling@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Wei Ling <weix.ling@intel.com>",
        "Subject": "[dts][PATCH V1 1/5] test_plans/vm2vm_virtio_pmd_test_plan: delete\n CBDMA case 9-11",
        "Date": "Wed,  6 Apr 2022 16:56:35 +0800",
        "Message-Id": "<20220406085635.27372-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 case 9-11 form test_plans/vm2vm_virtio_pmd_test_plan.\n\nSigned-off-by: Wei Ling <weix.ling@intel.com>\n---\n test_plans/vm2vm_virtio_pmd_test_plan.rst | 389 +++++++---------------\n 1 file changed, 123 insertions(+), 266 deletions(-)",
    "diff": "diff --git a/test_plans/vm2vm_virtio_pmd_test_plan.rst b/test_plans/vm2vm_virtio_pmd_test_plan.rst\nindex 903695ff..3074cfde 100644\n--- a/test_plans/vm2vm_virtio_pmd_test_plan.rst\n+++ b/test_plans/vm2vm_virtio_pmd_test_plan.rst\n@@ -34,22 +34,69 @@\n vm2vm vhost-user/virtio-pmd test plan\n =====================================\n \n-This test plan includes vm2vm mergeable, normal and vector_rx path test with virtio 0.95 and virtio 1.0,\n-also add mergeable and normal path test with virtio 1.1. Specially, three mergeable path cases check the\n-payload of each packets are valid by using pdump.\n-Note: Blow cases 9-11 which have cbdma usage should add dpdk local path to support async vhostpmd.\n+Description\n+===========\n \n-Test flow\n+This test plan includes vm2vm mergeable, normal and vector_rx path test with virtio 0.95 and virtio 1.0.\n+Since qemu 4.2.0, Packed virtqueue mergeable path and Packed virtqueue non-mergeable path can be supported.\n+then also add mergeable and non-mergeable path test with virtio 1.1.\n+\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-pmd-->Vhost-user-->Testpmd-->Vhost-user-->Virtio-pmd\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, 0000:00:04.0, 0000:00:04.1 is DMA 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+      DMA devices using kernel driver\n+      ===============================\n+      0000:00:04.0 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=vfio-pci\n+      0000:00:04.1 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=vfio-pci\n+\n+Test case\n =========\n-Virtio-pmd <-> Vhost-user <-> Testpmd <-> Vhost-user <-> Virtio-pmd\n+\n+Common steps\n+------------\n \n Test Case 1: VM2VM vhost-user/virtio-pmd with vector_rx path\n ============================================================\n+This case uses testpmd and QEMU to test virtio0.95 vector_rx path and forward packets between 2 VMs.\n \n-1. Bind one physical nic port to vfio-pci, then launch the testpmd by below commands::\n+1. Launch the testpmd by below commands::\n \n-    rm -rf vhost-net*\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xc0000 -n 4 --no-pci --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net0,queues=1' --vdev 'net_vhost1,iface=vhost-net1,queues=1'  -- -i --nb-cores=1 --txd=1024 --rxd=1024\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xc0000 -n 4 --no-pci --file-prefix=vhost \\\n+    --vdev 'net_vhost0,iface=vhost-net0,queues=1' --vdev 'net_vhost1,iface=vhost-net1,queues=1' \\\n+    -- -i --nb-cores=1 --txd=1024 --rxd=1024\n     testpmd>set fwd mac\n     testpmd>start\n \n@@ -64,7 +111,8 @@ Test Case 1: VM2VM vhost-user/virtio-pmd with vector_rx path\n     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6002-:22 \\\n     -chardev socket,id=char0,path=./vhost-net0 \\\n     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \\\n-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=true,mrg_rxbuf=off,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on -vnc :10\n+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=true,mrg_rxbuf=off,\\\n+    csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on -vnc :10\n \n     qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 4 -m 4096 \\\n     -object memory-backend-file,id=mem,size=4096M,mem-path=/mnt/huge,share=on \\\n@@ -75,7 +123,8 @@ Test Case 1: VM2VM vhost-user/virtio-pmd with vector_rx path\n     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6003-:22 \\\n     -chardev socket,id=char0,path=./vhost-net1 \\\n     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \\\n-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=true,mrg_rxbuf=off,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on -vnc :12\n+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=true,mrg_rxbuf=off,\\\n+    csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on -vnc :12\n \n 3. On VM1, bind vdev with vfio-pci driver,then run testpmd, set rxonly for virtio1, [0000:xx.00] is [Bus,Device,Function] of virtio-net::\n \n@@ -100,11 +149,14 @@ Test Case 1: VM2VM vhost-user/virtio-pmd with vector_rx path\n \n Test Case 2: VM2VM vhost-user/virtio-pmd with normal path\n =========================================================\n+This case uses testpmd and QEMU to test virtio0.95 normal path and forward packets between 2 VMs.\n \n-1. Bind one physical nic port to vfio-pci, then launch the testpmd by below commands::\n+1. Launch the testpmd by below commands::\n \n     rm -rf vhost-net*\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xc0000 -n 4 --no-pci --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net0,queues=1' --vdev 'net_vhost1,iface=vhost-net1,queues=1'  -- -i --nb-cores=1 --txd=1024 --rxd=1024\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xc0000 -n 4 --no-pci --file-prefix=vhost \\\n+    --vdev 'net_vhost0,iface=vhost-net0,queues=1' --vdev 'net_vhost1,iface=vhost-net1,queues=1' \\\n+    -- -i --nb-cores=1 --txd=1024 --rxd=1024\n     testpmd>set fwd mac\n     testpmd>start\n \n@@ -119,7 +171,8 @@ Test Case 2: VM2VM vhost-user/virtio-pmd with normal path\n     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6002-:22 \\\n     -chardev socket,id=char0,path=./vhost-net0 \\\n     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \\\n-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=true,mrg_rxbuf=off,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on -vnc :10\n+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=true,mrg_rxbuf=off,\\\n+    csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on -vnc :10\n \n     qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 4 -m 4096 \\\n     -object memory-backend-file,id=mem,size=4096M,mem-path=/mnt/huge,share=on \\\n@@ -130,7 +183,8 @@ Test Case 2: VM2VM vhost-user/virtio-pmd with normal path\n     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6003-:22 \\\n     -chardev socket,id=char0,path=./vhost-net1 \\\n     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \\\n-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=true,mrg_rxbuf=off,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on -vnc :12\n+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=true,mrg_rxbuf=off,\\\n+    csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on -vnc :12\n \n 3. On VM1, bind vdev with vfio-pci driver,then run testpmd, set rxonly for virtio1 ::\n \n@@ -155,11 +209,14 @@ Test Case 2: VM2VM vhost-user/virtio-pmd with normal path\n \n Test Case 3: VM2VM vhost-user/virtio1.0-pmd with vector_rx path\n ===============================================================\n+This case uses testpmd and QEMU to test virtio1.0 vector_rx path and forward packets between 2 VMs.\n \n-1. Bind one physical nic port to vfio-pci, then launch the testpmd by below commands::\n+1. Launch the testpmd by below commands::\n \n     rm -rf vhost-net*\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xc0000 -n 4 --no-pci --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net0,queues=1' --vdev 'net_vhost1,iface=vhost-net1,queues=1'  -- -i --nb-cores=1 --txd=1024 --rxd=1024\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xc0000 -n 4 --no-pci --file-prefix=vhost \\\n+    --vdev 'net_vhost0,iface=vhost-net0,queues=1' --vdev 'net_vhost1,iface=vhost-net1,queues=1' \\\n+    -- -i --nb-cores=1 --txd=1024 --rxd=1024\n     testpmd>set fwd mac\n     testpmd>start\n \n@@ -174,7 +231,8 @@ Test Case 3: VM2VM vhost-user/virtio1.0-pmd with vector_rx path\n     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6002-:22 \\\n     -chardev socket,id=char0,path=./vhost-net0 \\\n     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \\\n-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=off,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on -vnc :10\n+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=off,\\\n+    csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on -vnc :10\n \n     qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 4 -m 4096 \\\n     -object memory-backend-file,id=mem,size=4096M,mem-path=/mnt/huge,share=on \\\n@@ -185,7 +243,8 @@ Test Case 3: VM2VM vhost-user/virtio1.0-pmd with vector_rx path\n     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6003-:22 \\\n     -chardev socket,id=char0,path=./vhost-net1 \\\n     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \\\n-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=false,mrg_rxbuf=off,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on -vnc :12\n+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=false,mrg_rxbuf=off,\\\n+    csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on -vnc :12\n \n 3. On VM1, bind vdev with vfio-pci driver,then run testpmd, set rxonly for virtio1, [0000:xx.00] is [Bus,Device,Function] of virtio-net::\n \n@@ -210,11 +269,14 @@ Test Case 3: VM2VM vhost-user/virtio1.0-pmd with vector_rx path\n \n Test Case 4: VM2VM vhost-user/virtio1.0-pmd with normal path\n ============================================================\n+This case uses testpmd and QEMU to test virtio1.0 normal path and forward packets between 2 VMs.\n \n-1. Bind one physical nic port to vfio-pci, then launch the testpmd by below commands::\n+1. Launch the testpmd by below commands::\n \n     rm -rf vhost-net*\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xc0000 -n 4 --no-pci --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net0,queues=1' --vdev 'net_vhost1,iface=vhost-net1,queues=1'  -- -i --nb-cores=1 --txd=1024 --rxd=1024\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xc0000 -n 4 --no-pci --file-prefix=vhost \\\n+    --vdev 'net_vhost0,iface=vhost-net0,queues=1' --vdev 'net_vhost1,iface=vhost-net1,queues=1'  \\\n+    -- -i --nb-cores=1 --txd=1024 --rxd=1024\n     testpmd>set fwd mac\n     testpmd>start\n \n@@ -229,7 +291,8 @@ Test Case 4: VM2VM vhost-user/virtio1.0-pmd with normal path\n     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6002-:22 \\\n     -chardev socket,id=char0,path=./vhost-net0 \\\n     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \\\n-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=off,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on -vnc :10\n+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=off,\\\n+    csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on -vnc :10\n \n     qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 4 -m 4096 \\\n     -object memory-backend-file,id=mem,size=4096M,mem-path=/mnt/huge,share=on \\\n@@ -240,7 +303,8 @@ Test Case 4: VM2VM vhost-user/virtio1.0-pmd with normal path\n     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6003-:22 \\\n     -chardev socket,id=char0,path=./vhost-net1 \\\n     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \\\n-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=false,mrg_rxbuf=off,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on -vnc :12\n+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=false,mrg_rxbuf=off,\\\n+    csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on -vnc :12\n \n 3. On VM1, bind vdev with vfio-pci driver,then run testpmd, set rxonly for virtio1 ::\n \n@@ -265,10 +329,13 @@ Test Case 4: VM2VM vhost-user/virtio1.0-pmd with normal path\n \n Test Case 5: VM2VM vhost-user/virtio-pmd mergeable path with payload valid check\n ================================================================================\n+This case uses testpmd and QEMU to test virtio0.95 mergeable path and forward packets between 2 VMs and verify receive packets payload.\n \n-1. Bind virtio with vfio-pci driver, launch the testpmd by below commands::\n+1. Launch the testpmd by below commands::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xc0000 -n 4 --no-pci --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net0,queues=1' --vdev 'net_vhost1,iface=vhost-net1,queues=1'  -- -i --nb-cores=1 --txd=1024 --rxd=1024\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xc0000 -n 4 --no-pci --file-prefix=vhost \\\n+    --vdev 'net_vhost0,iface=vhost-net0,queues=1' --vdev 'net_vhost1,iface=vhost-net1,queues=1' \\\n+    -- -i --nb-cores=1 --txd=1024 --rxd=1024\n     testpmd>set fwd mac\n     testpmd>start\n \n@@ -283,7 +350,8 @@ Test Case 5: VM2VM vhost-user/virtio-pmd mergeable path with payload valid check\n     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6002-:22 \\\n     -chardev socket,id=char0,path=./vhost-net0 \\\n     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \\\n-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=true,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on -vnc :10\n+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=true,mrg_rxbuf=on,\\\n+    csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on -vnc :10\n \n     qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 4 -m 4096 \\\n     -object memory-backend-file,id=mem,size=4096M,mem-path=/mnt/huge,share=on \\\n@@ -294,7 +362,8 @@ Test Case 5: VM2VM vhost-user/virtio-pmd mergeable path with payload valid check\n     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6003-:22 \\\n     -chardev socket,id=char0,path=./vhost-net1 \\\n     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \\\n-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=true,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on -vnc :12\n+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=true,mrg_rxbuf=on,\\\n+    csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on -vnc :12\n \n 3. On VM1, enable pcap lib in dpdk code and recompile::\n \n@@ -353,10 +422,13 @@ Test Case 5: VM2VM vhost-user/virtio-pmd mergeable path with payload valid check\n \n Test Case 6: VM2VM vhost-user/virtio1.0-pmd mergeable path with payload valid check\n ===================================================================================\n+This case uses testpmd and QEMU to test virtio1.0 mergeable path and forward packets between 2 VMs and verify receive packets payload.\n \n-1. Bind virtio with vfio-pci driver, launch the testpmd by below commands::\n+1. Launch the testpmd by below commands::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xc0000 -n 4 --no-pci --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net0,queues=1' --vdev 'net_vhost1,iface=vhost-net1,queues=1'  -- -i --nb-cores=1 --txd=1024 --rxd=1024\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xc0000 -n 4 --no-pci --file-prefix=vhost \\\n+    --vdev 'net_vhost0,iface=vhost-net0,queues=1' --vdev 'net_vhost1,iface=vhost-net1,queues=1' \\\n+    -- -i --nb-cores=1 --txd=1024 --rxd=1024\n     testpmd>set fwd mac\n     testpmd>start\n \n@@ -371,7 +443,8 @@ Test Case 6: VM2VM vhost-user/virtio1.0-pmd mergeable path with payload valid ch\n     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6002-:22 \\\n     -chardev socket,id=char0,path=./vhost-net0 \\\n     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \\\n-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on -vnc :10\n+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=on,\\\n+    csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on -vnc :10\n \n     qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 4 -m 4096 \\\n     -object memory-backend-file,id=mem,size=4096M,mem-path=/mnt/huge,share=on \\\n@@ -382,7 +455,8 @@ Test Case 6: VM2VM vhost-user/virtio1.0-pmd mergeable path with payload valid ch\n     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6003-:22 \\\n     -chardev socket,id=char0,path=./vhost-net1 \\\n     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \\\n-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=false,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on -vnc :12\n+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=false,mrg_rxbuf=on,\\\n+    csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on -vnc :12\n \n 3. On VM1, enable pcap lib in dpdk code and recompile::\n \n@@ -441,10 +515,13 @@ Test Case 6: VM2VM vhost-user/virtio1.0-pmd mergeable path with payload valid ch\n \n Test Case 7: VM2VM vhost-user/virtio1.1-pmd mergeable path with payload valid check\n ===================================================================================\n+This case uses testpmd and QEMU to test virtio1.1 mergeable path and forward packets between 2 VMs and verify receive packets payload.\n \n-1. Bind virtio with vfio-pci driver, launch the testpmd by below commands::\n+1. Launch the testpmd by below commands::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xc0000 -n 4 --no-pci --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net0,queues=1' --vdev 'net_vhost1,iface=vhost-net1,queues=1'  -- -i --nb-cores=1 --txd=1024 --rxd=1024\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xc0000 -n 4 --no-pci --file-prefix=vhost \\\n+    --vdev 'net_vhost0,iface=vhost-net0,queues=1' --vdev 'net_vhost1,iface=vhost-net1,queues=1' \\\n+    -- -i --nb-cores=1 --txd=1024 --rxd=1024\n     testpmd>set fwd mac\n     testpmd>start\n \n@@ -459,7 +536,8 @@ Test Case 7: VM2VM vhost-user/virtio1.1-pmd mergeable path with payload valid ch\n     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6002-:22 \\\n     -chardev socket,id=char0,path=./vhost-net0 \\\n     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \\\n-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :10\n+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=on,\\\n+    csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :10\n \n     qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 4 -m 4096 \\\n     -object memory-backend-file,id=mem,size=4096M,mem-path=/mnt/huge,share=on \\\n@@ -470,7 +548,8 @@ Test Case 7: VM2VM vhost-user/virtio1.1-pmd mergeable path with payload valid ch\n     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6003-:22 \\\n     -chardev socket,id=char0,path=./vhost-net1 \\\n     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \\\n-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=false,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :12\n+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=false,mrg_rxbuf=on,\\\n+    csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :12\n \n 3. On VM1, enable pcap lib in dpdk code and recompile::\n \n@@ -529,11 +608,14 @@ Test Case 7: VM2VM vhost-user/virtio1.1-pmd mergeable path with payload valid ch\n \n Test Case 8: VM2VM vhost-user/virtio1.1-pmd with normal path\n ============================================================\n+This case uses testpmd and QEMU to test virtio1.1 normal path and forward packets between 2 VMs.\n \n-1. Bind one physical nic port to vfio-pci, then launch the testpmd by below commands::\n+1. Launch the testpmd by below commands::\n \n     rm -rf vhost-net*\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xc0000 -n 4 --no-pci --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net0,queues=1' --vdev 'net_vhost1,iface=vhost-net1,queues=1'  -- -i --nb-cores=1 --txd=1024 --rxd=1024\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xc0000 -n 4 --no-pci --file-prefix=vhost \\\n+    --vdev 'net_vhost0,iface=vhost-net0,queues=1' --vdev 'net_vhost1,iface=vhost-net1,queues=1' \\\n+    -- -i --nb-cores=1 --txd=1024 --rxd=1024\n     testpmd>set fwd mac\n     testpmd>start\n \n@@ -548,7 +630,8 @@ Test Case 8: VM2VM vhost-user/virtio1.1-pmd with normal path\n     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6002-:22 \\\n     -chardev socket,id=char0,path=./vhost-net0 \\\n     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \\\n-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=off,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :10\n+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=off,\\\n+    csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :10\n \n     qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 4 -m 4096 \\\n     -object memory-backend-file,id=mem,size=4096M,mem-path=/mnt/huge,share=on \\\n@@ -559,7 +642,8 @@ Test Case 8: VM2VM vhost-user/virtio1.1-pmd with normal path\n     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6003-:22 \\\n     -chardev socket,id=char0,path=./vhost-net1 \\\n     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \\\n-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=false,mrg_rxbuf=off,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :12\n+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=false,mrg_rxbuf=off,\\\n+    csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on -vnc :12\n \n 3. On VM1, bind vdev with vfio-pci driver,then run testpmd, set rxonly for virtio1 ::\n \n@@ -582,230 +666,3 @@ Test Case 8: VM2VM vhost-user/virtio1.1-pmd with normal path\n     RX-pps:            xxx\n     TX-pps:            xxx\n \n-Test Case 9: VM2VM virtio-pmd split ring mergeable path 8 queues CBDMA enable with server mode stable test\n-==========================================================================================================\n-\n-1. Bind 16 cbdma channels to vfio-pci driver, then launch the testpmd with 2 vhost port and 8 queues by below commands::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-5 -n 4 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net0,client=1,queues=8,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1;txq2@0000:00:04.2;txq3@0000:00:04.3;txq4@0000:00:04.4;txq5@0000:00:04.5;txq6@0000:00:04.6;txq7@0000:00:04.7]' \\\n-    --vdev 'net_vhost1,iface=vhost-net1,client=1,queues=8,dmas=[txq0@0000:80:04.0;txq1@0000:80:04.1;txq2@0000:80:04.2;txq3@0000:80:04.3;txq4@0000:80:04.4;txq5@0000:80:04.5;txq6@0000:80:04.6;txq7@0000:80:04.7]'  -- -i --nb-cores=4 --txd=1024 --rxd=1024 --rxq=8 --txq=8\n-    testpmd>vhost enable tx all\n-    testpmd>start\n-\n-2. Launch VM1 and VM2 using qemu5.2.0::\n-\n-    taskset -c 6-16 /home/qemu-install/qemu-5.2/bin/qemu-system-x86_64 -name vm1 -enable-kvm -cpu host -smp 9 -m 4096 \\\n-    -object memory-backend-file,id=mem,size=4096M,mem-path=/mnt/huge,share=on \\\n-    -numa node,memdev=mem -mem-prealloc -drive file=/home/osimg/ubuntu20-04.img  \\\n-    -chardev socket,path=/tmp/vm2_qga0.sock,server,nowait,id=vm2_qga0 -device virtio-serial \\\n-    -device virtserialport,chardev=vm2_qga0,name=org.qemu.guest_agent.2 -daemonize \\\n-    -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=nttsip1 \\\n-    -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6002-:22 \\\n-    -chardev socket,id=char0,path=./vhost-net0,server \\\n-    -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce,queues=8 \\\n-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=on,mq=on,vectors=40,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,guest_ufo=on,host_ufo=on -vnc :10\n-\n-    taskset -c 17-27 /home/qemu-install/qemu-5.2/bin/qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 9 -m 4096 \\\n-    -object memory-backend-file,id=mem,size=4096M,mem-path=/mnt/huge,share=on \\\n-    -numa node,memdev=mem -mem-prealloc -drive file=/home/osimg/ubuntu20-04-2.img  \\\n-    -chardev socket,path=/tmp/vm2_qga0.sock,server,nowait,id=vm2_qga0 -device virtio-serial \\\n-    -device virtserialport,chardev=vm2_qga0,name=org.qemu.guest_agent.2 -daemonize \\\n-    -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=nttsip1 \\\n-    -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6003-:22 \\\n-    -chardev socket,id=char0,path=./vhost-net1,server \\\n-    -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce,queues=8 \\\n-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=false,mrg_rxbuf=on,mq=on,vectors=40,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,guest_ufo=on,host_ufo=on -vnc :12\n-\n-3. On VM1 and VM2, bind virtio device with vfio-pci driver::\n-\n-    modprobe vfio\n-    modprobe vfio-pci\n-    echo 1 > /sys/module/vfio/parameters/enable_unsafe_noiommu_mode\n-    ./usertools/dpdk-devbind.py --force --bind=vfio-pci 0000:00:05.0\n-\n-4. Launch testpmd in VM1::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x3 -n 4 -- -i --tx-offloads=0x00 --enable-hw-vlan-strip --txq=8 --rxq=8 --txd=1024 --rxd=1024 --max-pkt-len=9600 --rx-offloads=0x00002000\n-    testpmd>set mac fwd\n-    testpmd>start\n-\n-5. Launch testpmd in VM2, sent imix pkts from VM2::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x3 -n 4 -- -i --tx-offloads=0x00 --enable-hw-vlan-strip --txq=8 --rxq=8 --txd=1024 --rxd=1024 --max-pkt-len=9600 --rx-offloads=0x00002000\n-    testpmd>set mac fwd\n-    testpmd>set txpkts 64,256,512,1024,2000,64,256,512,1024,2000\n-    testpmd>start tx_first 1\n-\n-6. Check imix packets can looped between two VMs for 1 mins and 8 queues all have packets rx/tx::\n-\n-    testpmd>show port stats all\n-    testpmd>stop\n-\n-7. Relaunch and start vhost side testpmd with below cmd::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-5 -n 4 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net0,client=1,queues=8,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1;txq2@0000:00:04.2;txq3@0000:00:04.3;txq4@0000:00:04.4;txq5@0000:00:04.5;txq6@0000:00:04.6;txq7@0000:00:04.7]' \\\n-    --vdev 'net_vhost1,iface=vhost-net1,client=1,queues=8,dmas=[txq0@0000:80:04.0;txq1@0000:80:04.1;txq2@0000:80:04.2;txq3@0000:80:04.3;txq4@0000:80:04.4;txq5@0000:80:04.5;txq6@0000:80:04.6;txq7@0000:80:04.7]'  -- -i --nb-cores=4 --txd=1024 --rxd=1024 --rxq=8 --txq=8\n-    testpmd>start\n-\n-8. Send pkts by testpmd in VM2, check imix packets can looped between two VMs for 1 mins and 8 queues all have packets rx/tx::\n-\n-    testpmd>stop\n-    testpmd>start tx_first 1\n-    testpmd>show port stats all\n-    testpmd>stop\n-\n-9. Rerun step 7-8 for 10 times.\n-\n-Test Case 10: VM2VM virtio-pmd split ring mergeable path dynamic queue size CBDMA enable with server mode test\n-==============================================================================================================\n-\n-1. Bind 16 cbdma channels to vfio-pci driver, then launch the testpmd with 2 vhost ports below commands::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-5 -n 4 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net0,client=1,queues=8,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1;txq2@0000:00:04.2;txq3@0000:00:04.3;txq4@0000:00:04.4;txq5@0000:00:04.5;txq6@0000:00:04.6;txq7@0000:00:04.7]' \\\n-    --vdev 'net_vhost1,iface=vhost-net1,client=1,queues=8,dmas=[txq0@0000:80:04.0;txq1@0000:80:04.1;txq2@0000:80:04.2;txq3@0000:80:04.3;txq4@0000:80:04.4;txq5@0000:80:04.5;txq6@0000:80:04.6;txq7@0000:80:04.7]'  -- -i --nb-cores=4 --txd=1024 --rxd=1024 --rxq=4 --txq=4\n-    testpmd>vhost enable tx all\n-    testpmd>start\n-\n-2. Launch VM1 and VM2 using qemu5.2.0::\n-\n-    taskset -c 6-16 /home/qemu-install/qemu-5.2/bin/qemu-system-x86_64 -name vm1 -enable-kvm -cpu host -smp 9 -m 4096 \\\n-    -object memory-backend-file,id=mem,size=4096M,mem-path=/mnt/huge,share=on \\\n-    -numa node,memdev=mem -mem-prealloc -drive file=/home/osimg/ubuntu20-04.img  \\\n-    -chardev socket,path=/tmp/vm2_qga0.sock,server,nowait,id=vm2_qga0 -device virtio-serial \\\n-    -device virtserialport,chardev=vm2_qga0,name=org.qemu.guest_agent.2 -daemonize \\\n-    -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=nttsip1 \\\n-    -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6002-:22 \\\n-    -chardev socket,id=char0,path=./vhost-net0,server \\\n-    -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce,queues=8 \\\n-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=on,mq=on,vectors=40,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,guest_ufo=on,host_ufo=on -vnc :10\n-\n-    taskset -c 17-27 /home/qemu-install/qemu-5.2/bin/qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 9 -m 4096 \\\n-    -object memory-backend-file,id=mem,size=4096M,mem-path=/mnt/huge,share=on \\\n-    -numa node,memdev=mem -mem-prealloc -drive file=/home/osimg/ubuntu20-04-2.img  \\\n-    -chardev socket,path=/tmp/vm2_qga0.sock,server,nowait,id=vm2_qga0 -device virtio-serial \\\n-    -device virtserialport,chardev=vm2_qga0,name=org.qemu.guest_agent.2 -daemonize \\\n-    -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=nttsip1 \\\n-    -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6003-:22 \\\n-    -chardev socket,id=char0,path=./vhost-net1,server \\\n-    -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce,queues=8 \\\n-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=false,mrg_rxbuf=on,mq=on,vectors=40,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,guest_ufo=on,host_ufo=on -vnc :12\n-\n-3. On VM1 and VM2, bind virtio device with vfio-pci driver::\n-\n-    modprobe vfio\n-    modprobe vfio-pci\n-    echo 1 > /sys/module/vfio/parameters/enable_unsafe_noiommu_mode\n-    ./usertools/dpdk-devbind.py --force --bind=vfio-pci 0000:00:05.0\n-\n-4. Launch testpmd in VM1::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x3 -n 4 -- -i --tx-offloads=0x00 --enable-hw-vlan-strip --txq=8 --rxq=8 --txd=1024 --rxd=1024 --max-pkt-len=9600 --rx-offloads=0x00002000\n-    testpmd>set mac fwd\n-    testpmd>start\n-\n-5. Launch testpmd in VM2 and send imix pkts, check imix packets can looped between two VMs for 1 mins and 4 queues (queue0 to queue3) have packets rx/tx::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x3 -n 4 -- -i --tx-offloads=0x00 --enable-hw-vlan-strip --txq=8 --rxq=8 --txd=1024 --rxd=1024 --max-pkt-len=9600 --rx-offloads=0x00002000\n-    testpmd>set mac fwd\n-    testpmd>set txpkts 64,256,512,1024,2000,64,256,512,1024,2000\n-    testpmd>start tx_first 32\n-    testpmd>show port stats all\n-    testpmd>stop\n-\n-6. Relaunch and start vhost side testpmd with eight queues::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-5 -n 4 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net0,client=1,queues=8,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1;txq2@0000:00:04.2;txq3@0000:00:04.3;txq4@0000:00:04.4;txq5@0000:00:04.5;txq6@0000:00:04.6;txq7@0000:00:04.7]' \\\n-    --vdev 'net_vhost1,iface=vhost-net1,client=1,queues=8,dmas=[txq0@0000:80:04.0;txq1@0000:80:04.1;txq2@0000:80:04.2;txq3@0000:80:04.3;txq4@0000:80:04.4;txq5@0000:80:04.5;txq6@0000:80:04.6;txq7@0000:80:04.7]'  -- -i --nb-cores=4 --txd=1024 --rxd=1024 --rxq=8 --txq=8\n-    testpmd>start\n-\n-7. Send pkts by testpmd in VM2, check imix packets can looped between two VMs for 1 mins and 8 queues all have packets rx/tx::\n-\n-    testpmd>stop\n-    testpmd>start tx_first 32\n-    testpmd>show port stats all\n-    testpmd>stop\n-\n-8. Rerun step 6-7 for 10 times.\n-\n-Test Case 11: VM2VM virtio-pmd packed ring mergeable path 8 queues CBDMA enable test\n-=====================================================================================\n-\n-1. Bind 16 cbdma channels to vfio-pci driver, then launch the testpmd with 2 vhost port and 8 queues by below commands::\n-\n-    rm -rf vhost-net*\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-5 -n 4 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net0,queues=8,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1;txq2@0000:00:04.2;txq3@0000:00:04.3;txq4@0000:00:04.4;txq5@0000:00:04.5;txq6@0000:00:04.6;txq7@0000:00:04.7]' \\\n-    --vdev 'net_vhost1,iface=vhost-net1,queues=8,dmas=[txq0@0000:80:04.0;txq1@0000:80:04.1;txq2@0000:80:04.2;txq3@0000:80:04.3;txq4@0000:80:04.4;txq5@0000:80:04.5;txq6@0000:80:04.6;txq7@0000:80:04.7]'  -- -i --nb-cores=4 --txd=1024 --rxd=1024 --rxq=8 --txq=8\n-    testpmd>vhost enable tx all\n-    testpmd>start\n-\n-2. Launch VM1 and VM2 with qemu 5.2.0::\n-\n-    taskset -c 6-16 qemu-system-x86_64 -name vm1 -enable-kvm -cpu host -smp 9 -m 4096 \\\n-    -object memory-backend-file,id=mem,size=4096M,mem-path=/mnt/huge,share=on \\\n-    -numa node,memdev=mem -mem-prealloc -drive file=/home/osimg/ubuntu20-04.img  \\\n-    -chardev socket,path=/tmp/vm2_qga0.sock,server,nowait,id=vm2_qga0 -device virtio-serial \\\n-    -device virtserialport,chardev=vm2_qga0,name=org.qemu.guest_agent.2 -daemonize \\\n-    -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=nttsip1 \\\n-    -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6002-:22 \\\n-    -chardev socket,id=char0,path=./vhost-net0 \\\n-    -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce,queues=8 \\\n-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=on,mq=on,vectors=40,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,guest_ufo=on,host_ufo=on,packed=on -vnc :10\n-\n-    taskset -c 17-27 qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 9 -m 4096 \\\n-    -object memory-backend-file,id=mem,size=4096M,mem-path=/mnt/huge,share=on \\\n-    -numa node,memdev=mem -mem-prealloc -drive file=/home/osimg/ubuntu20-04-2.img  \\\n-    -chardev socket,path=/tmp/vm2_qga0.sock,server,nowait,id=vm2_qga0 -device virtio-serial \\\n-    -device virtserialport,chardev=vm2_qga0,name=org.qemu.guest_agent.2 -daemonize \\\n-    -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=nttsip1 \\\n-    -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6003-:22 \\\n-    -chardev socket,id=char0,path=./vhost-net1 \\\n-    -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce,queues=8 \\\n-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:02,disable-modern=false,mrg_rxbuf=on,mq=on,vectors=40,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,guest_ufo=on,host_ufo=on,packed=on -vnc :12\n-\n-3. On VM1 and VM2, bind virtio device with vfio-pci driver::\n-\n-    modprobe vfio\n-    modprobe vfio-pci\n-    echo 1 > /sys/module/vfio/parameters/enable_unsafe_noiommu_mode\n-    ./usertools/dpdk-devbind.py --force --bind=vfio-pci 0000:00:05.0\n-\n-4. Launch testpmd in VM1::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x3 -n 4 -- -i --tx-offloads=0x00 --enable-hw-vlan-strip --txq=8 --rxq=8 --txd=1024 --rxd=1024 --max-pkt-len=9600 --rx-offloads=0x00002000\n-    testpmd>set mac fwd\n-    testpmd>start\n-\n-5. Launch testpmd in VM2 and send imix pkts, check imix packets can looped between two VMs for 1 mins and 8 queues all have packets rx/tx::\n-\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x3 -n 4 -- -i --tx-offloads=0x00 --enable-hw-vlan-strip --txq=8 --rxq=8 --txd=1024 --rxd=1024 --max-pkt-len=9600 --rx-offloads=0x00002000\n-    testpmd>set mac fwd\n-    testpmd>set txpkts 64,256,512,1024,20000,64,256,512,1024,20000\n-    testpmd>start tx_first 32\n-    testpmd>show port stats all\n-    testpmd>stop\n-\n-6. Quit VM2 and relaunch VM2 with split ring::\n-\n-    taskset -c 6-16 qemu-system-x86_64 -name vm1 -enable-kvm -cpu host -smp 9 -m 4096 \\\n-    -object memory-backend-file,id=mem,size=4096M,mem-path=/mnt/huge,share=on \\\n-    -numa node,memdev=mem -mem-prealloc -drive file=/home/osimg/ubuntu20-04.img  \\\n-    -chardev socket,path=/tmp/vm2_qga0.sock,server,nowait,id=vm2_qga0 -device virtio-serial \\\n-    -device virtserialport,chardev=vm2_qga0,name=org.qemu.guest_agent.2 -daemonize \\\n-    -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=nttsip1 \\\n-    -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6002-:22 \\\n-    -chardev socket,id=char0,path=./vhost-net0 \\\n-    -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce,queues=8 \\\n-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=on,mq=on,vectors=40,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,guest_ufo=on,host_ufo=on -vnc :10\n-\n-7. Bind virtio device with vfio-pci driver, launch testpmd in VM2 and send imix pkts, check imix packets can looped between two VMs for 1 mins and 8 queues all have packets rx/tx::\n-\n-    modprobe vfio\n-    modprobe vfio-pci\n-    echo 1 > /sys/module/vfio/parameters/enable_unsafe_noiommu_mode\n-    ./usertools/dpdk-devbind.py --force --bind=vfio-pci 0000:00:05.0\n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x3 -n 4 -- -i --tx-offloads=0x00 --enable-hw-vlan-strip --txq=8 --rxq=8 --txd=1024 --rxd=1024 --max-pkt-len=9600 --rx-offloads=0x00002000\n-    testpmd>set mac fwd\n-    testpmd>set txpkts 64,256,512,1024,20000,64,256,512,1024,20000\n-    testpmd>start tx_first 32\n-    testpmd>show port stats all\n-    testpmd>stop\n",
    "prefixes": [
        "V1",
        "1/5"
    ]
}