get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 110084,
    "url": "https://patches.dpdk.org/api/patches/110084/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20220422054900.1559341-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": "<20220422054900.1559341-1-weix.ling@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20220422054900.1559341-1-weix.ling@intel.com",
    "date": "2022-04-22T05:49:00",
    "name": "[V1,4/6] test_plans/vswitch_pvp_multi_paths_performance_with_cbdma_test_plan: add new testplan of DPDK-22.03",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "ed34c2d0757e23bf43e97287f17411da8d7fced5",
    "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/20220422054900.1559341-1-weix.ling@intel.com/mbox/",
    "series": [
        {
            "id": 22610,
            "url": "https://patches.dpdk.org/api/series/22610/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=22610",
            "date": "2022-04-22T05:48:16",
            "name": "add new testsuite of DPDK-22.03",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/22610/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/110084/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/110084/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 1E668A0093;\n\tFri, 22 Apr 2022 07:49:12 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 13D3540042;\n\tFri, 22 Apr 2022 07:49:12 +0200 (CEST)",
            "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n by mails.dpdk.org (Postfix) with ESMTP id 4A5F340040\n for <dts@dpdk.org>; Fri, 22 Apr 2022 07:49:09 +0200 (CEST)",
            "from orsmga005.jf.intel.com ([10.7.209.41])\n by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 21 Apr 2022 22:49:06 -0700",
            "from unknown (HELO localhost.localdomain) ([10.239.251.222])\n by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 21 Apr 2022 22:49:04 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1650606550; x=1682142550;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=mrX9ABKSlr6y5gxZxy3BMRNYAFnDscX0I/BsjflGbq4=;\n b=GPuYUgkl1k/Hw5z+hhyCWfQK+Kpts75pfFO7/NlMATFZasybl99rYeqQ\n PRTzc41qhLzSKx17OWd7GjiUSG88IEAtX7RyAS2IupZ7vlWLqzyuXWZ4i\n /poHFO/GWTqnUW6leSyKf5WhKDqcHEw2Be+jtCmWq7VhyIZKYEa5RQneF\n ACuRz/6XMIZ6qytohRq5iucamjPNZwe9WzQSMBTFruzpqsYiqhAeWZtoI\n qU6zIobvfaMvvQfFgBJ6CaV4GsC6qGo1Th6RKvVEoLLczjBBipSEECyw6\n eE18SQOP66yBTJLprl1bYKf7VDL2kHJyg/UmsyPwyF0dqKav+tYsuUReK A==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6400,9594,10324\"; a=\"264356235\"",
            "E=Sophos;i=\"5.90,280,1643702400\"; d=\"scan'208\";a=\"264356235\"",
            "E=Sophos;i=\"5.90,280,1643702400\"; d=\"scan'208\";a=\"728357434\""
        ],
        "From": "Wei Ling <weix.ling@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Wei Ling <weix.ling@intel.com>",
        "Subject": "[dts][PATCH V1 4/6]\n test_plans/vswitch_pvp_multi_paths_performance_with_cbdma_test_plan: add new\n testplan of DPDK-22.03",
        "Date": "Fri, 22 Apr 2022 13:49:00 +0800",
        "Message-Id": "<20220422054900.1559341-1-weix.ling@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "dts@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "test suite reviews and discussions <dts.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dts>,\n <mailto:dts-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dts/>",
        "List-Post": "<mailto:dts@dpdk.org>",
        "List-Help": "<mailto:dts-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dts>,\n <mailto:dts-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dts-bounces@dpdk.org"
    },
    "content": "As commit 53d3f4778c(vhost: integrate dmadev in asynchronous data-path),\nadd new test_plans/vswitch_pvp_multi_paths_performance_with_cbdma_test_plan.rst.\n\nSigned-off-by: Wei Ling <weix.ling@intel.com>\n---\n ...paths_performance_with_cbdma_test_plan.rst | 395 ++++++++++++++++++\n 1 file changed, 395 insertions(+)\n create mode 100644 test_plans/vswitch_pvp_multi_paths_performance_with_cbdma_test_plan.rst",
    "diff": "diff --git a/test_plans/vswitch_pvp_multi_paths_performance_with_cbdma_test_plan.rst b/test_plans/vswitch_pvp_multi_paths_performance_with_cbdma_test_plan.rst\nnew file mode 100644\nindex 00000000..2083ad1b\n--- /dev/null\n+++ b/test_plans/vswitch_pvp_multi_paths_performance_with_cbdma_test_plan.rst\n@@ -0,0 +1,395 @@\n+.. Copyright (c) <2022>, Intel Corporation\n+   All rights reserved.\n+\n+   Redistribution and use in source and binary forms, with or without\n+   modification, are permitted provided that the following conditions\n+   are met:\n+\n+   - Redistributions of source code must retain the above copyright\n+     notice, this list of conditions and the following disclaimer.\n+\n+   - Redistributions in binary form must reproduce the above copyright\n+     notice, this list of conditions and the following disclaimer in\n+     the documentation and/or other materials provided with the\n+     distribution.\n+\n+   - Neither the name of Intel Corporation nor the names of its\n+     contributors may be used to endorse or promote products derived\n+     from this software without specific prior written permission.\n+\n+   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n+   \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n+   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n+   FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n+   COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n+   INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n+   (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n+   SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n+   HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n+   STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n+   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n+   OF THE POSSIBILITY OF SUCH DAMAGE.\n+\n+========================================================\n+Vswitch PVP multi-paths performance with CBDMA test plan\n+========================================================\n+\n+Description\n+===========\n+\n+Benchmark PVP multi-paths performance with CBDMA in vhost sample,\n+include 10 tx/rx paths: inorder mergeable, inorder non-mergeable,\n+mergeable, non-mergeable, vectorized_rx, virtio 1.1 inorder mergeable,\n+virtio 1.1 inorder non-mergeable, virtio 1.1  mergeable, virtio 1.1 non-mergeable,\n+virtio1.1 vectorized path. Give 1 core for vhost and virtio respectively.\n+About vswitch sample, a new option --total-num-mbufs is added from dpdk-22.03,\n+for the user to set larger mbuf pool to avoid launch fail. For example, dpdk-vhost\n+will fail to launch with a 40G i40e port without setting larger mbuf pool.\n+For more about vhost switch sample, please refer to the dpdk docs:\n+http://doc.dpdk.org/guides/sample_app_ug/vhost.html\n+For virtio-user vdev parameter, you can refer to the dpdk doc:\n+https://doc.dpdk.org/guides/nics/virtio.html#virtio-paths-selection-and-usage\n+\n+Prerequisites\n+=============\n+\n+Topology\n+--------\n+\n+Test flow: TG-->nic-->vswitch-->virtio-user-->vswitch-->nic-->TG\n+\n+Hardware\n+--------\n+Supportted NICs: all except columbiaville that not support VMDQ\n+\n+Software\n+--------\n+Trex:http://trex-tgn.cisco.com/trex/release/v2.26.tar.gz\n+\n+General set up\n+--------------\n+1. Compile DPDK and vhost example::\n+\n+\t# meson <dpdk build dir>  \n+\t# meson configure -Dexamples=vhost <dpdk build dir> \n+\t# ninja -C <dpdk build dir> -j 110\n+\n+2. Get the pci device id and DMA device id of DUT.\n+\n+For example, 0000:18:00.0 is pci device id, 0000:00:04.0 is DMA device id::\n+\n+\t<dpdk dir># ./usertools/dpdk-devbind.py -s\n+\n+\tNetwork devices using kernel driver\n+\t===================================\n+\t0000:18:00.0 'Device 159b' if=ens785f0 drv=ice unused=vfio-pci\n+\t\n+\tDMA devices using kernel driver\n+\t===============================\n+\t0000:00:04.0 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=vfio-pci\n+\n+Test case\n+=========\t\n+\n+Common steps\n+------------\n+1. Bind one physical port and one CBDMA port to vfio-pci::\n+\n+\t<dpdk dir># ./usertools/dpdk-devbind.py -b vfio-pci <DUT port pci device id>\n+\t<dpdk dir># ./usertools/dpdk-devbind.py -b vfio-pci <DUT port DMA device id>\n+\t\n+\tFor example::\n+\t./usertools/dpdk-devbind.py -b vfio-pci 0000:00:18.0\n+\t./usertools/dpdk-devbind.py -b vfio-pci 0000:00:04.0\n+\n+2. Inject different size of packets to NIC by traffic generator::\n+\n+\tThe packet size include [64, 128, 256, 512, 1024, 1518], and the format of packet is as follows.\n+    +-------------+-------------+-------------+-------------+\n+    | MAC         | MAC         | IPV4        | IPV4        |\n+    | Src address | Dst address | Src address | Dst address |\n+    |-------------|-------------|-------------|-------------|\n+    | Any MAC     | Virtio mac  | Any IP      | Any IP      |\n+    +-------------+-------------+-------------+-------------+\n+\tAll the packets in this test plan use the Virtio mac:00:11:22:33:44:10.\n+\n+Test Case 1: Vswitch PVP split ring inorder mergeable path performance with CBDMA\n+---------------------------------------------------------------------------------\n+This case uses Vswitch and Traffic generator(For example, Trex) to test performance of split ring inorder mergeable path with CBDMA. \n+\n+1. Bind one physical port and one CBDMA port to vfio-pci as common step 1.\n+\n+2. Launch dpdk-vhost by below command::\n+\n+\t<dpdk dir>#./<dpdk build dir>/examples/dpdk-vhost -l 2-3 -n 4 -a 0000:18:00.0 -a 0000:00:04.0 \\\n+\t-- -p 0x1 --mergeable 1 --vm2vm 1 --stats 1 --socket-file /tmp/vhost-net --dmas [txd0@0000:00:04.0] --total-num-mbufs 600000\n+\n+3. Launch virtio-user with split ring inorder mergeable path::\n+\n+\t<dpdk dir>#./<dpdk build dir>/app/dpdk-testpmd -l 5-6 -n 4 --no-pci --file-prefix=testpmd0  \\\n+\t--vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=/tmp/vhost-net,queues=1,packed_vq=0,mrg_rxbuf=1,in_order=1 \\\n+\t-- -i --rxq=1 --txq=1 --txd=1024 --rxd=1024 --nb-cores=1 \n+\n+4. Send packets from virtio-user to let vswitch know the mac addr::\n+\n+\ttestpmd> set fwd mac\n+\ttestpmd> start tx_first\n+\ttestpmd> stop\n+\ttestpmd> start\n+\n+5. Send packets by traffic generator as common step 2, and check the throughput with below command::\n+\n+\ttestpmd> show port stats all\n+\n+Test Case 2: Vswitch PVP split ring inorder non-mergeable path performance with CBDMA\n+-------------------------------------------------------------------------------------\n+This case uses Vswitch and Traffic generator(For example, Trex) to test performance of split ring inorder non-mergeable path with CBDMA.\n+\n+1. Bind one physical port and one CBDMA port to vfio-pci as common step 1.\n+\n+2. Launch dpdk-vhost by below command::\n+\n+\t<dpdk dir>#./<dpdk build dir>/examples/dpdk-vhost -l 2-3 -n 4 -a 0000:18:00.0 -a 0000:00:04.0 \\\n+\t-- -p 0x1 --mergeable 1 --vm2vm 1 --stats 1 --socket-file /tmp/vhost-net --dmas [txd0@0000:00:04.0] --total-num-mbufs 600000\n+\n+3. Launch virtio-user with split ring non-mergeable path::\n+\n+\t<dpdk dir>#./<dpdk build dir>/app/dpdk-testpmd -l 5-6 -n 4 --no-pci --file-prefix=testpmd0  \\\n+\t--vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=/tmp/vhost-net,queues=1,packed_vq=0,mrg_rxbuf=0,in_order=1 \\\n+\t-- -i --rxq=1 --txq=1 --txd=1024 --rxd=1024 --nb-cores=1 \n+\n+4. Send packets from virtio-user to let vswitch know the mac addr::\n+\n+\ttestpmd> set fwd mac\n+\ttestpmd> start tx_first\n+\ttestpmd> stop\n+\ttestpmd> start\n+\n+5. Send packets by traffic generator as common step 2, and check the throughput with below command::\n+\n+\ttestpmd> show port stats all\n+\t\n+Test Case 3: Vswitch PVP split ring mergeable path performance with CBDMA\n+-------------------------------------------------------------------------\n+This case uses Vswitch and Traffic generator(For example, Trex) to test performance of split ring mergeable path with CBDMA.\n+\n+1. Bind one physical port and one CBDMA port to vfio-pci as common step 1.\n+\n+2. Launch dpdk-vhost by below command::\n+\n+\t<dpdk dir>#./<dpdk build dir>/examples/dpdk-vhost -l 2-3 -n 4 -a 0000:18:00.0 -a 0000:00:04.0 \\\n+\t-- -p 0x1 --mergeable 1 --vm2vm 1 --stats 1 --socket-file /tmp/vhost-net --dmas [txd0@0000:00:04.0] --total-num-mbufs 600000\n+\n+3. Launch virtio-user with split ring mergeable path::\n+\n+\t<dpdk dir>#./<dpdk build dir>/app/dpdk-testpmd -l 5-6 -n 4 --no-pci --file-prefix=testpmd0  \\\n+\t--vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=/tmp/vhost-net,queues=1,packed_vq=0,mrg_rxbuf=1,in_order=0 \\\n+\t-- -i --rxq=1 --txq=1 --txd=1024 --rxd=1024 --nb-cores=1 \n+\n+4. Send packets from virtio-user to let vswitch know the mac addr::\n+\n+\ttestpmd> set fwd mac\n+\ttestpmd> start tx_first\n+\ttestpmd> stop\n+\ttestpmd> start\n+\n+5. Send packets by traffic generator as common step 2, and check the throughput with below command::\n+\n+\ttestpmd> show port stats all\t\n+\t\n+Test Case 4: Vswitch PVP split ring non-mergeable path performance with CBDMA\n+-----------------------------------------------------------------------------\n+This case uses Vswitch and Traffic generator(For example, Trex) to test performance of split ring non-mergeable path with CBDMA.\n+\n+1. Bind one physical port and one CBDMA port to vfio-pci as common step 1.\n+\n+2. Launch dpdk-vhost by below command::\n+\n+\t<dpdk dir>#./<dpdk build dir>/examples/dpdk-vhost -l 2-3 -n 4 -a 0000:18:00.0 -a 0000:00:04.0 \\\n+\t-- -p 0x1 --mergeable 1 --vm2vm 1 --stats 1 --socket-file /tmp/vhost-net --dmas [txd0@0000:00:04.0] --total-num-mbufs 600000\n+\n+3. Launch virtio-user with split ring non-mergeable path::\n+\n+\t<dpdk dir>#./<dpdk build dir>/app/dpdk-testpmd -l 5-6 -n 4 --no-pci --file-prefix=testpmd0  \\\n+\t--vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=/tmp/vhost-net,queues=1,packed_vq=0,mrg_rxbuf=0,in_order=0 \\\n+\t-- -i --enable-hw-vlan-strip --rxq=1 --txq=1 --txd=1024 --rxd=1024 --nb-cores=1 \n+\n+4. Send packets from virtio-user to let vswitch know the mac addr::\n+\n+\ttestpmd> set fwd mac\n+\ttestpmd> start tx_first\n+\ttestpmd> stop\n+\ttestpmd> start\n+\n+5. Send packets by traffic generator as common step 2, and check the throughput with below command::\n+\n+\ttestpmd> show port stats all\t\t\n+\n+Test Case 5: Vswitch PVP split ring vectorized path performance with CBDMA\n+--------------------------------------------------------------------------\n+This case uses Vswitch and Traffic generator(For example, Trex) to test performance of split ring vectorized path with CBDMA.\n+\n+1. Bind one physical port and one CBDMA port to vfio-pci as common step 1.\n+\n+2. Launch dpdk-vhost by below command::\n+\n+\t<dpdk dir>#./<dpdk build dir>/examples/dpdk-vhost -l 2-3 -n 4 -a 0000:18:00.0 -a 0000:00:04.0 \\\n+\t-- -p 0x1 --mergeable 1 --vm2vm 1 --stats 1 --socket-file /tmp/vhost-net --dmas [txd0@0000:00:04.0] --total-num-mbufs 600000\n+\n+3. Launch virtio-user with split ring vectorized path::\n+\n+\t<dpdk dir>#./<dpdk build dir>/app/dpdk-testpmd -l 5-6 -n 4 --no-pci --file-prefix=testpmd0 \\\n+\t--vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=/tmp/vhost-net,queues=1,packed_vq=0,mrg_rxbuf=0,in_order=1,vectorized=1 \\\n+\t-- -i --rxq=1 --txq=1 --txd=1024 --rxd=1024 --nb-cores=1 \n+\n+4. Send packets from virtio-user to let vswitch know the mac addr::\n+\n+\ttestpmd> set fwd mac\n+\ttestpmd> start tx_first\n+\ttestpmd> stop\n+\ttestpmd> start\n+\n+5. Send packets by traffic generator as common step 2, and check the throughput with below command::\n+\n+\ttestpmd> show port stats all\t\t\n+\t\n+\t\n+Test Case 6: Vswitch PVP packed ring inorder mergeable path performance with CBDMA\n+----------------------------------------------------------------------------------\n+This case uses Vswitch and Traffic generator(For example, Trex) to test performance of packed ring inorder mergeable path with CBDMA.\n+\n+1. Bind one physical port and one CBDMA port to vfio-pci as common step 1.\n+\n+2. Launch dpdk-vhost by below command::\n+\n+\t<dpdk dir>#./<dpdk build dir>/examples/dpdk-vhost -l 2-3 -n 4 -a 0000:18:00.0 -a 0000:00:04.0 \\\n+\t-- -p 0x1 --mergeable 1 --vm2vm 1 --stats 1 --socket-file /tmp/vhost-net --dmas [txd0@0000:00:04.0] --total-num-mbufs 600000\n+\n+3. Launch virtio-user with packed ring inorder mergeable path::\n+\n+\t<dpdk dir>#./<dpdk build dir>/app/dpdk-testpmd -l 5-6 -n 4 --no-pci --file-prefix=testpmd0  \\\n+\t--vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=/tmp/vhost-net,queues=1,packed_vq=1,mrg_rxbuf=1,in_order=1 \\\n+\t-- -i --rxq=1 --txq=1 --txd=1024 --rxd=1024 --nb-cores=1 \n+\n+4. Send packets from virtio-user to let vswitch know the mac addr::\n+\n+\ttestpmd> set fwd mac\n+\ttestpmd> start tx_first\n+\ttestpmd> stop\n+\ttestpmd> start\n+\n+5. Send packets by traffic generator as common step 2, and check the throughput with below command::\n+\n+\ttestpmd> show port stats all\n+\n+Test Case 7: Vswitch PVP packed ring inorder non-mergeable path performance with CBDMA\n+--------------------------------------------------------------------------------------\n+This case uses Vswitch and Traffic generator(For example, Trex) to test performance of packed ring inorder non-mergeable path with CBDMA.\n+\n+1. Bind one physical port and one CBDMA port to vfio-pci as common step 1.\n+\n+2. Launch dpdk-vhost by below command::\n+\n+\t<dpdk dir>#./<dpdk build dir>/examples/dpdk-vhost -l 2-3 -n 4 -a 0000:18:00.0 -a 0000:00:04.0 \\\n+\t-- -p 0x1 --mergeable 1 --vm2vm 1 --stats 1 --socket-file /tmp/vhost-net --dmas [txd0@0000:00:04.0] --total-num-mbufs 600000\n+\n+3. Launch virtio-user with packed ring inorder non-mergeable path::\n+\n+\t<dpdk dir>#./<dpdk build dir>/app/dpdk-testpmd -l 5-6 -n 4 --no-pci --file-prefix=testpmd0  \\\n+\t--vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=/tmp/vhost-net,queues=1,packed_vq=1,mrg_rxbuf=0,in_order=1 \\\n+\t-- -i --rxq=1 --txq=1 --txd=1024 --rxd=1024 --nb-cores=1 \n+\n+4. Send packets from virtio-user to let vswitch know the mac addr::\n+\n+\ttestpmd> set fwd mac\n+\ttestpmd> start tx_first\n+\ttestpmd> stop\n+\ttestpmd> start\n+\n+5. Send packets by traffic generator as common step 2, and check the throughput with below command::\n+\n+\ttestpmd> show port stats all\n+\t\n+Test Case 8: Vswitch PVP packed ring mergeable path performance with CBDMA\n+--------------------------------------------------------------------------\n+This case uses Vswitch and Traffic generator(For example, Trex) to test performance of packed ring mergeable path with CBDMA.\n+\n+1. Bind one physical port and one CBDMA port to vfio-pci as common step 1.\n+\n+2. Launch dpdk-vhost by below command::\n+\n+\t<dpdk dir>#./<dpdk build dir>/examples/dpdk-vhost -l 2-3 -n 4 -a 0000:18:00.0 -a 0000:00:04.0 \\\n+\t-- -p 0x1 --mergeable 1 --vm2vm 1 --stats 1 --socket-file /tmp/vhost-net --dmas [txd0@0000:00:04.0] --total-num-mbufs 600000\n+\n+3. Launch virtio-user with packed ring mergeable path::\n+\n+\t<dpdk dir>#./<dpdk build dir>/app/dpdk-testpmd -l 5-6 -n 4 --no-pci --file-prefix=testpmd0  \\\n+\t--vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=/tmp/vhost-net,queues=1,packed_vq=1,mrg_rxbuf=1,in_order=0 \\\n+\t-- -i --rxq=1 --txq=1 --txd=1024 --rxd=1024 --nb-cores=1\n+\n+4. Send packets from virtio-user to let vswitch know the mac addr::\n+\n+\ttestpmd> set fwd mac\n+\ttestpmd> start tx_first\n+\ttestpmd> stop\n+\ttestpmd> start\n+\n+5. Send packets by traffic generator as common step 2, and check the throughput with below command::\n+\n+\ttestpmd> show port stats all\t\n+\t\n+Test Case 9: Vswitch PVP packed ring non-mergeable path performance with CBDMA\n+------------------------------------------------------------------------------\n+This case uses Vswitch and Traffic generator(For example, Trex) to test performance of packed ring non-mergeable path with CBDMA.\n+\n+1. Bind one physical port and one CBDMA port to vfio-pci as common step 1.\n+\n+2. Launch dpdk-vhost by below command::\n+\n+\t<dpdk dir>#./<dpdk build dir>/examples/dpdk-vhost -l 2-3 -n 4 -a 0000:18:00.0 -a 0000:00:04.0 \\\n+\t-- -p 0x1 --mergeable 1 --vm2vm 1 --stats 1 --socket-file /tmp/vhost-net --dmas [txd0@0000:00:04.0] --total-num-mbufs 600000\n+\n+3. Launch virtio-user with packed ring non-mergeable path::\n+\n+\t<dpdk dir>#./<dpdk build dir>/app/dpdk-testpmd -l 5-6 -n 4 --no-pci --file-prefix=testpmd0  \\\n+\t--vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=/tmp/vhost-net,queues=1,packed_vq=1,mrg_rxbuf=0,in_order=0 \\\n+\t-- -i --rxq=1 --txq=1 --txd=1024 --rxd=1024 --nb-cores=1 \n+\n+4. Send packets from virtio-user to let vswitch know the mac addr::\n+\n+\ttestpmd> set fwd mac\n+\ttestpmd> start tx_first\n+\ttestpmd> stop\n+\ttestpmd> start\n+\n+5. Send packets by traffic generator as common step 2, and check the throughput with below command::\n+\n+\ttestpmd> show port stats all\t\t\n+\n+Test Case 10: Vswitch PVP packed ring vectorized path performance with CBDMA\n+----------------------------------------------------------------------------\n+This case uses Vswitch and Traffic generator(For example, Trex) to test performance of packed ring vectorized path with CBDMA.\n+\n+1. Bind one physical port and one CBDMA port to vfio-pci as common step 1.\n+\n+2. Launch dpdk-vhost by below command::\n+\n+\t<dpdk dir>#./<dpdk build dir>/examples/dpdk-vhost -l 2-3 -n 4 -a 0000:18:00.0 -a 0000:00:04.0 \\\n+\t-- -p 0x1 --mergeable 1 --vm2vm 1 --stats 1 --socket-file /tmp/vhost-net --dmas [txd0@0000:00:04.0] --total-num-mbufs 600000\n+\n+3. Launch virtio-user with packed ring vectorized path::\n+\n+\t<dpdk dir>#./<dpdk build dir>/app/dpdk-testpmd -l 5-6 -n 4 --no-pci --file-prefix=testpmd0 --force-max-simd-bitwidth=512 \\\n+\t--vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=/tmp/vhost-net,queues=1,packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1 \\\n+\t-- -i --rxq=1 --txq=1 --txd=1024 --rxd=1024 --nb-cores=1\n+\n+4. Send packets from virtio-user to let vswitch know the mac addr::\n+\n+\ttestpmd> set fwd mac\n+\ttestpmd> start tx_first\n+\ttestpmd> stop\n+\ttestpmd> start\n+\n+5. Send packets by traffic generator as common step 2, and check the throughput with below command::\n+\n+\ttestpmd> show port stats all\t\t\n",
    "prefixes": [
        "V1",
        "4/6"
    ]
}