get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 123095,
    "url": "http://patches.dpdk.org/api/patches/123095/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20230206044915.3644000-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": "<20230206044915.3644000-1-weix.ling@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20230206044915.3644000-1-weix.ling@intel.com",
    "date": "2023-02-06T04:49:15",
    "name": "[V1,2/4] test_plans/pvp_vhost_async_virtio_pmd_perf_dsa: add new testplan",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "1a8186762be78657ff33517adeb8419cafd9f75f",
    "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/20230206044915.3644000-1-weix.ling@intel.com/mbox/",
    "series": [
        {
            "id": 26808,
            "url": "http://patches.dpdk.org/api/series/26808/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=26808",
            "date": "2023-02-06T04:48:48",
            "name": "add pvp_vhost_async_virtio_pmd_perf_dsa",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/26808/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/123095/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/123095/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 106BC41BE7;\n\tMon,  6 Feb 2023 06:01:21 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 03A7342D0D;\n\tMon,  6 Feb 2023 06:01:21 +0100 (CET)",
            "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n by mails.dpdk.org (Postfix) with ESMTP id C797D40A7D\n for <dts@dpdk.org>; Mon,  6 Feb 2023 06:01:18 +0100 (CET)",
            "from orsmga007.jf.intel.com ([10.7.209.58])\n by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 05 Feb 2023 21:01:18 -0800",
            "from unknown (HELO localhost.localdomain) ([10.239.252.222])\n by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 05 Feb 2023 21:01:16 -0800"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1675659679; x=1707195679;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=8sfAw1pZ1MXZoqB3O+TI32MjhIF6HBqYY+PLzH2v61s=;\n b=fNCoAnkQeIIzXBek2qcVjvFiUPVweCUGZrXUrbtsTw9lyYdPAC4Gt0gm\n LFrOY8GqbN1dySH1j1bA4m7DiFMiRbLgNpv+ylid9UNp1/1+FpKtou/0D\n eMRW900deUFn9uwNr2VbC5X2UkVpIDsibM8r5Fl4BZb3tbynYw41gS7xE\n 51P6LsTQejqEbtRs6RX0/zeR8uekFZMOt7zBXe9z7breOJRQgz5G9D6Ii\n cQAwAoiIZbBwMfQLwKWHgO0xrzzLfm/I7px+k2SVwMLn9iqY0z4BM18YC\n EgHtaBaLkxTyMCop3oGeqk59eKKVyvYyxuqbAWXSpDzUI68FGBP1MuoVN g==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6500,9779,10612\"; a=\"393729816\"",
            "E=Sophos;i=\"5.97,276,1669104000\"; d=\"scan'208\";a=\"393729816\"",
            "E=McAfee;i=\"6500,9779,10612\"; a=\"659732097\"",
            "E=Sophos;i=\"5.97,276,1669104000\"; d=\"scan'208\";a=\"659732097\""
        ],
        "From": "Wei Ling <weix.ling@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Wei Ling <weix.ling@intel.com>",
        "Subject": "[dts][PATCH V1 2/4] test_plans/pvp_vhost_async_virtio_pmd_perf_dsa:\n add new testplan",
        "Date": "Mon,  6 Feb 2023 12:49:15 +0800",
        "Message-Id": "<20230206044915.3644000-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": "Add  pvp_vhost_async_virtio_pmd_perf_dsa testplan to test pvp \nvhost/virtio-pmd async data-path performance use DSA device \nwith dpdk and kernel driver.\n\nSigned-off-by: Wei Ling <weix.ling@intel.com>\n---\n ...st_async_virtio_pmd_perf_dsa_test_plan.rst | 1120 +++++++++++++++++\n 1 file changed, 1120 insertions(+)\n create mode 100644 test_plans/pvp_vhost_async_virtio_pmd_perf_dsa_test_plan.rst",
    "diff": "diff --git a/test_plans/pvp_vhost_async_virtio_pmd_perf_dsa_test_plan.rst b/test_plans/pvp_vhost_async_virtio_pmd_perf_dsa_test_plan.rst\nnew file mode 100644\nindex 00000000..4f03043a\n--- /dev/null\n+++ b/test_plans/pvp_vhost_async_virtio_pmd_perf_dsa_test_plan.rst\n@@ -0,0 +1,1120 @@\n+.. SPDX-License-Identifier: BSD-3-Clause\n+   Copyright(c) 2019 Intel Corporation\n+\n+===================================================\n+PVP vhost/virtio-pmd async data-path perf test plan\n+===================================================\n+\n+Description\n+===========\n+\n+Benchmark pvp qemu test with vhost async data-path.\n+\n+Test flow\n+=========\n+\n+TG --> NIC --> Vhost --> Virtio--> Vhost --> NIC --> TG\n+\n+Test Case 1: pvp split ring vhost async test with 1core 1queue using idxd kernel driver\n+---------------------------------------------------------------------------------------\n+\n+1. Bind one nic port to vfio-pci and 1 dsa device to idxd, then generate 2wq by below command::\n+\n+\t./usertools/dpdk-devbind.py -b vfio-pci 0000:29:00.0\n+\t./usertools/dpdk-devbind.py -b idxd 0000:6a:01.0\n+\t./drivers/dma/idxd/dpdk_idxd_cfg.py -q 2 0\n+\n+2. Launch vhost testpmd by below command::\n+\n+\t./build/app/dpdk-testpmd -n 8 -l 9-10 --file-prefix=dpdk_vhost --huge-dir=/dev/hugepages -a 0000:29:00.0 --socket-mem 8192 \\\n+\t--vdev 'net_vhost,iface=./vhost-net,queues=1,dmas=[txq0@wq0.0;rxq0@wq0.1]' \\\n+\t--iova=va -- -i --nb-cores=1 --txq=1 --rxq=1 --txd=2048 --rxd=2048 --forward-mode=mac -a\n+\n+3. Launch VM with mrg_rxbuf feature on::\n+\n+\ttaskset -c 11-18 /usr/local/qemu-7.1.0/bin/qemu-system-x86_64 -name us-vhost-vm1 -cpu host -enable-kvm \\\n+\t-m 8192 -object memory-backend-file,id=mem,size=8192M,mem-path=/mnt/huge,share=on \\\n+\t-numa node,memdev=mem -mem-prealloc -smp cores=8,sockets=1 -drive file=/home/xingguang/osimg/ubuntu22-04.img \\\n+\t-chardev socket,id=char0,path=./vhost-net -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=ntts1 \\\n+\t-netdev user,id=ntts1,hostfwd=tcp:127.0.0.1:6002-:22 \\\n+\t-netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce \\\n+\t-device virtio-net-pci,mac=52:54:00:00:00:01,netdev=mynet1,mrg_rxbuf=on,rx_queue_size=1024,tx_queue_size=1024,csum=off,guest_csum=off,gso=off,host_tso4=off,guest_tso4=off,guest_ecn=off -vnc :10 --monitor stdio\n+\n+4. Set affinity::\n+\n+    (qemu)info cpus\n+    <host>taskset -cp 11 xxx\n+\t...\n+    <host>taskset -cp 18 xxx\n+\n+5. On VM, bind virtio net to vfio-pci and run testpmd::\n+\n+    mount -t hugetlbfs nodev /mnt/huge\n+    modprobe vfio-pci\n+    echo 1 > /sys/module/vfio/parameters/enable_unsafe_noiommu_mode\n+    ./usertools/dpdk-devbind.py -b vfio-pci 00:04.0\n+\n+    ./build/app/dpdk-testpmd -c 0x3 -n 8 -- -i --nb-cores=1 --txd=2048 --rxd=2048\n+    testpmd>set fwd csum\n+    testpmd>start\n+\n+6. Send tcp/ip packets by packet generator with different packet sizes [64,128,256,512,1024,1280,1518], show throughput with below command::\n+\n+    testpmd>show port stats all\n+\n+Test Case 2: pvp split ring vhost async test with 1core 2queue using idxd kernel driver\n+---------------------------------------------------------------------------------------\n+\n+1. Bind one nic port to vfio-pci and 1 dsa device to idxd, then generate 4wq by below command::\n+\n+\t./usertools/dpdk-devbind.py -b vfio-pci 0000:29:00.0\n+    ./usertools/dpdk-devbind.py -b idxd 0000:6a:01.0\n+\t./drivers/dma/idxd/dpdk_idxd_cfg.py -q 4 0\n+\n+2. Launch vhost testpmd by below command::\n+\n+    ./build/app/dpdk-testpmd -l 2-3 -n 8 --huge-dir=/dev/hugepages -a 0000:29:00.0 --socket-mem 8192 \\\n+    --vdev 'eth_vhost0,iface=vhost-net,queues=2,dmas=[txq0@wq0.0;rxq0@wq0.1;txq1@wq0.2;rxq1@wq0.3]'\n+    -- -i --nb-cores=1 --txq=2 --rxq=2 --txd=2048 --rxd=2048 --forward-mode=mac -a\n+\n+2. Launch VM with mrg_rxbuf feature on::\n+\n+\ttaskset -c 11-18 /usr/local/qemu-7.1.0/bin/qemu-system-x86_64 -name us-vhost-vm1 -cpu host -enable-kvm \\\n+\t-m 8192 -object memory-backend-file,id=mem,size=8192M,mem-path=/mnt/huge,share=on \\\n+\t-numa node,memdev=mem -mem-prealloc -smp cores=8,sockets=1 -drive file=/home/xingguang/osimg/ubuntu22-04.img \\\n+\t-chardev socket,id=char0,path=./vhost-net -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=ntts1 \\\n+\t-netdev user,id=ntts1,hostfwd=tcp:127.0.0.1:6002-:22 \\\n+\t-netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce,queues=2 \\\n+\t-device virtio-net-pci,mac=52:54:00:00:00:01,netdev=mynet1,mrg_rxbuf=on,mq=on,vectors=6,rx_queue_size=1024,tx_queue_size=1024,csum=off,guest_csum=off,gso=off,host_tso4=off,guest_tso4=off,guest_ecn=off -vnc :10 --monitor stdio\n+\n+3. Set affinity::\n+\n+    (qemu)info cpus\n+    <host>taskset -cp 11 xxx\n+\t...\n+    <host>taskset -cp 18 xxx\n+\n+4. On VM, bind virtio net to vfio-pci and run testpmd::\n+\n+    mount -t hugetlbfs nodev /mnt/huge\n+    modprobe vfio-pci\n+    echo 1 > /sys/module/vfio/parameters/enable_unsafe_noiommu_mode\n+    ./usertools/dpdk-devbind.py -b vfio-pci 00:04.0\n+\n+    ./build/app/dpdk-testpmd -c 0x3 -n 8 -- -i --nb-cores=1 --txq=2 --rxq=2 --txd=2048 --rxd=2048\n+    testpmd>set fwd csum\n+    testpmd>start\n+\n+5. Send tcp/ip packets by packet generator with different packet sizes [64,128,256,512,1024,1280,1518], show throughput with below command::\n+\n+    testpmd>show port stats all\n+\n+Test Case 3: pvp split ring vhost async test with 2core 2queue using idxd kernel driver\n+---------------------------------------------------------------------------------------\n+\n+1. Bind one nic port to vfio-pci and 1 dsa device to idxd, then generate 4wq by below command::\n+\n+\t./usertools/dpdk-devbind.py -b vfio-pci 0000:29:00.0\n+    ./usertools/dpdk-devbind.py -b idxd 0000:6a:01.0\n+\t./drivers/dma/idxd/dpdk_idxd_cfg.py -q 4 0\n+\n+2. Launch vhost testpmd by below command::\n+\n+    ./build/app/dpdk-testpmd -l 2-4 -n 8 --huge-dir=/dev/hugepages -a 0000:29:00.0 --socket-mem 8192 \\\n+    --vdev 'eth_vhost0,iface=vhost-net,queues=2,dmas=[txq0@wq0.0;rxq0@wq0.1;txq1@wq0.2;rxq1@wq0.3]' \\\n+    -- -i --nb-cores=2 --txq=2 --rxq=2 --txd=2048 --rxd=2048 --forward-mode=mac -a\n+\n+2. Launch VM with mrg_rxbuf feature on::\n+\n+\ttaskset -c 11-18 /usr/local/qemu-7.1.0/bin/qemu-system-x86_64 -name us-vhost-vm1 -cpu host -enable-kvm \\\n+\t-m 8192 -object memory-backend-file,id=mem,size=8192M,mem-path=/mnt/huge,share=on \\\n+\t-numa node,memdev=mem -mem-prealloc -smp cores=8,sockets=1 -drive file=/home/xingguang/osimg/ubuntu22-04.img \\\n+\t-chardev socket,id=char0,path=./vhost-net -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=ntts1 \\\n+\t-netdev user,id=ntts1,hostfwd=tcp:127.0.0.1:6002-:22 \\\n+\t-netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce,queues=2 \\\n+\t-device virtio-net-pci,mac=52:54:00:00:00:01,netdev=mynet1,mrg_rxbuf=on,mq=on,vectors=6,rx_queue_size=1024,tx_queue_size=1024,csum=off,guest_csum=off,gso=off,host_tso4=off,guest_tso4=off,guest_ecn=off -vnc :10 --monitor stdio\n+\n+3. Set affinity::\n+\n+    (qemu)info cpus\n+    <host>taskset -cp 11 xxx\n+    ...\n+    <host>taskset -cp 18 xxx\n+\n+4. On VM, bind virtio net to vfio-pci and run testpmd::\n+\n+    mount -t hugetlbfs nodev /mnt/huge\n+    modprobe vfio-pci\n+    echo 1 > /sys/module/vfio/parameters/enable_unsafe_noiommu_mode\n+    ./usertools/dpdk-devbind.py -b vfio-pci 00:04.0\n+\n+    ./build/app/dpdk-testpmd -c 0x7 -n 8 -- -i --nb-cores=2 --txq=2 --rxq=2 --txd=2048 --rxd=2048\n+    testpmd>set fwd csum\n+    testpmd>start\n+\n+5. Send tcp/ip packets by packet generator with different packet sizes [64,128,256,512,1024,1280,1518], show throughput with below command::\n+\n+    testpmd>show port stats all\n+\n+Test Case 4: pvp split ring vhost async test with 2core 4queue using idxd kernel driver\n+---------------------------------------------------------------------------------------\n+\n+1. Bind one nic port to vfio-pci and 1 dsa device to idxd, then generate 8wq by below command::\n+\n+\t./usertools/dpdk-devbind.py -b vfio-pci 0000:29:00.0\n+    ./usertools/dpdk-devbind.py -b idxd 0000:6a:01.0\n+\t./drivers/dma/idxd/dpdk_idxd_cfg.py -q 8 0\n+\n+2. Launch vhost testpmd by below command::\n+\n+    ./build/app/dpdk-testpmd -l 2-4 -n 8 --huge-dir=/dev/hugepages -a 0000:29:00.0 --socket-mem 8192 \\\n+    --vdev 'eth_vhost0,iface=vhost-net,queues=4,dmas=[txq0@wq0.0;rxq0@wq0.1;txq1@wq0.2;rxq1@wq0.3;txq2@wq0.4;rxq2@wq0.5;txq3@wq0.6;rxq3@wq0.7]'\n+    -- -i --nb-cores=2 --txq=4 --rxq=4 --txd=2048 --rxd=2048 --forward-mode=mac -a\n+\n+2. Launch VM with mrg_rxbuf feature on::\n+\n+\ttaskset -c 11-18 /usr/local/qemu-7.1.0/bin/qemu-system-x86_64 -name us-vhost-vm1 -cpu host -enable-kvm \\\n+\t-m 8192 -object memory-backend-file,id=mem,size=8192M,mem-path=/mnt/huge,share=on \\\n+\t-numa node,memdev=mem -mem-prealloc -smp cores=8,sockets=1 -drive file=/home/xingguang/osimg/ubuntu22-04.img \\\n+\t-chardev socket,id=char0,path=./vhost-net -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=ntts1 \\\n+\t-netdev user,id=ntts1,hostfwd=tcp:127.0.0.1:6002-:22 \\\n+\t-netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce,queues=4 \\\n+\t-device virtio-net-pci,mac=52:54:00:00:00:01,netdev=mynet1,mrg_rxbuf=on,mq=on,vectors=10,rx_queue_size=1024,tx_queue_size=1024,csum=off,guest_csum=off,gso=off,host_tso4=off,guest_tso4=off,guest_ecn=off -vnc :10 --monitor stdio\n+\n+3. Set affinity::\n+\n+    (qemu)info cpus\n+    <host>taskset -cp 11 xxx\n+    ...\n+    <host>taskset -cp 18 xxx\n+\n+4. On VM, bind virtio net to vfio-pci and run testpmd::\n+\n+    mount -t hugetlbfs nodev /mnt/huge\n+    modprobe vfio-pci\n+    echo 1 > /sys/module/vfio/parameters/enable_unsafe_noiommu_mode\n+    ./usertools/dpdk-devbind.py -b vfio-pci 00:04.0\n+\n+    ./build/app/dpdk-testpmd -c 0x7 -n 8 -- -i --nb-cores=2 --txq=4 --rxq=4 --txd=2048 --rxd=2048\n+    testpmd>set fwd csum\n+    testpmd>start\n+\n+5. Send tcp/ip packets by packet generator with different packet sizes [64,128,256,512,1024,1280,1518], show throughput with below command::\n+\n+    testpmd>show port stats all\n+\n+Test Case 5: pvp split ring vhost async test with 4core 4queue using idxd kernel driver\n+---------------------------------------------------------------------------------------\n+\n+1. Bind one nic port to vfio-pci and 1 dsa device to idxd, then generate 8wq by below command::\n+\n+\t./usertools/dpdk-devbind.py -b vfio-pci 0000:29:00.0\n+    ./usertools/dpdk-devbind.py -b idxd 0000:6a:01.0\n+\t./drivers/dma/idxd/dpdk_idxd_cfg.py -q 8 0\n+\n+2. Launch vhost testpmd by below command::\n+\n+    ./build/app/dpdk-testpmd -l 2-6 -n 8 --huge-dir=/dev/hugepages -a 0000:29:00.0 --socket-mem 8192 \\\n+    --vdev 'eth_vhost0,iface=vhost-net,queues=4,dmas=[txq0@wq0.0;rxq0@wq0.1;txq1@wq0.2;rxq1@wq0.3;txq2@wq0.4;rxq2@wq0.5;txq3@wq0.6;rxq3@wq0.7]' \\\n+    -- -i --nb-cores=4 --txq=4 --rxq=4 --txd=2048 --rxd=2048 --max-pkt-len=5200 --tx-offloads=0x00008000 --forward-mode=mac -a \n+\n+2. Launch VM with mrg_rxbuf feature on::\n+\n+\ttaskset -c 11-18 /usr/local/qemu-7.1.0/bin/qemu-system-x86_64 -name us-vhost-vm1 -cpu host -enable-kvm \\\n+\t-m 8192 -object memory-backend-file,id=mem,size=8192M,mem-path=/mnt/huge,share=on \\\n+\t-numa node,memdev=mem -mem-prealloc -smp cores=8,sockets=1 -drive file=/home/xingguang/osimg/ubuntu22-04.img \\\n+\t-chardev socket,id=char0,path=./vhost-net -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=ntts1 \\\n+\t-netdev user,id=ntts1,hostfwd=tcp:127.0.0.1:6002-:22 \\\n+\t-netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce,queues=4 \\\n+\t-device virtio-net-pci,mac=52:54:00:00:00:01,netdev=mynet1,mrg_rxbuf=on,mq=on,vectors=10,rx_queue_size=1024,tx_queue_size=1024,csum=off,guest_csum=off,gso=off,host_tso4=off,guest_tso4=off,guest_ecn=off -vnc :10 --monitor stdio\n+\n+3. Set affinity::\n+\n+    (qemu)info cpus\n+    <host>taskset -cp 11 xxx\n+    ...\n+    <host>taskset -cp 18 xxx\n+\n+4. On VM, bind virtio net to vfio-pci and run testpmd::\n+\n+    mount -t hugetlbfs nodev /mnt/huge\n+    modprobe vfio-pci\n+    echo 1 > /sys/module/vfio/parameters/enable_unsafe_noiommu_mode\n+    ./usertools/dpdk-devbind.py -b vfio-pci 00:04.0\n+\n+    ./build/app/dpdk-testpmd -c 0x1f -n 8 -- -i --nb-cores=4 --txq=4 --rxq=4 --txd=2048 --rxd=2048\n+    testpmd>set fwd csum\n+    testpmd>start\n+\n+5. Send tcp/ip packets by packet generator with different packet sizes [64,128,256,512,1024,1280,1518,2048,4096], show throughput with below command::\n+\n+    testpmd>show port stats all\n+\n+Test Case 6: pvp split ring vhost async test with 4core 8queue using idxd kernel driver\n+---------------------------------------------------------------------------------------\n+\n+1. Bind one nic port to vfio-pci and 1 dsa device to idxd, then generate 8wq by below command::\n+\n+\t./usertools/dpdk-devbind.py -b vfio-pci 0000:29:00.0\n+\t./usertools/dpdk-devbind.py -b idxd 0000:6a:01.0\n+\t./drivers/dma/idxd/dpdk_idxd_cfg.py -q 8 0\n+\n+2. Launch vhost testpmd by below command::\n+\n+    ./build/app/dpdk-testpmd -l 2-6 -n 8 --huge-dir=/dev/hugepages -a 0000:29:00.0 --socket-mem 8192 \\\n+    --vdev 'eth_vhost0,iface=vhost-net,queues=8,dmas=[txq0@wq0.0;rxq0@wq0.0;txq1@wq0.1;rxq1@wq0.1;txq2@wq0.2;rxq2@wq0.2;txq3@wq0.3;rxq3@wq0.3;txq4@wq0.4;rxq4@wq0.4;txq5@wq0.5;rxq5@wq0.5;txq6@wq0.6;rxq6@wq0.6;txq7@wq0.7;rxq7@wq0.7]'\n+    -- -i --nb-cores=4 --txq=8 --rxq=8 --txd=2048 --rxd=2048 --max-pkt-len=5200 --tx-offloads=0x00008000 --forward-mode=mac -a\n+\n+2. Launch VM with mrg_rxbuf feature on::\n+\n+\ttaskset -c 11-18 /usr/local/qemu-7.1.0/bin/qemu-system-x86_64 -name us-vhost-vm1 -cpu host -enable-kvm \\\n+\t-m 8192 -object memory-backend-file,id=mem,size=8192M,mem-path=/mnt/huge,share=on \\\n+\t-numa node,memdev=mem -mem-prealloc -smp cores=8,sockets=1 -drive file=/home/xingguang/osimg/ubuntu22-04.img \\\n+\t-chardev socket,id=char0,path=./vhost-net -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=ntts1 \\\n+\t-netdev user,id=ntts1,hostfwd=tcp:127.0.0.1:6002-:22 \\\n+\t-netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce,queues=8 \\\n+\t-device virtio-net-pci,mac=52:54:00:00:00:01,netdev=mynet1,mrg_rxbuf=on,mq=on,vectors=18,rx_queue_size=1024,tx_queue_size=1024,csum=off,guest_csum=off,gso=off,host_tso4=off,guest_tso4=off,guest_ecn=off -vnc :10 --monitor stdio\n+\n+3. Set affinity::\n+\n+    (qemu)info cpus\n+    <host>taskset -cp 11 xxx\n+    ...\n+    <host>taskset -cp 18 xxx\n+\n+4. On VM, bind virtio net to vfio-pci and run testpmd::\n+\n+    mount -t hugetlbfs nodev /mnt/huge\n+    modprobe vfio-pci\n+    echo 1 > /sys/module/vfio/parameters/enable_unsafe_noiommu_mode\n+    ./usertools/dpdk-devbind.py -b vfio-pci 00:04.0\n+\n+    ./build/app/dpdk-testpmd -c 0x1f -n 8 -- -i --nb-cores=4 --txq=8 --rxq=8 --txd=2048 --rxd=2048\n+    testpmd>set fwd csum\n+    testpmd>start\n+\n+5. Send tcp/ip packets by packet generator with different packet sizes [64,128,256,512,1024,1280,1518,2048,4096], show throughput with below command::\n+\n+    testpmd>show port stats all\n+\n+Test Case 7: pvp packed ring vhost async test with 1core 1queue using idxd kernel driver\n+----------------------------------------------------------------------------------------\n+\n+1. Bind one nic port to vfio-pci and 1 dsa device to idxd, then generate 2wq by below command::\n+\n+\t./usertools/dpdk-devbind.py -b vfio-pci 0000:29:00.0\n+\t./usertools/dpdk-devbind.py -b idxd 0000:6a:01.0\n+\t./drivers/dma/idxd/dpdk_idxd_cfg.py -q 2 0\n+\n+2. Launch vhost testpmd by below command::\n+\n+\t./build/app/dpdk-testpmd -n 8 -l 9-10 --file-prefix=dpdk_vhost --huge-dir=/dev/hugepages -a 0000:29:00.0 --socket-mem 8192 \\\n+\t--vdev 'net_vhost,iface=./vhost-net,queues=1,dmas=[txq0@wq0.0;rxq0@wq0.1]' \\\n+\t--iova=va -- -i --nb-cores=1 --txq=1 --rxq=1 --txd=2048 --rxd=2048 --forward-mode=mac -a\n+\n+3. Launch VM with mrg_rxbuf feature on::\n+\n+\ttaskset -c 11-18 /usr/local/qemu-7.1.0/bin/qemu-system-x86_64 -name us-vhost-vm1 -cpu host -enable-kvm \\\n+\t-m 8192 -object memory-backend-file,id=mem,size=8192M,mem-path=/mnt/huge,share=on \\\n+\t-numa node,memdev=mem -mem-prealloc -smp cores=8,sockets=1 -drive file=/home/xingguang/osimg/ubuntu22-04.img \\\n+\t-chardev socket,id=char0,path=./vhost-net -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=ntts1 \\\n+\t-netdev user,id=ntts1,hostfwd=tcp:127.0.0.1:6002-:22 \\\n+\t-netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce \\\n+\t-device virtio-net-pci,mac=52:54:00:00:00:01,netdev=mynet1,mrg_rxbuf=on,rx_queue_size=1024,tx_queue_size=1024,csum=off,guest_csum=off,gso=off,host_tso4=off,guest_tso4=off,guest_ecn=off,packed=on -vnc :10 --monitor stdio\n+\n+4. Set affinity::\n+\n+    (qemu)info cpus\n+    <host>taskset -cp 11 xxx\n+\t...\n+    <host>taskset -cp 18 xxx\n+\n+5. On VM, bind virtio net to vfio-pci and run testpmd::\n+\n+    mount -t hugetlbfs nodev /mnt/huge\n+    modprobe vfio-pci\n+    echo 1 > /sys/module/vfio/parameters/enable_unsafe_noiommu_mode\n+    ./usertools/dpdk-devbind.py -b vfio-pci 00:04.0\n+\n+    ./build/app/dpdk-testpmd -c 0x3 -n 8 -- -i --nb-cores=1 --txd=2048 --rxd=2048\n+    testpmd>set fwd csum\n+    testpmd>start\n+\n+6. Send tcp/ip packets by packet generator with different packet sizes [64,128,256,512,1024,1280,1518], show throughput with below command::\n+\n+    testpmd>show port stats all\n+\n+Test Case 8: pvp packed ring vhost async test with 1core 2queue using idxd kernel driver\n+----------------------------------------------------------------------------------------\n+\n+1. Bind one nic port to vfio-pci and 1 dsa device to idxd, then generate 4wq by below command::\n+\n+\t./usertools/dpdk-devbind.py -b vfio-pci 0000:29:00.0\n+    ./usertools/dpdk-devbind.py -b idxd 0000:6a:01.0\n+\t./drivers/dma/idxd/dpdk_idxd_cfg.py -q 4 0\n+\n+2. Launch vhost testpmd by below command::\n+\n+    ./build/app/dpdk-testpmd -l 2-3 -n 8 --huge-dir=/dev/hugepages -a 0000:29:00.0 --socket-mem 8192 \\\n+    --vdev 'eth_vhost0,iface=vhost-net,queues=2,dmas=[txq0@wq0.0;rxq0@wq0.1;txq1@wq0.2;rxq1@wq0.3]'\n+    -- -i --nb-cores=1 --txq=2 --rxq=2 --txd=2048 --rxd=2048 --forward-mode=mac -a\n+\n+2. Launch VM with mrg_rxbuf feature on::\n+\n+\ttaskset -c 11-18 /usr/local/qemu-7.1.0/bin/qemu-system-x86_64 -name us-vhost-vm1 -cpu host -enable-kvm \\\n+\t-m 8192 -object memory-backend-file,id=mem,size=8192M,mem-path=/mnt/huge,share=on \\\n+\t-numa node,memdev=mem -mem-prealloc -smp cores=8,sockets=1 -drive file=/home/xingguang/osimg/ubuntu22-04.img \\\n+\t-chardev socket,id=char0,path=./vhost-net -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=ntts1 \\\n+\t-netdev user,id=ntts1,hostfwd=tcp:127.0.0.1:6002-:22 \\\n+\t-netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce,queues=2 \\\n+\t-device virtio-net-pci,mac=52:54:00:00:00:01,netdev=mynet1,mrg_rxbuf=on,mq=on,vectors=6,rx_queue_size=1024,tx_queue_size=1024,csum=off,guest_csum=off,gso=off,host_tso4=off,guest_tso4=off,guest_ecn=off,packed=on -vnc :10 --monitor stdio\n+\n+3. Set affinity::\n+\n+    (qemu)info cpus\n+    <host>taskset -cp 11 xxx\n+\t...\n+    <host>taskset -cp 18 xxx\n+\n+4. On VM, bind virtio net to vfio-pci and run testpmd::\n+\n+    mount -t hugetlbfs nodev /mnt/huge\n+    modprobe vfio-pci\n+    echo 1 > /sys/module/vfio/parameters/enable_unsafe_noiommu_mode\n+    ./usertools/dpdk-devbind.py -b vfio-pci 00:04.0\n+\n+    ./build/app/dpdk-testpmd -c 0x3 -n 8 -- -i --nb-cores=1 --txq=2 --rxq=2 --txd=2048 --rxd=2048\n+    testpmd>set fwd csum\n+    testpmd>start\n+\n+5. Send tcp/ip packets by packet generator with different packet sizes [64,128,256,512,1024,1280,1518], show throughput with below command::\n+\n+    testpmd>show port stats all\n+\n+Test Case 9: pvp packed ring vhost async test with 2core 2queue using idxd kernel driver\n+----------------------------------------------------------------------------------------\n+\n+1. Bind one nic port to vfio-pci and 1 dsa device to idxd, then generate 4wq by below command::\n+\n+\t./usertools/dpdk-devbind.py -b vfio-pci 0000:29:00.0\n+    ./usertools/dpdk-devbind.py -b idxd 0000:6a:01.0\n+\t./drivers/dma/idxd/dpdk_idxd_cfg.py -q 4 0\n+\n+2. Launch vhost testpmd by below command::\n+\n+    ./build/app/dpdk-testpmd -l 2-4 -n 8 --huge-dir=/dev/hugepages -a 0000:29:00.0 --socket-mem 8192 \\\n+    --vdev 'eth_vhost0,iface=vhost-net,queues=2,dmas=[txq0@wq0.0;rxq0@wq0.1;txq1@wq0.2;rxq1@wq0.3]' \\\n+    -- -i --nb-cores=2 --txq=2 --rxq=2 --txd=2048 --rxd=2048 --forward-mode=mac -a\n+\n+2. Launch VM with mrg_rxbuf feature on::\n+\n+\ttaskset -c 11-18 /usr/local/qemu-7.1.0/bin/qemu-system-x86_64 -name us-vhost-vm1 -cpu host -enable-kvm \\\n+\t-m 8192 -object memory-backend-file,id=mem,size=8192M,mem-path=/mnt/huge,share=on \\\n+\t-numa node,memdev=mem -mem-prealloc -smp cores=8,sockets=1 -drive file=/home/xingguang/osimg/ubuntu22-04.img \\\n+\t-chardev socket,id=char0,path=./vhost-net -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=ntts1 \\\n+\t-netdev user,id=ntts1,hostfwd=tcp:127.0.0.1:6002-:22 \\\n+\t-netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce,queues=2 \\\n+\t-device virtio-net-pci,mac=52:54:00:00:00:01,netdev=mynet1,mrg_rxbuf=on,mq=on,vectors=6,rx_queue_size=1024,tx_queue_size=1024,csum=off,guest_csum=off,gso=off,host_tso4=off,guest_tso4=off,guest_ecn=off,packed=on -vnc :10 --monitor stdio\n+\n+3. Set affinity::\n+\n+    (qemu)info cpus\n+    <host>taskset -cp 11 xxx\n+    ...\n+    <host>taskset -cp 18 xxx\n+\n+4. On VM, bind virtio net to vfio-pci and run testpmd::\n+\n+    mount -t hugetlbfs nodev /mnt/huge\n+    modprobe vfio-pci\n+    echo 1 > /sys/module/vfio/parameters/enable_unsafe_noiommu_mode\n+    ./usertools/dpdk-devbind.py -b vfio-pci 00:04.0\n+\n+    ./build/app/dpdk-testpmd -c 0x7 -n 8 -- -i --nb-cores=2 --txq=2 --rxq=2 --txd=2048 --rxd=2048\n+    testpmd>set fwd csum\n+    testpmd>start\n+\n+5. Send tcp/ip packets by packet generator with different packet sizes [64,128,256,512,1024,1280,1518], show throughput with below command::\n+\n+    testpmd>show port stats all\n+\n+Test Case 10: pvp packed ring vhost async test with 2core 4queue using idxd kernel driver\n+-----------------------------------------------------------------------------------------\n+\n+1. Bind one nic port to vfio-pci and 1 dsa device to idxd, then generate 8wq by below command::\n+\n+\t./usertools/dpdk-devbind.py -b vfio-pci 0000:29:00.0\n+    ./usertools/dpdk-devbind.py -b idxd 0000:6a:01.0\n+\t./drivers/dma/idxd/dpdk_idxd_cfg.py -q 8 0\n+\n+2. Launch vhost testpmd by below command::\n+\n+    ./build/app/dpdk-testpmd -l 2-4 -n 8 --huge-dir=/dev/hugepages -a 0000:29:00.0 --socket-mem 8192 \\\n+    --vdev 'eth_vhost0,iface=vhost-net,queues=4,dmas=[txq0@wq0.0;rxq0@wq0.1;txq1@wq0.2;rxq1@wq0.3;txq2@wq0.4;rxq2@wq0.5;txq3@wq0.6;rxq3@wq0.7]'\n+    -- -i --nb-cores=2 --txq=4 --rxq=4 --txd=2048 --rxd=2048 --forward-mode=mac -a\n+\n+2. Launch VM with mrg_rxbuf feature on::\n+\n+\ttaskset -c 11-18 /usr/local/qemu-7.1.0/bin/qemu-system-x86_64 -name us-vhost-vm1 -cpu host -enable-kvm \\\n+\t-m 8192 -object memory-backend-file,id=mem,size=8192M,mem-path=/mnt/huge,share=on \\\n+\t-numa node,memdev=mem -mem-prealloc -smp cores=8,sockets=1 -drive file=/home/xingguang/osimg/ubuntu22-04.img \\\n+\t-chardev socket,id=char0,path=./vhost-net -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=ntts1 \\\n+\t-netdev user,id=ntts1,hostfwd=tcp:127.0.0.1:6002-:22 \\\n+\t-netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce,queues=4 \\\n+\t-device virtio-net-pci,mac=52:54:00:00:00:01,netdev=mynet1,mrg_rxbuf=on,mq=on,vectors=10,rx_queue_size=1024,tx_queue_size=1024,csum=off,guest_csum=off,gso=off,host_tso4=off,guest_tso4=off,guest_ecn=off,packed=on -vnc :10 --monitor stdio\n+\n+3. Set affinity::\n+\n+    (qemu)info cpus\n+    <host>taskset -cp 11 xxx\n+    ...\n+    <host>taskset -cp 18 xxx\n+\n+4. On VM, bind virtio net to vfio-pci and run testpmd::\n+\n+    mount -t hugetlbfs nodev /mnt/huge\n+    modprobe vfio-pci\n+    echo 1 > /sys/module/vfio/parameters/enable_unsafe_noiommu_mode\n+    ./usertools/dpdk-devbind.py -b vfio-pci 00:04.0\n+\n+    ./build/app/dpdk-testpmd -c 0x7 -n 8 -- -i --nb-cores=2 --txq=4 --rxq=4 --txd=2048 --rxd=2048\n+    testpmd>set fwd csum\n+    testpmd>start\n+\n+5. Send tcp/ip packets by packet generator with different packet sizes [64,128,256,512,1024,1280,1518], show throughput with below command::\n+\n+    testpmd>show port stats all\n+\n+Test Case 11: pvp packed ring vhost async test with 4core 4queue using idxd kernel driver\n+-----------------------------------------------------------------------------------------\n+\n+1. Bind one nic port to vfio-pci and 1 dsa device to idxd, then generate 8wq by below command::\n+\n+\t./usertools/dpdk-devbind.py -b vfio-pci 0000:29:00.0\n+    ./usertools/dpdk-devbind.py -b idxd 0000:6a:01.0\n+\t./drivers/dma/idxd/dpdk_idxd_cfg.py -q 8 0\n+\n+2. Launch vhost testpmd by below command::\n+\n+    ./build/app/dpdk-testpmd -l 2-6 -n 8 --huge-dir=/dev/hugepages -a 0000:29:00.0 --socket-mem 8192 \\\n+    --vdev 'eth_vhost0,iface=vhost-net,queues=4,dmas=[txq0@wq0.0;rxq0@wq0.1;txq1@wq0.2;rxq1@wq0.3;txq2@wq0.4;rxq2@wq0.5;txq3@wq0.6;rxq3@wq0.7]' \\\n+    -- -i --nb-cores=4 --txq=4 --rxq=4 --txd=2048 --rxd=2048 --max-pkt-len=5200 --tx-offloads=0x00008000 --forward-mode=mac -a \n+\n+2. Launch VM with mrg_rxbuf feature on::\n+\n+\ttaskset -c 11-18 /usr/local/qemu-7.1.0/bin/qemu-system-x86_64 -name us-vhost-vm1 -cpu host -enable-kvm \\\n+\t-m 8192 -object memory-backend-file,id=mem,size=8192M,mem-path=/mnt/huge,share=on \\\n+\t-numa node,memdev=mem -mem-prealloc -smp cores=8,sockets=1 -drive file=/home/xingguang/osimg/ubuntu22-04.img \\\n+\t-chardev socket,id=char0,path=./vhost-net -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=ntts1 \\\n+\t-netdev user,id=ntts1,hostfwd=tcp:127.0.0.1:6002-:22 \\\n+\t-netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce,queues=4 \\\n+\t-device virtio-net-pci,mac=52:54:00:00:00:01,netdev=mynet1,mrg_rxbuf=on,mq=on,vectors=10,rx_queue_size=1024,tx_queue_size=1024,csum=off,guest_csum=off,gso=off,host_tso4=off,guest_tso4=off,guest_ecn=off,packed=on -vnc :10 --monitor stdio\n+\n+3. Set affinity::\n+\n+    (qemu)info cpus\n+    <host>taskset -cp 11 xxx\n+    ...\n+    <host>taskset -cp 18 xxx\n+\n+4. On VM, bind virtio net to vfio-pci and run testpmd::\n+\n+    mount -t hugetlbfs nodev /mnt/huge\n+    modprobe vfio-pci\n+    echo 1 > /sys/module/vfio/parameters/enable_unsafe_noiommu_mode\n+    ./usertools/dpdk-devbind.py -b vfio-pci 00:04.0\n+\n+    ./build/app/dpdk-testpmd -c 0x1f -n 8 -- -i --nb-cores=4 --txq=4 --rxq=4 --txd=2048 --rxd=2048\n+    testpmd>set fwd csum\n+    testpmd>start\n+\n+5. Send tcp/ip packets by packet generator with different packet sizes [64,128,256,512,1024,1280,1518,2048,4096], show throughput with below command::\n+\n+    testpmd>show port stats all\n+\n+Test Case 12: pvp packed ring vhost async test with 4core 8queue using idxd kernel driver\n+-----------------------------------------------------------------------------------------\n+\n+1. Bind one nic port to vfio-pci and 1 dsa device to idxd, then generate 8wq by below command::\n+\n+\t./usertools/dpdk-devbind.py -b vfio-pci 0000:29:00.0\n+\t./usertools/dpdk-devbind.py -b idxd 0000:6a:01.0\n+\t./drivers/dma/idxd/dpdk_idxd_cfg.py -q 8 0\n+\n+2. Launch vhost testpmd by below command::\n+\n+    ./build/app/dpdk-testpmd -l 2-6 -n 8 --huge-dir=/dev/hugepages -a 0000:29:00.0 --socket-mem 8192 \\\n+    --vdev 'eth_vhost0,iface=vhost-net,queues=8,dmas=[txq0@wq0.0;rxq0@wq0.0;txq1@wq0.1;rxq1@wq0.1;txq2@wq0.2;rxq2@wq0.2;txq3@wq0.3;rxq3@wq0.3;txq4@wq0.4;rxq4@wq0.4;txq5@wq0.5;rxq5@wq0.5;txq6@wq0.6;rxq6@wq0.6;txq7@wq0.7;rxq7@wq0.7]'\n+    -- -i --nb-cores=4 --txq=8 --rxq=8 --txd=2048 --rxd=2048 --max-pkt-len=5200 --tx-offloads=0x00008000 --forward-mode=mac -a\n+\n+2. Launch VM with mrg_rxbuf feature on::\n+\n+\ttaskset -c 11-18 /usr/local/qemu-7.1.0/bin/qemu-system-x86_64 -name us-vhost-vm1 -cpu host -enable-kvm \\\n+\t-m 8192 -object memory-backend-file,id=mem,size=8192M,mem-path=/mnt/huge,share=on \\\n+\t-numa node,memdev=mem -mem-prealloc -smp cores=8,sockets=1 -drive file=/home/xingguang/osimg/ubuntu22-04.img \\\n+\t-chardev socket,id=char0,path=./vhost-net -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=ntts1 \\\n+\t-netdev user,id=ntts1,hostfwd=tcp:127.0.0.1:6002-:22 \\\n+\t-netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce,queues=8 \\\n+\t-device virtio-net-pci,mac=52:54:00:00:00:01,netdev=mynet1,mrg_rxbuf=on,mq=on,vectors=18,rx_queue_size=1024,tx_queue_size=1024,csum=off,guest_csum=off,gso=off,host_tso4=off,guest_tso4=off,guest_ecn=off,packed=on -vnc :10 --monitor stdio\n+\n+3. Set affinity::\n+\n+    (qemu)info cpus\n+    <host>taskset -cp 11 xxx\n+    ...\n+    <host>taskset -cp 18 xxx\n+\n+4. On VM, bind virtio net to vfio-pci and run testpmd::\n+\n+    mount -t hugetlbfs nodev /mnt/huge\n+    modprobe vfio-pci\n+    echo 1 > /sys/module/vfio/parameters/enable_unsafe_noiommu_mode\n+    ./usertools/dpdk-devbind.py -b vfio-pci 00:04.0\n+\n+    ./build/app/dpdk-testpmd -c 0x1f -n 8 -- -i --nb-cores=4 --txq=8 --rxq=8 --txd=2048 --rxd=2048\n+    testpmd>set fwd csum\n+    testpmd>start\n+\n+5. Send tcp/ip packets by packet generator with different packet sizes [64,128,256,512,1024,1280,1518,2048,4096], show throughput with below command::\n+\n+    testpmd>show port stats all\n+\n+Test Case 13: pvp split ring vhost async test with 1core 1queue using vfio-pci driver\n+-------------------------------------------------------------------------------------\n+\n+1. Bind one nic port and 1 dsa device to vfio-pci::\n+\n+\t./usertools/dpdk-devbind.py -b vfio-pci 0000:29:00.0 0000:6a:01.0\n+\n+2. Launch vhost testpmd by below command::\n+\n+\t./build/app/dpdk-testpmd -n 8 -l 9-10 --file-prefix=dpdk_vhost --huge-dir=/dev/hugepages -a 0000:29:00.0 -a 0000:6a:01.0,max_queues=2 --socket-mem 8192 \\\n+\t--vdev 'net_vhost,iface=./vhost-net,queues=1,dmas=[txq0@0000:6a:01.0-q0;rxq0@0000:6a:01.0-q1]' \\\n+\t--iova=va -- -i --nb-cores=1 --txq=1 --rxq=1 --txd=2048 --rxd=2048 --forward-mode=mac -a\n+\n+3. Launch VM with mrg_rxbuf feature on::\n+\n+\ttaskset -c 11-18 /usr/local/qemu-7.1.0/bin/qemu-system-x86_64 -name us-vhost-vm1 -cpu host -enable-kvm \\\n+\t-m 8192 -object memory-backend-file,id=mem,size=8192M,mem-path=/mnt/huge,share=on \\\n+\t-numa node,memdev=mem -mem-prealloc -smp cores=8,sockets=1 -drive file=/home/xingguang/osimg/ubuntu22-04.img \\\n+\t-chardev socket,id=char0,path=./vhost-net -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=ntts1 \\\n+\t-netdev user,id=ntts1,hostfwd=tcp:127.0.0.1:6002-:22 \\\n+\t-netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce \\\n+\t-device virtio-net-pci,mac=52:54:00:00:00:01,netdev=mynet1,mrg_rxbuf=on,rx_queue_size=1024,tx_queue_size=1024,csum=off,guest_csum=off,gso=off,host_tso4=off,guest_tso4=off,guest_ecn=off -vnc :10 --monitor stdio\n+\n+4. Set affinity::\n+\n+    (qemu)info cpus\n+    <host>taskset -cp 11 xxx\n+\t...\n+    <host>taskset -cp 18 xxx\n+\n+5. On VM, bind virtio net to vfio-pci and run testpmd::\n+\n+    mount -t hugetlbfs nodev /mnt/huge\n+    modprobe vfio-pci\n+    echo 1 > /sys/module/vfio/parameters/enable_unsafe_noiommu_mode\n+    ./usertools/dpdk-devbind.py -b vfio-pci 00:04.0\n+\n+    ./build/app/dpdk-testpmd -c 0x3 -n 8 -- -i --nb-cores=1 --txd=2048 --rxd=2048\n+    testpmd>set fwd csum\n+    testpmd>start\n+\n+6. Send tcp/ip packets by packet generator with different packet sizes [64,128,256,512,1024,1280,1518], show throughput with below command::\n+\n+    testpmd>show port stats all\n+\n+Test Case 14: pvp split ring vhost async test with 1core 2queue using vfio-pci driver\n+-------------------------------------------------------------------------------------\n+\n+1. Bind one nic port and 1 dsa device to vfio-pci::\n+\n+\t./usertools/dpdk-devbind.py -b vfio-pci 0000:29:00.0 0000:6a:01.0\n+\n+2. Launch vhost testpmd by below command::\n+\n+    ./build/app/dpdk-testpmd -l 2-3 -n 8 --huge-dir=/dev/hugepages -a 0000:29:00.0 -a 0000:6a:01.0,max_queues=4 --socket-mem 8192 \\\n+    --vdev 'eth_vhost0,iface=vhost-net,queues=2,dmas=[txq0@0000:6a:01.0-q0;rxq0@0000:6a:01.0-q1;txq1@0000:6a:01.0-q2;rxq1@0000:6a:01.0-q3]'\n+    -- -i --nb-cores=1 --txq=2 --rxq=2 --txd=2048 --rxd=2048 --forward-mode=mac -a\n+\n+2. Launch VM with mrg_rxbuf feature on::\n+\n+\ttaskset -c 11-18 /usr/local/qemu-7.1.0/bin/qemu-system-x86_64 -name us-vhost-vm1 -cpu host -enable-kvm \\\n+\t-m 8192 -object memory-backend-file,id=mem,size=8192M,mem-path=/mnt/huge,share=on \\\n+\t-numa node,memdev=mem -mem-prealloc -smp cores=8,sockets=1 -drive file=/home/xingguang/osimg/ubuntu22-04.img \\\n+\t-chardev socket,id=char0,path=./vhost-net -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=ntts1 \\\n+\t-netdev user,id=ntts1,hostfwd=tcp:127.0.0.1:6002-:22 \\\n+\t-netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce,queues=2 \\\n+\t-device virtio-net-pci,mac=52:54:00:00:00:01,netdev=mynet1,mrg_rxbuf=on,mq=on,vectors=6,rx_queue_size=1024,tx_queue_size=1024,csum=off,guest_csum=off,gso=off,host_tso4=off,guest_tso4=off,guest_ecn=off -vnc :10 --monitor stdio\n+\n+3. Set affinity::\n+\n+    (qemu)info cpus\n+    <host>taskset -cp 11 xxx\n+\t...\n+    <host>taskset -cp 18 xxx\n+\n+4. On VM, bind virtio net to vfio-pci and run testpmd::\n+\n+    mount -t hugetlbfs nodev /mnt/huge\n+    modprobe vfio-pci\n+    echo 1 > /sys/module/vfio/parameters/enable_unsafe_noiommu_mode\n+    ./usertools/dpdk-devbind.py -b vfio-pci 00:04.0\n+\n+    ./build/app/dpdk-testpmd -c 0x3 -n 8 -- -i --nb-cores=1 --txq=2 --rxq=2 --txd=2048 --rxd=2048\n+    testpmd>set fwd csum\n+    testpmd>start\n+\n+5. Send tcp/ip packets by packet generator with different packet sizes [64,128,256,512,1024,1280,1518], show throughput with below command::\n+\n+    testpmd>show port stats all\n+\n+Test Case 15: pvp split ring vhost async test with 2core 2queue using vfio-pci driver\n+-------------------------------------------------------------------------------------\n+\n+1. Bind one nic port and 1 dsa device to vfio-pci::\n+\n+\t./usertools/dpdk-devbind.py -b vfio-pci 0000:29:00.0 0000:6a:01.0\n+\n+2. Launch vhost testpmd by below command::\n+\n+    ./build/app/dpdk-testpmd -l 2-4 -n 8 --huge-dir=/dev/hugepages -a 0000:29:00.0 -a 0000:6a:01.0,max_queues=4 --socket-mem 8192 \\\n+    --vdev 'eth_vhost0,iface=vhost-net,queues=2,dmas=[txq0@0000:6a:01.0-q0;rxq0@0000:6a:01.0-q1;txq1@0000:6a:01.0-q2;rxq1@0000:6a:01.0-q3]'\n+    -- -i --nb-cores=2 --txq=2 --rxq=2 --txd=2048 --rxd=2048 --forward-mode=mac -a\n+\n+2. Launch VM with mrg_rxbuf feature on::\n+\n+\ttaskset -c 11-18 /usr/local/qemu-7.1.0/bin/qemu-system-x86_64 -name us-vhost-vm1 -cpu host -enable-kvm \\\n+\t-m 8192 -object memory-backend-file,id=mem,size=8192M,mem-path=/mnt/huge,share=on \\\n+\t-numa node,memdev=mem -mem-prealloc -smp cores=8,sockets=1 -drive file=/home/xingguang/osimg/ubuntu22-04.img \\\n+\t-chardev socket,id=char0,path=./vhost-net -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=ntts1 \\\n+\t-netdev user,id=ntts1,hostfwd=tcp:127.0.0.1:6002-:22 \\\n+\t-netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce,queues=2 \\\n+\t-device virtio-net-pci,mac=52:54:00:00:00:01,netdev=mynet1,mrg_rxbuf=on,mq=on,vectors=6,rx_queue_size=1024,tx_queue_size=1024,csum=off,guest_csum=off,gso=off,host_tso4=off,guest_tso4=off,guest_ecn=off -vnc :10 --monitor stdio\n+\n+3. Set affinity::\n+\n+    (qemu)info cpus\n+    <host>taskset -cp 11 xxx\n+    ...\n+    <host>taskset -cp 18 xxx\n+\n+4. On VM, bind virtio net to vfio-pci and run testpmd::\n+\n+    mount -t hugetlbfs nodev /mnt/huge\n+    modprobe vfio-pci\n+    echo 1 > /sys/module/vfio/parameters/enable_unsafe_noiommu_mode\n+    ./usertools/dpdk-devbind.py -b vfio-pci 00:04.0\n+\n+    ./build/app/dpdk-testpmd -c 0x7 -n 8 -- -i --nb-cores=2 --txq=2 --rxq=2 --txd=2048 --rxd=2048\n+    testpmd>set fwd csum\n+    testpmd>start\n+\n+5. Send tcp/ip packets by packet generator with different packet sizes [64,128,256,512,1024,1280,1518], show throughput with below command::\n+\n+    testpmd>show port stats all\n+\n+Test Case 16: pvp split ring vhost async test with 2core 4queue using vfio-pci driver\n+-------------------------------------------------------------------------------------\n+\n+1. Bind one nic port and 1 dsa device to vfio-pci::\n+\n+\t./usertools/dpdk-devbind.py -b vfio-pci 0000:29:00.0 0000:6a:01.0\n+\n+2. Launch vhost testpmd by below command::\n+\n+    ./build/app/dpdk-testpmd -l 2-4 -n 8 --huge-dir=/dev/hugepages -a 0000:29:00.0 -a 0000:6a:01.0,max_queues=8 --socket-mem 8192 \\\n+    --vdev 'eth_vhost0,iface=vhost-net,queues=4,dmas=[txq0@0000:6a:01.0-q0;rxq0@0000:6a:01.0-q1;txq1@0000:6a:01.0-q2;rxq1@0000:6a:01.0-q3;txq2@0000:6a:01.0-q4;rxq2@0000:6a:01.0-q5;txq3@0000:6a:01.0-q6;rxq3@0000:6a:01.0-q7]'\n+    -- -i --nb-cores=2 --txq=4 --rxq=4 --txd=2048 --rxd=2048 --forward-mode=mac -a\n+\n+2. Launch VM with mrg_rxbuf feature on::\n+\n+\ttaskset -c 11-18 /usr/local/qemu-7.1.0/bin/qemu-system-x86_64 -name us-vhost-vm1 -cpu host -enable-kvm \\\n+\t-m 8192 -object memory-backend-file,id=mem,size=8192M,mem-path=/mnt/huge,share=on \\\n+\t-numa node,memdev=mem -mem-prealloc -smp cores=8,sockets=1 -drive file=/home/xingguang/osimg/ubuntu22-04.img \\\n+\t-chardev socket,id=char0,path=./vhost-net -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=ntts1 \\\n+\t-netdev user,id=ntts1,hostfwd=tcp:127.0.0.1:6002-:22 \\\n+\t-netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce,queues=4 \\\n+\t-device virtio-net-pci,mac=52:54:00:00:00:01,netdev=mynet1,mrg_rxbuf=on,mq=on,vectors=10,rx_queue_size=1024,tx_queue_size=1024,csum=off,guest_csum=off,gso=off,host_tso4=off,guest_tso4=off,guest_ecn=off -vnc :10 --monitor stdio\n+\n+3. Set affinity::\n+\n+    (qemu)info cpus\n+    <host>taskset -cp 11 xxx\n+    ...\n+    <host>taskset -cp 18 xxx\n+\n+4. On VM, bind virtio net to vfio-pci and run testpmd::\n+\n+    mount -t hugetlbfs nodev /mnt/huge\n+    modprobe vfio-pci\n+    echo 1 > /sys/module/vfio/parameters/enable_unsafe_noiommu_mode\n+    ./usertools/dpdk-devbind.py -b vfio-pci 00:04.0\n+\n+    ./build/app/dpdk-testpmd -c 0x7 -n 8 -- -i --nb-cores=2 --txq=4 --rxq=4 --txd=2048 --rxd=2048\n+    testpmd>set fwd csum\n+    testpmd>start\n+\n+5. Send tcp/ip packets by packet generator with different packet sizes [64,128,256,512,1024,1280,1518], show throughput with below command::\n+\n+    testpmd>show port stats all\n+\n+Test Case 17: pvp split ring vhost async test with 4core 4queue using vfio-pci driver\n+-------------------------------------------------------------------------------------\n+\n+1. Bind one nic port and 1 dsa device to vfio-pci::\n+\n+\t./usertools/dpdk-devbind.py -b vfio-pci 0000:29:00.0 0000:6a:01.0\n+\n+2. Launch vhost testpmd by below command::\n+\n+    ./build/app/dpdk-testpmd -l 2-6 -n 8 --huge-dir=/dev/hugepages -a 0000:29:00.0 -a 0000:6a:01.0,max_queues=8 --socket-mem 8192 \\\n+    --vdev 'eth_vhost0,iface=vhost-net,queues=4,dmas=[txq0@0000:6a:01.0-q0;rxq0@0000:6a:01.0-q1;txq1@0000:6a:01.0-q2;rxq1@0000:6a:01.0-q3;txq2@0000:6a:01.0-q4;rxq2@0000:6a:01.0-q5;txq3@0000:6a:01.0-q6;rxq3@0000:6a:01.0-q7]'\n+    -- -i --nb-cores=4 --txq=4 --rxq=4 --txd=2048 --rxd=2048 --max-pkt-len=5200 --tx-offloads=0x00008000 --forward-mode=mac -a\n+\n+2. Launch VM with mrg_rxbuf feature on::\n+\n+\ttaskset -c 11-18 /usr/local/qemu-7.1.0/bin/qemu-system-x86_64 -name us-vhost-vm1 -cpu host -enable-kvm \\\n+\t-m 8192 -object memory-backend-file,id=mem,size=8192M,mem-path=/mnt/huge,share=on \\\n+\t-numa node,memdev=mem -mem-prealloc -smp cores=8,sockets=1 -drive file=/home/xingguang/osimg/ubuntu22-04.img \\\n+\t-chardev socket,id=char0,path=./vhost-net -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=ntts1 \\\n+\t-netdev user,id=ntts1,hostfwd=tcp:127.0.0.1:6002-:22 \\\n+\t-netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce,queues=4 \\\n+\t-device virtio-net-pci,mac=52:54:00:00:00:01,netdev=mynet1,mrg_rxbuf=on,mq=on,vectors=10,rx_queue_size=1024,tx_queue_size=1024,csum=off,guest_csum=off,gso=off,host_tso4=off,guest_tso4=off,guest_ecn=off -vnc :10 --monitor stdio\n+\n+3. Set affinity::\n+\n+    (qemu)info cpus\n+    <host>taskset -cp 11 xxx\n+\t...\n+    <host>taskset -cp 18 xxx\n+\n+4. On VM, bind virtio net to vfio-pci and run testpmd::\n+\n+    mount -t hugetlbfs nodev /mnt/huge\n+    modprobe vfio-pci\n+    echo 1 > /sys/module/vfio/parameters/enable_unsafe_noiommu_mode\n+    ./usertools/dpdk-devbind.py -b vfio-pci 00:04.0\n+\n+    ./build/app/dpdk-testpmd -c 0x1f -n 8 -- -i --nb-cores=4 --txq=4 --rxq=4 --txd=2048 --rxd=2048\n+    testpmd>set fwd csum\n+    testpmd>start\n+\n+5. Send tcp/ip packets by packet generator with different packet sizes [64,128,256,512,1024,1280,1518,2048,4096], show throughput with below command::\n+\n+    testpmd>show port stats all\n+\n+Test Case 18: pvp split ring vhost async test with 4core 8queue using vfio-pci driver\n+-------------------------------------------------------------------------------------\n+\n+1. Bind one nic port and 1 dsa device to vfio-pci::\n+\n+\t./usertools/dpdk-devbind.py -b vfio-pci 0000:29:00.0 0000:6a:01.0\n+\n+2. Launch vhost testpmd by below command::\n+\n+    ./build/app/dpdk-testpmd -l 2-6 -n 8 --huge-dir=/dev/hugepages -a 0000:29:00.0 -a 0000:6a:01.0,max_queues=8 --socket-mem 8192 \\\n+    --vdev 'eth_vhost0,iface=vhost-net,queues=8,dmas=[txq0@0000:6a:01.0-q0;rxq0@0000:6a:01.0-q0;txq1@0000:6a:01.0-q1;rxq1@0000:6a:01.0-q1;txq2@0000:6a:01.0-q2;rxq2@0000:6a:01.0-q2;txq3@0000:6a:01.0-q3;rxq3@0000:6a:01.0-q3;txq4@0000:6a:01.0-q4;rxq4@0000:6a:01.0-q4;txq5@0000:6a:01.0-q5;rxq5@0000:6a:01.0-q5;txq6@0000:6a:01.0-q6;rxq6@0000:6a:01.0-q6;txq7@0000:6a:01.0-q7;rxq7@0000:6a:01.0-q7]'\n+    -- -i --nb-cores=4 --txq=8 --rxq=8 --txd=2048 --rxd=2048 --max-pkt-len=5200 --tx-offloads=0x00008000 --forward-mode=mac -a\n+\n+2. Launch VM with mrg_rxbuf feature on::\n+\n+\ttaskset -c 11-18 /usr/local/qemu-7.1.0/bin/qemu-system-x86_64 -name us-vhost-vm1 -cpu host -enable-kvm \\\n+\t-m 8192 -object memory-backend-file,id=mem,size=8192M,mem-path=/mnt/huge,share=on \\\n+\t-numa node,memdev=mem -mem-prealloc -smp cores=8,sockets=1 -drive file=/home/xingguang/osimg/ubuntu22-04.img \\\n+\t-chardev socket,id=char0,path=./vhost-net -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=ntts1 \\\n+\t-netdev user,id=ntts1,hostfwd=tcp:127.0.0.1:6002-:22 \\\n+\t-netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce,queues=8 \\\n+\t-device virtio-net-pci,mac=52:54:00:00:00:01,netdev=mynet1,mrg_rxbuf=on,mq=on,vectors=18,rx_queue_size=1024,tx_queue_size=1024,csum=off,guest_csum=off,gso=off,host_tso4=off,guest_tso4=off,guest_ecn=off -vnc :10 --monitor stdio\n+\n+3. Set affinity::\n+\n+    (qemu)info cpus\n+    <host>taskset -cp 11 xxx\n+    ...\n+    <host>taskset -cp 18 xxx\n+\n+4. On VM, bind virtio net to vfio-pci and run testpmd::\n+\n+    mount -t hugetlbfs nodev /mnt/huge\n+    modprobe vfio-pci\n+    echo 1 > /sys/module/vfio/parameters/enable_unsafe_noiommu_mode\n+    ./usertools/dpdk-devbind.py -b vfio-pci 00:04.0\n+\n+    ./build/app/dpdk-testpmd -c 0x1f -n 8 -- -i --nb-cores=4 --txq=8 --rxq=8 --txd=2048 --rxd=2048\n+    testpmd>set fwd csum\n+    testpmd>start\n+\n+5. Send tcp/ip packets by packet generator with different packet sizes [64,128,256,512,1024,1280,1518,2048,4096], show throughput with below command::\n+\n+    testpmd>show port stats all\n+\n+Test Case 19: pvp packed ring vhost async test with 1core 1queue using vfio-pci driver\n+--------------------------------------------------------------------------------------\n+\n+1. Bind one nic port and 1 dsa device to vfio-pci::\n+\n+\t./usertools/dpdk-devbind.py -b vfio-pci 0000:29:00.0 0000:6a:01.0\n+\n+2. Launch vhost testpmd by below command::\n+\n+    ./build/app/dpdk-testpmd -l 2-3 -n 8 --huge-dir=/dev/hugepages -a 0000:29:00.0 -a 0000:6a:01.0,max_queues=2 --socket-mem 8192 \\\n+    --vdev 'eth_vhost0,iface=vhost-net,queues=1,dmas=[txq0@0000:6a:01.0-q0;rxq0@0000:6a:01.0-q1]'\n+    -- -i --nb-cores=1 --txq=1 --rxq=1 --txd=2048 --rxd=2048 --forward-mode=mac -a\n+\n+2. Launch VM with mrg_rxbuf feature on::\n+\n+\ttaskset -c 11-18 /usr/local/qemu-7.1.0/bin/qemu-system-x86_64 -name us-vhost-vm1 -cpu host -enable-kvm \\\n+\t-m 8192 -object memory-backend-file,id=mem,size=8192M,mem-path=/mnt/huge,share=on \\\n+\t-numa node,memdev=mem -mem-prealloc -smp cores=8,sockets=1 -drive file=/home/xingguang/osimg/ubuntu22-04.img \\\n+\t-chardev socket,id=char0,path=./vhost-net -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=ntts1 \\\n+\t-netdev user,id=ntts1,hostfwd=tcp:127.0.0.1:6002-:22 \\\n+\t-netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce \\\n+\t-device virtio-net-pci,mac=52:54:00:00:00:01,netdev=mynet1,mrg_rxbuf=on,rx_queue_size=1024,tx_queue_size=1024,csum=off,guest_csum=off,gso=off,host_tso4=off,guest_tso4=off,guest_ecn=off,packed=on -vnc :10 --monitor stdio\n+\n+3. Set affinity::\n+\n+    (qemu)info cpus\n+    <host>taskset -cp 11 xxx\n+\t...\n+    <host>taskset -cp 18 xxx\n+\n+4. On VM, bind virtio net to vfio-pci and run testpmd::\n+\n+    mount -t hugetlbfs nodev /mnt/huge\n+    modprobe vfio-pci\n+    echo 1 > /sys/module/vfio/parameters/enable_unsafe_noiommu_mode\n+    ./usertools/dpdk-devbind.py -b vfio-pci 00:04.0\n+\n+    ./build/app/dpdk-testpmd -c 0x3 -n 8 -- -i --nb-cores=1 --txd=2048 --rxd=2048\n+    testpmd>set fwd csum\n+    testpmd>start\n+\n+5. Send tcp/ip packets by packet generator with different packet sizes [64,128,256,512,1024,1280,1518], show throughput with below command::\n+\n+    testpmd>show port stats all\n+\n+Test Case 20: pvp packed ring vhost async test with 1core 2queue using vfio-pci driver\n+--------------------------------------------------------------------------------------\n+\n+1. Bind one nic port and 1 dsa device to vfio-pci::\n+\n+\t./usertools/dpdk-devbind.py -b vfio-pci 0000:29:00.0 0000:6a:01.0\n+\n+2. Launch vhost testpmd by below command::\n+\n+    ./build/app/dpdk-testpmd -l 2-3 -n 8 --huge-dir=/dev/hugepages -a 0000:29:00.0 -a 0000:6a:01.0,max_queues=4 --socket-mem 8192 \\\n+    --vdev 'eth_vhost0,iface=vhost-net,queues=2,dmas=[txq0@0000:6a:01.0-q0;rxq0@0000:6a:01.0-q1;txq1@0000:6a:01.0-q2;rxq1@0000:6a:01.0-q3]'\n+    -- -i --nb-cores=1 --txq=2 --rxq=2 --txd=2048 --rxd=2048 --forward-mode=mac -a\n+\n+2. Launch VM with mrg_rxbuf feature on::\n+\n+\ttaskset -c 11-18 /usr/local/qemu-7.1.0/bin/qemu-system-x86_64 -name us-vhost-vm1 -cpu host -enable-kvm \\\n+\t-m 8192 -object memory-backend-file,id=mem,size=8192M,mem-path=/mnt/huge,share=on \\\n+\t-numa node,memdev=mem -mem-prealloc -smp cores=8,sockets=1 -drive file=/home/xingguang/osimg/ubuntu22-04.img \\\n+\t-chardev socket,id=char0,path=./vhost-net -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=ntts1 \\\n+\t-netdev user,id=ntts1,hostfwd=tcp:127.0.0.1:6002-:22 \\\n+\t-netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce,queues=2 \\\n+\t-device virtio-net-pci,mac=52:54:00:00:00:01,netdev=mynet1,mrg_rxbuf=on,mq=on,vectors=6,rx_queue_size=1024,tx_queue_size=1024,csum=off,guest_csum=off,gso=off,host_tso4=off,guest_tso4=off,guest_ecn=off,packed=on -vnc :10 --monitor stdio\n+\n+3. Set affinity::\n+\n+    (qemu)info cpus\n+    <host>taskset -cp 11 xxx\n+\t...\n+    <host>taskset -cp 18 xxx\n+\n+4. On VM, bind virtio net to vfio-pci and run testpmd::\n+\n+    mount -t hugetlbfs nodev /mnt/huge\n+    modprobe vfio-pci\n+    echo 1 > /sys/module/vfio/parameters/enable_unsafe_noiommu_mode\n+    ./usertools/dpdk-devbind.py -b vfio-pci 00:04.0\n+\n+    ./build/app/dpdk-testpmd -c 0x3 -n 8 -- -i --nb-cores=1 --txq=2 --rxq=2 --txd=2048 --rxd=2048\n+    testpmd>set fwd csum\n+    testpmd>start\n+\n+5. Send tcp/ip packets by packet generator with different packet sizes [64,128,256,512,1024,1280,1518], show throughput with below command::\n+\n+    testpmd>show port stats all\n+\n+Test Case 21: pvp packed ring vhost async test with 2core 2queue using vfio-pci driver\n+--------------------------------------------------------------------------------------\n+\n+1. Bind one nic port and 1 dsa device to vfio-pci::\n+\n+\t./usertools/dpdk-devbind.py -b vfio-pci 0000:29:00.0 0000:6a:01.0\n+\n+2. Launch vhost testpmd by below command::\n+\n+    ./build/app/dpdk-testpmd -l 2-4 -n 8 --huge-dir=/dev/hugepages -a 0000:29:00.0 -a 0000:6a:01.0,max_queues=4 --socket-mem 8192 \\\n+    --vdev 'eth_vhost0,iface=vhost-net,queues=2,dmas=[txq0@0000:6a:01.0-q0;rxq0@0000:6a:01.0-q1;txq1@0000:6a:01.0-q2;rxq1@0000:6a:01.0-q3]'\n+    -- -i --nb-cores=2 --txq=2 --rxq=2 --txd=2048 --rxd=2048 --forward-mode=mac -a\n+\n+2. Launch VM with mrg_rxbuf feature on::\n+\n+\ttaskset -c 11-18 /usr/local/qemu-7.1.0/bin/qemu-system-x86_64 -name us-vhost-vm1 -cpu host -enable-kvm \\\n+\t-m 8192 -object memory-backend-file,id=mem,size=8192M,mem-path=/mnt/huge,share=on \\\n+\t-numa node,memdev=mem -mem-prealloc -smp cores=8,sockets=1 -drive file=/home/xingguang/osimg/ubuntu22-04.img \\\n+\t-chardev socket,id=char0,path=./vhost-net -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=ntts1 \\\n+\t-netdev user,id=ntts1,hostfwd=tcp:127.0.0.1:6002-:22 \\\n+\t-netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce,queues=2 \\\n+\t-device virtio-net-pci,mac=52:54:00:00:00:01,netdev=mynet1,mrg_rxbuf=on,mq=on,vectors=6,rx_queue_size=1024,tx_queue_size=1024,csum=off,guest_csum=off,gso=off,host_tso4=off,guest_tso4=off,guest_ecn=off,packed=on -vnc :10 --monitor stdio\n+\n+3. Set affinity::\n+\n+    (qemu)info cpus\n+    <host>taskset -cp 11 xxx\n+    ...\n+    <host>taskset -cp 18 xxx\n+\n+4. On VM, bind virtio net to vfio-pci and run testpmd::\n+\n+    mount -t hugetlbfs nodev /mnt/huge\n+    modprobe vfio-pci\n+    echo 1 > /sys/module/vfio/parameters/enable_unsafe_noiommu_mode\n+    ./usertools/dpdk-devbind.py -b vfio-pci 00:04.0\n+\n+    ./build/app/dpdk-testpmd -c 0x7 -n 8 -- -i --nb-cores=2 --txq=2 --rxq=2 --txd=2048 --rxd=2048\n+    testpmd>set fwd csum\n+    testpmd>start\n+\n+5. Send tcp/ip packets by packet generator with different packet sizes [64,128,256,512,1024,1280,1518], show throughput with below command::\n+\n+    testpmd>show port stats all\n+\n+Test Case 22: pvp packed ring vhost async test with 2core 4queue using vfio-pci driver\n+--------------------------------------------------------------------------------------\n+\n+1. Bind one nic port and 1 dsa device to vfio-pci::\n+\n+\t./usertools/dpdk-devbind.py -b vfio-pci 0000:29:00.0 0000:6a:01.0\n+\n+2. Launch vhost testpmd by below command::\n+\n+    ./build/app/dpdk-testpmd -l 2-4 -n 8 --huge-dir=/dev/hugepages -a 0000:29:00.0 -a 0000:6a:01.0,max_queues=8 --socket-mem 8192 \\\n+    --vdev 'eth_vhost0,iface=vhost-net,queues=4,dmas=[txq0@0000:6a:01.0-q0;rxq0@0000:6a:01.0-q1;txq1@0000:6a:01.0-q2;rxq1@0000:6a:01.0-q3;txq2@0000:6a:01.0-q4;rxq2@0000:6a:01.0-q5;txq3@0000:6a:01.0-q6;rxq3@0000:6a:01.0-q7]'\n+    -- -i --nb-cores=2 --txq=4 --rxq=4 --txd=2048 --rxd=2048 --forward-mode=mac -a\n+\n+2. Launch VM with mrg_rxbuf feature on::\n+\n+\ttaskset -c 11-18 /usr/local/qemu-7.1.0/bin/qemu-system-x86_64 -name us-vhost-vm1 -cpu host -enable-kvm \\\n+\t-m 8192 -object memory-backend-file,id=mem,size=8192M,mem-path=/mnt/huge,share=on \\\n+\t-numa node,memdev=mem -mem-prealloc -smp cores=8,sockets=1 -drive file=/home/xingguang/osimg/ubuntu22-04.img \\\n+\t-chardev socket,id=char0,path=./vhost-net -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=ntts1 \\\n+\t-netdev user,id=ntts1,hostfwd=tcp:127.0.0.1:6002-:22 \\\n+\t-netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce,queues=4 \\\n+\t-device virtio-net-pci,mac=52:54:00:00:00:01,netdev=mynet1,mrg_rxbuf=on,mq=on,vectors=10,rx_queue_size=1024,tx_queue_size=1024,csum=off,guest_csum=off,gso=off,host_tso4=off,guest_tso4=off,guest_ecn=off,packed=on -vnc :10 --monitor stdio\n+\n+3. Set affinity::\n+\n+    (qemu)info cpus\n+    <host>taskset -cp 11 xxx\n+    ...\n+    <host>taskset -cp 18 xxx\n+\n+4. On VM, bind virtio net to vfio-pci and run testpmd::\n+\n+    mount -t hugetlbfs nodev /mnt/huge\n+    modprobe vfio-pci\n+    echo 1 > /sys/module/vfio/parameters/enable_unsafe_noiommu_mode\n+    ./usertools/dpdk-devbind.py -b vfio-pci 00:04.0\n+\n+    ./build/app/dpdk-testpmd -c 0x7 -n 8 -- -i --nb-cores=2 --txq=4 --rxq=4 --txd=2048 --rxd=2048\n+    testpmd>set fwd csum\n+    testpmd>start\n+\n+5. Send tcp/ip packets by packet generator with different packet sizes [64,128,256,512,1024,1280,1518], show throughput with below command::\n+\n+    testpmd>show port stats all\n+\n+Test Case 23: pvp packed ring vhost async test with 4core 4queue using vfio-pci driver\n+--------------------------------------------------------------------------------------\n+\n+1. Bind one nic port and 1 dsa device to vfio-pci::\n+\n+\t./usertools/dpdk-devbind.py -b vfio-pci 0000:29:00.0 0000:6a:01.0\n+\n+2. Launch vhost testpmd by below command::\n+\n+    ./build/app/dpdk-testpmd -l 2-6 -n 8 --huge-dir=/dev/hugepages -a 0000:29:00.0 -a 0000:6a:01.0,max_queues=8 --socket-mem 8192 \\\n+    --vdev 'eth_vhost0,iface=vhost-net,queues=4,dmas=[txq0@0000:6a:01.0-q0;rxq0@0000:6a:01.0-q1;txq1@0000:6a:01.0-q2;rxq1@0000:6a:01.0-q3;txq2@0000:6a:01.0-q4;rxq2@0000:6a:01.0-q5;txq3@0000:6a:01.0-q6;rxq3@0000:6a:01.0-q7]'\n+    -- -i --nb-cores=4 --txq=4 --rxq=4 --txd=2048 --rxd=2048 --max-pkt-len=5200 --tx-offloads=0x00008000 --forward-mode=mac -a\n+\n+2. Launch VM with mrg_rxbuf feature on::\n+\n+\ttaskset -c 11-18 /usr/local/qemu-7.1.0/bin/qemu-system-x86_64 -name us-vhost-vm1 -cpu host -enable-kvm \\\n+\t-m 8192 -object memory-backend-file,id=mem,size=8192M,mem-path=/mnt/huge,share=on \\\n+\t-numa node,memdev=mem -mem-prealloc -smp cores=8,sockets=1 -drive file=/home/xingguang/osimg/ubuntu22-04.img \\\n+\t-chardev socket,id=char0,path=./vhost-net -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=ntts1 \\\n+\t-netdev user,id=ntts1,hostfwd=tcp:127.0.0.1:6002-:22 \\\n+\t-netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce,queues=4 \\\n+\t-device virtio-net-pci,mac=52:54:00:00:00:01,netdev=mynet1,mrg_rxbuf=on,mq=on,vectors=10,rx_queue_size=1024,tx_queue_size=1024,csum=off,guest_csum=off,gso=off,host_tso4=off,guest_tso4=off,guest_ecn=off,packed=on -vnc :10 --monitor stdio\n+\n+3. Set affinity::\n+\n+    (qemu)info cpus\n+    <host>taskset -cp 11 xxx\n+    ...\n+    <host>taskset -cp 18 xxx\n+\n+4. On VM, bind virtio net to vfio-pci and run testpmd::\n+\n+    mount -t hugetlbfs nodev /mnt/huge\n+    modprobe vfio-pci\n+    echo 1 > /sys/module/vfio/parameters/enable_unsafe_noiommu_mode\n+    ./usertools/dpdk-devbind.py -b vfio-pci 00:04.0\n+\n+    ./build/app/dpdk-testpmd -c 0x1f -n 8 -- -i --nb-cores=4 --txq=4 --rxq=4 --txd=2048 --rxd=2048\n+    testpmd>set fwd csum\n+    testpmd>start\n+\n+5. Send tcp/ip packets by packet generator with different packet sizes [64,128,256,512,1024,1280,1518,2048,4096], show throughput with below command::\n+\n+    testpmd>show port stats all\n+\n+Test Case 24: pvp packed ring vhost async test with 4core 8queue using vfio-pci driver\n+--------------------------------------------------------------------------------------\n+\n+1. Bind one nic port and 1 dsa device to vfio-pci::\n+\n+\t./usertools/dpdk-devbind.py -b vfio-pci 0000:29:00.0 0000:6a:01.0\n+\n+2. Launch vhost testpmd by below command::\n+\n+    ./build/app/dpdk-testpmd -l 2-6 -n 8 --huge-dir=/dev/hugepages -a 0000:29:00.0 -a 0000:6a:01.0,max_queues=8 --socket-mem 8192 \\\n+    --vdev 'eth_vhost0,iface=vhost-net,queues=8,dmas=[txq0@0000:6a:01.0-q0;rxq0@0000:6a:01.0-q0;txq1@0000:6a:01.0-q1;rxq1@0000:6a:01.0-q1;txq2@0000:6a:01.0-q2;rxq2@0000:6a:01.0-q2;txq3@0000:6a:01.0-q3;rxq3@0000:6a:01.0-q3;txq4@0000:6a:01.0-q4;rxq4@0000:6a:01.0-q4;txq5@0000:6a:01.0-q5;rxq5@0000:6a:01.0-q5;txq6@0000:6a:01.0-q6;rxq6@0000:6a:01.0-q6;txq7@0000:6a:01.0-q7;rxq7@0000:6a:01.0-q7]'\n+    -- -i --nb-cores=4 --txq=8 --rxq=8 --txd=2048 --rxd=2048 --max-pkt-len=5200 --tx-offloads=0x00008000 --forward-mode=mac -a\n+\n+2. Launch VM with mrg_rxbuf feature on::\n+\n+\ttaskset -c 11-18 /usr/local/qemu-7.1.0/bin/qemu-system-x86_64 -name us-vhost-vm1 -cpu host -enable-kvm \\\n+\t-m 8192 -object memory-backend-file,id=mem,size=8192M,mem-path=/mnt/huge,share=on \\\n+\t-numa node,memdev=mem -mem-prealloc -smp cores=8,sockets=1 -drive file=/home/xingguang/osimg/ubuntu22-04.img \\\n+\t-chardev socket,id=char0,path=./vhost-net -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=ntts1 \\\n+\t-netdev user,id=ntts1,hostfwd=tcp:127.0.0.1:6002-:22 \\\n+\t-netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce,queues=8 \\\n+\t-device virtio-net-pci,mac=52:54:00:00:00:01,netdev=mynet1,mrg_rxbuf=on,mq=on,vectors=18,rx_queue_size=1024,tx_queue_size=1024,csum=off,guest_csum=off,gso=off,host_tso4=off,guest_tso4=off,guest_ecn=off,packed=on -vnc :10 --monitor stdio\n+\n+3. Set affinity::\n+\n+    (qemu)info cpus\n+    <host>taskset -cp 11 xxx\n+    ...\n+    <host>taskset -cp 18 xxx\n+\n+4. On VM, bind virtio net to vfio-pci and run testpmd::\n+\n+    mount -t hugetlbfs nodev /mnt/huge\n+    modprobe vfio-pci\n+    echo 1 > /sys/module/vfio/parameters/enable_unsafe_noiommu_mode\n+    ./usertools/dpdk-devbind.py -b vfio-pci 00:04.0\n+\n+    ./build/app/dpdk-testpmd -c 0x1f -n 8 -- -i --nb-cores=4 --txq=8 --rxq=8 --txd=2048 --rxd=2048\n+    testpmd>set fwd csum\n+    testpmd>start\n+\n+5. Send tcp/ip packets by packet generator with different packet sizes [64,128,256,512,1024,1280,1518,2048,4096], show throughput with below command::\n+\n+    testpmd>show port stats all\n\\ No newline at end of file\n",
    "prefixes": [
        "V1",
        "2/4"
    ]
}