get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 119573,
    "url": "https://patches.dpdk.org/api/patches/119573/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20221109020533.1204084-1-weix.ling@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": "<20221109020533.1204084-1-weix.ling@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20221109020533.1204084-1-weix.ling@intel.com",
    "date": "2022-11-09T02:05:33",
    "name": "[V1,2/3] test_plans/vhost_event_idx_interrupt_cbdma_test_plan: add new testplan",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "ed9cf36c32fcf3061e1bc503f12a85c65b14ab44",
    "submitter": {
        "id": 1828,
        "url": "https://patches.dpdk.org/api/people/1828/?format=api",
        "name": "Ling, WeiX",
        "email": "weix.ling@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dts/patch/20221109020533.1204084-1-weix.ling@intel.com/mbox/",
    "series": [
        {
            "id": 25635,
            "url": "https://patches.dpdk.org/api/series/25635/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=25635",
            "date": "2022-11-09T02:04:40",
            "name": "add vhost_event_idx_interrupt_cbdma",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/25635/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/119573/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/119573/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 53E37A0093;\n\tWed,  9 Nov 2022 03:11:58 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 4DA88400D7;\n\tWed,  9 Nov 2022 03:11:58 +0100 (CET)",
            "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n by mails.dpdk.org (Postfix) with ESMTP id 97880400D4\n for <dts@dpdk.org>; Wed,  9 Nov 2022 03:11:56 +0100 (CET)",
            "from fmsmga007.fm.intel.com ([10.253.24.52])\n by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 08 Nov 2022 18:11:55 -0800",
            "from unknown (HELO localhost.localdomain) ([10.239.252.222])\n by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 08 Nov 2022 18:11:54 -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=1667959916; x=1699495916;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=Gdw/rdHeOvOUPQC63aDZxnXlH6YDk9RFSVgNEUpsIus=;\n b=TpIpdMjmnxrChd7xQVRFHIVJZq+J8gFG9xxeWgB+r9EcYlN4jJi/KSdx\n N85MCLOoRiariP/x7EFUl5dvnMkgVfrhW+J3YLKc+kTdP2M3eBjIpztLc\n Dow8jIdcBn2EnE79Rdy9K/0mIS04Myb6+uUflw8u814nuopHOP4VWCqHP\n 3z4KPN9B9LgNfuOUmRGZfbTSnwUTizfqtaOvXBpKdUunESRorlZ0yo+Xm\n EMZ/b1S2Ewj5AhFVxIhOZXtbKIYupa84IU/JhHEDU6nzBuTvzQC3NpRj4\n 3MQ3xw+32AgRoFbb0+voGzHY/VwGufTCs9tRLnSv5lfGLxenGfEDX+luZ A==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6500,9779,10525\"; a=\"397158843\"",
            "E=Sophos;i=\"5.96,149,1665471600\"; d=\"scan'208\";a=\"397158843\"",
            "E=McAfee;i=\"6500,9779,10525\"; a=\"639020746\"",
            "E=Sophos;i=\"5.96,149,1665471600\"; d=\"scan'208\";a=\"639020746\""
        ],
        "From": "Wei Ling <weix.ling@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Wei Ling <weix.ling@intel.com>",
        "Subject": "[dts][PATCH V1 2/3]\n test_plans/vhost_event_idx_interrupt_cbdma_test_plan: add new testplan",
        "Date": "Wed,  9 Nov 2022 10:05:33 +0800",
        "Message-Id": "<20221109020533.1204084-1-weix.ling@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "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 vhost_event_idx_interrupt_cbdma_test_plan in test_plans to test\nthe virtio enqueue with split ring and packed ring path and CBDMA.\n\nSigned-off-by: Wei Ling <weix.ling@intel.com>\n---\n ...st_event_idx_interrupt_cbdma_test_plan.rst | 266 ++++++++++++++++++\n 1 file changed, 266 insertions(+)\n create mode 100644 test_plans/vhost_event_idx_interrupt_cbdma_test_plan.rst",
    "diff": "diff --git a/test_plans/vhost_event_idx_interrupt_cbdma_test_plan.rst b/test_plans/vhost_event_idx_interrupt_cbdma_test_plan.rst\nnew file mode 100644\nindex 00000000..433a2dad\n--- /dev/null\n+++ b/test_plans/vhost_event_idx_interrupt_cbdma_test_plan.rst\n@@ -0,0 +1,266 @@\n+.. SPDX-License-Identifier: BSD-3-Clause\n+   Copyright(c) 2022 Intel Corporation\n+\n+====================================================\n+vhost event idx interrupt modei with CBDMA test plan\n+====================================================\n+\n+Description\n+===========\n+\n+Vhost event idx interrupt need test with l3fwd-power sample with CBDMA channel, \n+send small packets from virtio-net to vhost side, check vhost-user cores can be\n+wakeup status,and vhost-user cores should be sleep status after stop sending \n+packets from virtioside. \n+For packed virtqueue test, need using qemu version > 4.2.0.\n+\n+Prerequisites\n+=============\n+Topology\n+--------\n+Test flow: Virtio-net --> Vhost-user\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=static <dpdk build dir>\n+    # ninja -C <dpdk build dir> -j 110\n+    For example:\n+    CC=gcc meson --werror -Denable_kmods=True -Dlibdir=lib -Dexamples=all --default-library=static x86_64-native-linuxapp-gcc\n+    ninja -C x86_64-native-linuxapp-gcc -j 110\n+\n+Test case\n+=========\n+\n+Test Case 1: wake up split ring vhost-user cores with event idx interrupt mode and cbdma enabled 16 queues test\n+---------------------------------------------------------------------------------------------------------------\n+\n+1. Bind 16 cbdma ports to vfio-pci driver, then launch l3fwd-power example app with client mode::\n+\n+    ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power  -l 1-16 -n 4 --log-level=9 \\\n+    --vdev 'eth_vhost0,iface=./vhost-net0,queues=16,client=1,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;txq8@0000:00:04.0;txq9@0000:00:04.1;txq10@0000:00:04.2;txq11@0000:00:04.3;txq12@0000:00:04.4;txq13@0000:00:04.5;txq14@0000:00:04.6;txq15@0000:00:04.7]' \\\n+    -- -p 0x1 --parse-ptype 1 \\\n+    --config \"(0,0,1),(0,1,2),(0,2,3),(0,3,4),(0,4,5),(0,5,6),(0,6,7),(0,7,8),(0,8,9),(0,9,10),(0,10,11),(0,11,12),(0,12,13),(0,13,14),(0,14,15),(0,15,16)\"\n+\n+2. Launch VM1 with server mode::\n+\n+    taskset -c 17-25 qemu-system-x86_64 -name us-vhost-vm1 -enable-kvm -cpu host -smp 16 -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:6003-:22 \\\n+    -chardev socket,id=char0,path=./vhost-net0,server \\\n+    -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce,queues=16 \\\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,mq=on,vectors=40 -vnc :12\n+\n+3. Relauch l3fwd-power sample for port up::\n+\n+    ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power -l 1-16 -n 4 --log-level=9 \\\n+    --vdev 'eth_vhost0,iface=./vhost-net0,queues=16,client=1,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;txq8@0000:00:04.0;txq9@0000:00:04.1;txq10@0000:00:04.2;txq11@0000:00:04.3;txq12@0000:00:04.4;txq13@0000:00:04.5;txq14@0000:00:04.6;txq15@0000:00:04.7]' \\\n+    -- -p 0x1 --parse-ptype 1 \\\n+    --config \"(0,0,1),(0,1,2),(0,2,3),(0,3,4),(0,4,5),(0,5,6),(0,6,7),(0,7,8),(0,8,9),(0,9,10),(0,10,11),(0,11,12),(0,12,13),(0,13,14),(0,14,15),(0,15,16)\"\n+\n+4. Set vitio-net with 16 quques and give vitio-net ip address::\n+\n+    ethtool -L [ens3] combined 16    # [ens3] is the name of virtio-net\n+    ifconfig [ens3] 1.1.1.1\n+\n+5. Send packets with different IPs from virtio-net, notice to bind each vcpu to different send packets process::\n+\n+    taskset -c 0 ping 1.1.1.2\n+    taskset -c 1 ping 1.1.1.3\n+    taskset -c 2 ping 1.1.1.4\n+    taskset -c 3 ping 1.1.1.5\n+    taskset -c 4 ping 1.1.1.6\n+    taskset -c 5 ping 1.1.1.7\n+    taskset -c 6 ping 1.1.1.8\n+    taskset -c 7 ping 1.1.1.9\n+    taskset -c 8 ping 1.1.1.10\n+    taskset -c 9 ping 1.1.1.11\n+    taskset -c 10 ping 1.1.1.12\n+    taskset -c 11 ping 1.1.1.13\n+    taskset -c 12 ping 1.1.1.14\n+    taskset -c 13 ping 1.1.1.15\n+    taskset -c 14 ping 1.1.1.16\n+    taskset -c 15 ping 1.1.1.17\n+\n+6. Check vhost related cores are waked up with l3fwd-power log, such as following::\n+\n+    L3FWD_POWER: lcore 0 is waked up from rx interrupt on port 0 queue 0\n+    ...\n+    ...\n+    L3FWD_POWER: lcore 15 is waked up from rx interrupt on port 0 queue 15\n+\n+Test Case 2: wake up split ring vhost-user cores by multi virtio-net in VMs with event idx interrupt mode and cbdma enabled test\n+--------------------------------------------------------------------------------------------------------------------------------\n+\n+1. Bind 2 cbdma ports to vfio-pci driver, then launch l3fwd-power example app with client mode::\n+\n+    ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power  -l 1-2 -n 4 --log-level=9 \\\n+    --vdev 'eth_vhost0,iface=./vhost-net0,queues=1,client=1,dmas=[txq0@0000:00:04.0]' \\\n+    --vdev 'eth_vhost1,iface=./vhost-net1,queues=1,client=1,dmas=[txq0@0000:80:04.0]' \\\n+    -- -p 0x3 --parse-ptype 1 --config \"(0,0,1),(1,0,2)\"\n+\n+2. Launch VM1 and VM2 with server mode::\n+\n+     taskset -c 33 \\\n+     qemu-system-x86_64 -name us-vhost-vm1 \\\n+     -cpu host -enable-kvm -m 2048 -object memory-backend-file,id=mem,size=2048M,mem-path=/mnt/huge,share=on -numa node,memdev=mem -mem-prealloc \\\n+     -smp cores=1,sockets=1 -drive file=/home/osimg/ubuntu20-04.img  \\\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,server,id=char0,path=./vhost-net0,server \\\n+     -netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce \\\n+     -device virtio-net-pci,mac=52:54:00:00:00:01,netdev=mynet1,csum=on -vnc :10 -daemonize\n+\n+     taskset -c 34 \\\n+     qemu-system-x86_64 -name us-vhost-vm2 \\\n+     -cpu host -enable-kvm -m 2048 -object memory-backend-file,id=mem,size=2048M,mem-path=/mnt/huge,share=on -numa node,memdev=mem -mem-prealloc \\\n+     -smp cores=1,sockets=1 -drive file=/home/osimg/ubuntu20-04-2.img  \\\n+     -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=nttsip1 \\\n+     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6004-:22 \\\n+     -chardev socket,server,id=char0,path=./vhost-net1,server \\\n+     -netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce \\\n+     -device virtio-net-pci,mac=52:54:00:00:00:02,netdev=mynet1,csum=on -vnc :11 -daemonize\n+\n+3. Relauch l3fwd-power sample for port up::\n+\n+    ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power  -l 1-2 -n 4 --log-level=9 \\\n+    --vdev 'eth_vhost0,iface=./vhost-net0,queues=1,client=1,dmas=[txq0@0000:00:04.0]' \\\n+    --vdev 'eth_vhost1,iface=./vhost-net1,queues=1,client=1,dmas=[txq0@0000:80:04.0]' \\\n+    -- -p 0x3 --parse-ptype 1 --config \"(0,0,1),(1,0,2)\"\n+\n+4. On VM1, set ip for virtio device and send packets to vhost::\n+\n+    ifconfig [ens3] 1.1.1.2\n+    #[ens3] is the virtual device name\n+    ping 1.1.1.3\n+    #send packets to vhost\n+\n+5. On VM2, also set ip for virtio device and send packets to vhost::\n+\n+    ifconfig [ens3] 1.1.1.4\n+    #[ens3] is the virtual device name\n+    ping 1.1.1.5\n+    #send packets to vhost\n+\n+6. Check vhost related cores are waked up with l3fwd-power log.\n+\n+Test Case 3: wake up packed ring vhost-user cores with event idx interrupt mode and cbdma enabled 16 queues test\n+----------------------------------------------------------------------------------------------------------------\n+\n+1. Bind 16 cbdma ports to vfio-pci driver, then launch l3fwd-power example app with client mode::\n+\n+    ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power  -l 1-16 -n 4 --log-level=9 \\\n+    --vdev 'eth_vhost0,iface=./vhost-net0,queues=16,client=1,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;txq8@0000:00:04.0;txq9@0000:00:04.1;txq10@0000:00:04.2;txq11@0000:00:04.3;txq12@0000:00:04.4;txq13@0000:00:04.5;txq14@0000:00:04.6;txq15@0000:00:04.7]' \\\n+    -- -p 0x1 --parse-ptype 1 \\\n+    --config \"(0,0,1),(0,1,2),(0,2,3),(0,3,4),(0,4,5),(0,5,6),(0,6,7),(0,7,8),(0,8,9),(0,9,10),(0,10,11),(0,11,12),(0,12,13),(0,13,14),(0,14,15),(0,15,16)\"\n+\n+2. Launch VM1 with server mode::\n+\n+    taskset -c 17-25 qemu-system-x86_64 -name us-vhost-vm1 -enable-kvm -cpu host -smp 16 -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:6003-:22 \\\n+    -chardev socket,id=char0,path=./vhost-net0,server \\\n+    -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce,queues=16 \\\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,mq=on,vectors=40,packed=on -vnc :12\n+\n+3. Relauch l3fwd-power sample for port up::\n+\n+    ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power  -l 1-16 -n 4 --log-level=9 \\\n+    --vdev 'eth_vhost0,iface=./vhost-net0,queues=16,client=1,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;txq8@0000:00:04.0;txq9@0000:00:04.1;txq10@0000:00:04.2;txq11@0000:00:04.3;txq12@0000:00:04.4;txq13@0000:00:04.5;txq14@0000:00:04.6;txq15@0000:00:04.7]' \\\n+    -- -p 0x1 --parse-ptype 1 \\\n+    --config \"(0,0,1),(0,1,2),(0,2,3),(0,3,4),(0,4,5),(0,5,6),(0,6,7),(0,7,8),(0,8,9),(0,9,10),(0,10,11),(0,11,12),(0,12,13),(0,13,14),(0,14,15),(0,15,16)\"\n+\n+4. Set vitio-net with 16 quques and give vitio-net ip address::\n+\n+    ethtool -L [ens3] combined 16    # [ens3] is the name of virtio-net\n+    ifconfig [ens3] 1.1.1.1\n+\n+5. Send packets with different IPs from virtio-net, notice to bind each vcpu to different send packets process::\n+\n+    taskset -c 0 ping 1.1.1.2\n+    taskset -c 1 ping 1.1.1.3\n+    taskset -c 2 ping 1.1.1.4\n+    taskset -c 3 ping 1.1.1.5\n+    taskset -c 4 ping 1.1.1.6\n+    taskset -c 5 ping 1.1.1.7\n+    taskset -c 6 ping 1.1.1.8\n+    taskset -c 7 ping 1.1.1.9\n+    taskset -c 8 ping 1.1.1.10\n+    taskset -c 9 ping 1.1.1.11\n+    taskset -c 10 ping 1.1.1.12\n+    taskset -c 11 ping 1.1.1.13\n+    taskset -c 12 ping 1.1.1.14\n+    taskset -c 13 ping 1.1.1.15\n+    taskset -c 14 ping 1.1.1.16\n+    taskset -c 15 ping 1.1.1.17\n+\n+6. Check vhost related cores are waked up with l3fwd-power log, such as following::\n+\n+    L3FWD_POWER: lcore 0 is waked up from rx interrupt on port 0 queue 0\n+    ...\n+    ...\n+    L3FWD_POWER: lcore 15 is waked up from rx interrupt on port 0 queue 15\n+\n+Test Case 4: wake up packed ring vhost-user cores by multi virtio-net in VMs with event idx interrupt mode and cbdma enabled test\n+---------------------------------------------------------------------------------------------------------------------------------\n+\n+1. Bind 2 cbdma ports to vfio-pci driver, then launch l3fwd-power example app with client mode::\n+\n+    ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power  -l 1-2 -n 4 --log-level=9 \\\n+    --vdev 'eth_vhost0,iface=./vhost-net0,queues=1,client=1,dmas=[txq0@0000:00:04.0]' \\\n+    --vdev 'eth_vhost1,iface=./vhost-net1,queues=1,client=1,dmas=[txq0@0000:80:04.0]' \\\n+    -- -p 0x3 --parse-ptype 1 --config \"(0,0,1),(1,0,2)\"\n+\n+2. Launch VM1 and VM2 with server mode::\n+\n+     taskset -c 33 \\\n+     qemu-system-x86_64 -name us-vhost-vm1 \\\n+     -cpu host -enable-kvm -m 2048 -object memory-backend-file,id=mem,size=2048M,mem-path=/mnt/huge,share=on -numa node,memdev=mem -mem-prealloc \\\n+     -smp cores=1,sockets=1 -drive file=/home/osimg/ubuntu20-04.img  \\\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,server,id=char0,path=./vhost-net0,server \\\n+     -netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce \\\n+     -device virtio-net-pci,mac=52:54:00:00:00:01,netdev=mynet1,csum=on,packed=on -vnc :10 -daemonize\n+\n+     taskset -c 34 \\\n+     qemu-system-x86_64 -name us-vhost-vm2 \\\n+     -cpu host -enable-kvm -m 2048 -object memory-backend-file,id=mem,size=2048M,mem-path=/mnt/huge,share=on -numa node,memdev=mem -mem-prealloc \\\n+     -smp cores=1,sockets=1 -drive file=/home/osimg/ubuntu20-04-2.img  \\\n+     -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=nttsip1 \\\n+     -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6004-:22 \\\n+     -chardev socket,server,id=char0,path=./vhost-net1,server \\\n+     -netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce \\\n+     -device virtio-net-pci,mac=52:54:00:00:00:02,netdev=mynet1,csum=on,packed=on -vnc :11 -daemonize\n+\n+3. Relauch l3fwd-power sample for port up::\n+\n+    ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power  -l 1-2 -n 4 --log-level=9 \\\n+    --vdev 'eth_vhost0,iface=./vhost-net0,queues=1,client=1,dmas=[txq0@0000:00:04.0]' \\\n+    --vdev 'eth_vhost1,iface=./vhost-net1,queues=1,client=1,dmas=[txq0@0000:80:04.0]' \\\n+    -- -p 0x3 --parse-ptype 1 --config \"(0,0,1),(1,0,2)\"\n+\n+4. On VM1, set ip for virtio device and send packets to vhost::\n+\n+    ifconfig [ens3] 1.1.1.2\n+    #[ens3] is the virtual device name\n+    ping 1.1.1.3\n+    #send packets to vhost\n+\n+5. On VM2, also set ip for virtio device and send packets to vhost::\n+\n+    ifconfig [ens3] 1.1.1.4\n+    #[ens3] is the virtual device name\n+    ping 1.1.1.5\n+    #send packets to vhost\n+\n+6. Check vhost related cores are waked up with l3fwd-power log.\n",
    "prefixes": [
        "V1",
        "2/3"
    ]
}