get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 94256,
    "url": "https://patches.dpdk.org/api/patches/94256/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20210616094050.193455-1-yinan.wang@intel.com/",
    "project": {
        "id": 3,
        "url": "https://patches.dpdk.org/api/projects/3/?format=api",
        "name": "DTS",
        "link_name": "dts",
        "list_id": "dts.dpdk.org",
        "list_email": "dts@dpdk.org",
        "web_url": "",
        "scm_url": "git://dpdk.org/tools/dts",
        "webscm_url": "http://git.dpdk.org/tools/dts/",
        "list_archive_url": "https://inbox.dpdk.org/dts",
        "list_archive_url_format": "https://inbox.dpdk.org/dts/{}",
        "commit_url_format": ""
    },
    "msgid": "<20210616094050.193455-1-yinan.wang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20210616094050.193455-1-yinan.wang@intel.com",
    "date": "2021-06-16T09:40:50",
    "name": "[v1] test_plans/vm2vm_virtio_pmd_test_plan",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "e5ec496a12c164d4eea595de320367c9e5e2a5ad",
    "submitter": {
        "id": 1081,
        "url": "https://patches.dpdk.org/api/people/1081/?format=api",
        "name": "Wang, Yinan",
        "email": "yinan.wang@intel.com"
    },
    "delegate": {
        "id": 23642,
        "url": "https://patches.dpdk.org/api/users/23642/?format=api",
        "username": "lijuantu",
        "first_name": "LIjuan",
        "last_name": "Tu",
        "email": "lijuan.tu@intel.com"
    },
    "mbox": "https://patches.dpdk.org/project/dts/patch/20210616094050.193455-1-yinan.wang@intel.com/mbox/",
    "series": [
        {
            "id": 17341,
            "url": "https://patches.dpdk.org/api/series/17341/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=17341",
            "date": "2021-06-16T09:40:50",
            "name": "[v1] test_plans/vm2vm_virtio_pmd_test_plan",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/17341/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/94256/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/94256/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 1E974A0C48;\n\tWed, 16 Jun 2021 02:56:43 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id D550C4067A;\n\tWed, 16 Jun 2021 02:56:42 +0200 (CEST)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by mails.dpdk.org (Postfix) with ESMTP id 38FD640140\n for <dts@dpdk.org>; Wed, 16 Jun 2021 02:56:40 +0200 (CEST)",
            "from fmsmga008.fm.intel.com ([10.253.24.58])\n by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 15 Jun 2021 17:56:38 -0700",
            "from dpdk-yinan-ntb1.sh.intel.com ([10.67.119.39])\n by fmsmga008.fm.intel.com with ESMTP; 15 Jun 2021 17:56:32 -0700"
        ],
        "IronPort-SDR": [
            "\n 5qHJn1qXiPYBEPgm+K7t3BYJ5dRgtWaBDZSl+FBl1vTxQ0zvQhVOjtNZYfF1BC7x7T5h3TKRK/\n NGdigNf0ZspQ==",
            "\n XCgKWiZ7tEy8065pSq1K2X3EC9PIp8yYo4fukvHxamPUdWpSfFchHwFLcxv33UpFJ514lkujy1\n Mn/jcJq/kplQ=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10016\"; a=\"193213709\"",
            "E=Sophos;i=\"5.83,276,1616482800\"; d=\"scan'208\";a=\"193213709\"",
            "E=Sophos;i=\"5.83,276,1616482800\"; d=\"scan'208\";a=\"452154856\""
        ],
        "X-ExtLoop1": "1",
        "From": "Yinan Wang <yinan.wang@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Yinan Wang <yinan.wang@intel.com>",
        "Date": "Wed, 16 Jun 2021 05:40:50 -0400",
        "Message-Id": "<20210616094050.193455-1-yinan.wang@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dts] [PATCH v1] test_plans/vm2vm_virtio_pmd_test_plan",
        "X-BeenThere": "dts@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "test suite reviews and discussions <dts.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dts>,\n <mailto:dts-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dts/>",
        "List-Post": "<mailto:dts@dpdk.org>",
        "List-Help": "<mailto:dts-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dts>,\n <mailto:dts-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dts-bounces@dpdk.org",
        "Sender": "\"dts\" <dts-bounces@dpdk.org>"
    },
    "content": "Add three cbdma cases in vm2vm virtio-pmd suite.\n\nSigned-off-by: Yinan Wang <yinan.wang@intel.com>\n---\n test_plans/vm2vm_virtio_pmd_test_plan.rst | 230 +++++++++++++++++++++-\n 1 file changed, 229 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/test_plans/vm2vm_virtio_pmd_test_plan.rst b/test_plans/vm2vm_virtio_pmd_test_plan.rst\nindex db410e48..20314d41 100644\n--- a/test_plans/vm2vm_virtio_pmd_test_plan.rst\n+++ b/test_plans/vm2vm_virtio_pmd_test_plan.rst\n@@ -593,4 +593,232 @@ Test Case 8: VM2VM vhost-user/virtio1.1-pmd with normal path\n     xxxxx\n     Throughput (since last show)\n     RX-pps:            xxx\n-    TX-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 igb_uio driver, then launch the testpmd with 2 vhost port and 8 queues by below commands::\n+\n+    ./dpdk-testpmd -l 1-5 -n 4 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net0,client=1,queues=8,dmas=[txq0@00:04.0;txq1@00:04.1;txq2@00:04.2;txq3@00:04.3;txq4@00:04.4;txq5@00:04.5;txq6@00:04.6;txq7@00:04.7],dmathr=512' \\\n+    --vdev 'net_vhost1,iface=vhost-net1,client=1,queues=8,dmas=[txq0@80:04.0;txq1@80:04.1;txq2@80:04.2;txq3@80:04.3;txq4@80:04.4;txq5@80:04.5;txq6@80:04.6;txq7@80:04.7],dmathr=512'  -- -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+    ./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\n+    testpmd>set mac fwd\n+    testpmd>start\n+\n+5. Launch testpmd in VM2, sent imix pkts from VM2::\n+\n+    ./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\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, change cbdma threshold for one vhost port's cbdma channels::\n+\n+  ./dpdk-testpmd -l 1-5 -n 4 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net0,client=1,queues=8,dmas=[txq0@00:04.0;txq1@00:04.1;txq2@00:04.2;txq3@00:04.3;txq4@00:04.4;txq5@00:04.5;txq6@00:04.6;txq7@00:04.7],dmathr=512' \\\n+   --vdev 'net_vhost1,iface=vhost-net1,client=1,queues=8,dmas=[txq0@80:04.0;txq1@80:04.1;txq2@80:04.2;txq3@80:04.3;txq4@80:04.4;txq5@80:04.5;txq6@80:04.6;txq7@80:04.7],dmathr=64'  -- -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 igb_uio driver, then launch the testpmd with 2 vhost ports below commands::\n+\n+    ./dpdk-testpmd -l 1-5 -n 4 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net0,client=1,queues=8,dmas=[txq0@00:04.0;txq1@00:04.1;txq2@00:04.2;txq3@00:04.3;txq4@00:04.4;txq5@00:04.5;txq6@00:04.6;txq7@00:04.7],dmathr=512' \\\n+    --vdev 'net_vhost1,iface=vhost-net1,client=1,queues=8,dmas=[txq0@80:04.0;txq1@80:04.1;txq2@80:04.2;txq3@80:04.3;txq4@80:04.4;txq5@80:04.5;txq6@80:04.6;txq7@80:04.7],dmathr=512'  -- -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+    ./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\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+    ./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\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, change cbdma threshold for one vhost port's cbdma channels::\n+\n+  ./dpdk-testpmd -l 1-5 -n 4 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net0,client=1,queues=8,dmas=[txq0@00:04.0;txq1@00:04.1;txq2@00:04.2;txq3@00:04.3;txq4@00:04.4;txq5@00:04.5;txq6@00:04.6;txq7@00:04.7],dmathr=512' \\\n+   --vdev 'net_vhost1,iface=vhost-net1,client=1,queues=8,dmas=[txq0@80:04.0;txq1@80:04.1;txq2@80:04.2;txq3@80:04.3;txq4@80:04.4;txq5@80:04.5;txq6@80:04.6;txq7@80:04.7],dmathr=64'  -- -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 igb_uio driver, then launch the testpmd with 2 vhost port and 8 queues by below commands::\n+\n+    rm -rf vhost-net*\n+    ./dpdk-testpmd -l 1-5 -n 4 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net0,queues=8,dmas=[txq0@00:04.0;txq1@00:04.1;txq2@00:04.2;txq3@00:04.3;txq4@00:04.4;txq5@00:04.5;txq6@00:04.6;txq7@00:04.7],dmathr=512' \\\n+    --vdev 'net_vhost1,iface=vhost-net1,queues=8,dmas=[txq0@80:04.0;txq1@80:04.1;txq2@80:04.2;txq3@80:04.3;txq4@80:04.4;txq5@80:04.5;txq6@80:04.6;txq7@80:04.7],dmathr=512'  -- -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+    ./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\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+    ./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\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+   ./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\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"
    ]
}