get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 109736,
    "url": "https://patches.dpdk.org/api/patches/109736/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20220415032602.251488-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": "<20220415032602.251488-1-weix.ling@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20220415032602.251488-1-weix.ling@intel.com",
    "date": "2022-04-15T03:26:02",
    "name": "[V1,3/5] test_plans/loopback_virtio_user_server_mode_cbdma_test_plan: add DPDK22.03 new feature",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "f90df8bfd9b483085530b504df8b1e3e57e6c221",
    "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/20220415032602.251488-1-weix.ling@intel.com/mbox/",
    "series": [
        {
            "id": 22524,
            "url": "https://patches.dpdk.org/api/series/22524/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=22524",
            "date": "2022-04-15T03:25:06",
            "name": "migrate cbdma case in new testsuite",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/22524/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/109736/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/109736/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 2E8CDA050B;\n\tFri, 15 Apr 2022 05:26:11 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 25E9F40687;\n\tFri, 15 Apr 2022 05:26:11 +0200 (CEST)",
            "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n by mails.dpdk.org (Postfix) with ESMTP id B6C2B4003C\n for <dts@dpdk.org>; Fri, 15 Apr 2022 05:26:08 +0200 (CEST)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 14 Apr 2022 20:26:07 -0700",
            "from unknown (HELO localhost.localdomain) ([10.239.251.222])\n by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 14 Apr 2022 20:26:06 -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=1649993168; x=1681529168;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=AvH+22jmsqQVXLj5ZOqfN2RFNAW2nxjP+6th+W//Dfc=;\n b=LQK4FtJMw+KvHbrpX+uHQg9kiVhwL6wd2MqwRk+V6IMeaClufFg3Cwvj\n f4oKgtQV1mr1pRmHw9G0PeILXOjBOeckycGllJoacGcN0PwV5HvK9xtjp\n 6CZQuefuTPlYjuzFYiVzdlgDD+/s9pP6YAY01YcFppKQVDdfqV02UuPJ8\n kLp1S/fmDxPjDrQBefYH7oHl/97etW77J638MunNWf/UeBuZbBeM+xWq9\n 1RfUPCI6Q3/6bQ5rBCfj2OYd8GU8QGHsMIW1oimI7nW4szqetZc2ZC/XL\n HL57T5x0EGx+syE2vYDrD6+gAGBL5S3BCwA0nJW6DCwoILx5OtapIVe3r Q==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6400,9594,10317\"; a=\"288146519\"",
            "E=Sophos;i=\"5.90,261,1643702400\"; d=\"scan'208\";a=\"288146519\"",
            "E=Sophos;i=\"5.90,261,1643702400\"; d=\"scan'208\";a=\"700907853\""
        ],
        "From": "Wei Ling <weix.ling@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Wei Ling <weix.ling@intel.com>",
        "Subject": "[dts][PATCH V1 3/5]\n test_plans/loopback_virtio_user_server_mode_cbdma_test_plan: add DPDK22.03\n new feature",
        "Date": "Fri, 15 Apr 2022 11:26:02 +0800",
        "Message-Id": "<20220415032602.251488-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/loopback_virtio_user_server_mode_cbdma_test_plan.\n\nSigned-off-by: Wei Ling <weix.ling@intel.com>\n---\n ...irtio_user_server_mode_cbdma_test_plan.rst | 372 ++++++++++++++++++\n 1 file changed, 372 insertions(+)\n create mode 100644 test_plans/loopback_virtio_user_server_mode_cbdma_test_plan.rst",
    "diff": "diff --git a/test_plans/loopback_virtio_user_server_mode_cbdma_test_plan.rst b/test_plans/loopback_virtio_user_server_mode_cbdma_test_plan.rst\nnew file mode 100644\nindex 00000000..761397df\n--- /dev/null\n+++ b/test_plans/loopback_virtio_user_server_mode_cbdma_test_plan.rst\n@@ -0,0 +1,372 @@\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 NOgit T 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+vhost/virtio-user loopback server mode test plan\n+================================================\n+\n+Description\n+===========\n+\n+1. Virtio-user server mode is a feature to enable virtio-user as the server, vhost as the client,\n+thus after vhost-user is killed then relaunched,\n+virtio-user can reconnect back to vhost-user again; at another hand,\n+virtio-user also can reconnect back to vhost-user after virtio-user is killed.\n+2. This feature test need cover different rx/tx paths with virtio 1.0 and virtio 1.1,\n+includes split ring mergeable, non-mergeable, inorder mergeable,inorder non-mergeable, vector_rx path\n+and packed ring mergeable, non-mergeable, inorder non-mergeable, inorder mergeable, vectorized path.\n+3. Split ring and packed ring test when vhost enqueue operation with multi-CBDMA channels.\n+When DMA devices are bound to vfio driver,VA mode is the default and recommended. For PA mode,\n+page by page mapping may exceed IOMMU's max capability, better to use 1G guest hugepage.\n+\n+For more about dpdk-testpmd sample, please refer to the DPDK docments:\n+https://doc.dpdk.org/guides/testpmd_app_ug/run_app.html\n+\n+For virtio-user vdev parameter, you can refer to the DPDK docments:\n+https://doc.dpdk.org/guides/nics/virtio.html#virtio-paths-selection-and-usage.\n+\n+Prerequisites\n+=============\n+\n+Topology\n+--------\n+Test flow: Virtio-user-->Vhost-user-->Testpmd-->Vhost-user-->Virtio-user\n+\n+Hardware\n+--------\n+Supportted NICs: ALL\n+\n+Software\n+--------\n+Trex:http://trex-tgn.cisco.com/trex/release/v2.26.tar.gz\n+\n+General set up\n+--------------\n+1. Compile DPDK::\n+\n+      # CC=gcc meson --werror -Denable_kmods=True -Dlibdir=lib -Dexamples=all --default-library=<dpdk build dir>\n+      # ninja -C <dpdk build dir> -j 110\n+\n+2. Get the PCI device ID and DMA device ID of DUT, for example, 0000:18:00.0 is PCI device ID, 0000:00:04.0, 0000:00:04.1 is DMA device ID::\n+\n+      <dpdk dir># ./usertools/dpdk-devbind.py -s\n+\n+      Network devices using kernel driver\n+      ===================================\n+      0000:18:00.0 'Device 159b' if=ens785f0 drv=ice unused=vfio-pci\n+\n+      DMA devices using kernel driver\n+      ===============================\n+      0000:00:04.0 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=vfio-pci\n+      0000:00:04.1 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=vfio-pci\n+\n+Test case\n+=========\n+\n+Common steps\n+------------\n+1. Bind 1 NIC port and CBDMA channels to vfio-pci::\n+\n+      <dpdk dir># ./usertools/dpdk-devbind.py -b vfio-pci <DUT port pci device id>\n+      <dpdk dir># ./usertools/dpdk-devbind.py -b vfio-pci <DUT port DMA device id>\n+\n+      For example, bind 2 CBDMA channels::\n+      <dpdk dir># ./usertools/dpdk-devbind.py -b vfio-pci 0000:00:04.0,0000:00:04.1\n+\n+2. Attach pdump secondary process to primary process by same file-prefix::\n+\n+      <dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=virtio1 -- \\\n+      --pdump 'device_id=net_virtio_user1,queue=0,rx-dev=./pdump-virtio-rx-q0.pcap,mbuf-size=8000' \\\n+      --pdump 'device_id=net_virtio_user1,queue=0,rx-dev=./pdump-virtio-rx-q0.pcap,mbuf-size=8000'\n+\n+\n+Test Case 1: loopback packed ring all path cbdma test payload check with server mode and multi-queues\n+-----------------------------------------------------------------------------------------------------\n+This case uses testpmd to test packed ring all path with multi-queues to test payload check with server mode and relaunch vhost.\n+\n+1. Bind 8 CBDMA channel to vfio-pci, as common step 1.\n+\n+2. Launch vhost by below command::\n+\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 10-18 -n 4 \\\n+\t-a 0000:00:04.0 -a 0000:00:04.1 -a 0000:00:04.2 -a 0000:00:04.3 -a 0000:00:04.4 -a 0000:00:04.5 -a 0000:00:04.6 -a 0000:00:04.7 \\\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=8,client=1,dmas=[txq0;txq1;txq2;txq3;txq4;txq6;txq7]' \\\n+\t--iova=va -- -i --nb-cores=5 --rxq=8 --txq=8 --txd=1024 --rxd=1024 \\\n+\t--lcore-dma=[lcore11@0000:00:04.0,lcore11@0000:00:04.7,lcore12@0000:00:04.1,lcore12@0000:00:04.2,lcore12@0000:00:04.3,lcore13@0000:00:04.2,lcore13@0000:00:04.3,lcore13@0000:00:04.4,lcore14@0000:00:04.2,lcore14@0000:00:04.3,lcore14@0000:00:04.4,lcore14@0000:00:04.5,lcore15@0000:00:04.0,lcore15@0000:00:04.1,lcore15@0000:00:04.2,lcore15@0000:00:04.3,lcore15@0000:00:04.4,lcore15@0000:00:04.5,lcore15@0000:00:04.6,lcore15@0000:00:04.7]\n+\n+3. Launch virtio-user with packed ring mergeable inorder path::\n+\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 30,31 -n 4 --file-prefix=virtio-user0 --no-pci \\\n+\t--vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net0,queues=8,mrg_rxbuf=1,in_order=1,packed_vq=1,server=1 \\\n+\t-- -i --nb-cores=1 --rxq=8 --txq=8 --txd=1024 --rxd=1024\n+\ttestpmd>set fwd csum\n+\ttestpmd>start\n+\n+4. Start pdump to capture virtio-user packets, as common step 2.\n+\n+5. Send large pkts from vhost, check loopback performance can get expected and each queue can receive packets::\n+\n+\ttestpmd> set fwd csum\n+\ttestpmd> set txpkts 64,64,64,2000,2000,2000\n+\ttestpmd> set burst 1\n+\ttestpmd> start tx_first 1\n+\ttestpmd> stop\n+\n+6. Quit pdump, check all the packets length are 6192 Byte in the pcap file and the payload in receive packets are same.\n+\n+7. Quit and relaunch vhost and rerun step 4-6.\n+\n+8. Quit and relaunch virtio with packed ring mergeable path as below::\n+\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 30,31 -n 4 --file-prefix=virtio-user0 --no-pci \\\n+\t--vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net0,queues=8,mrg_rxbuf=1,in_order=0,packed_vq=1,server=1 \\\n+\t-- -i --nb-cores=1 --rxq=8 --txq=8 --txd=1024 --rxd=1024\n+\ttestpmd>set fwd csum\n+\ttestpmd>start\n+\n+9. Rerun steps 4-7.\n+\n+10. Quit and relaunch virtio with packed ring non-mergeable path as below::\n+\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 30,31 -n 4 --file-prefix=virtio-user0 --no-pci \\\n+\t--vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net0,queues=8,mrg_rxbuf=0,in_order=0,packed_vq=1,server=1 \\\n+\t-- -i --nb-cores=1 --rxq=8 --txq=8 --txd=1024 --rxd=1024\n+\ttestpmd>set fwd csum\n+\ttestpmd>start\n+\n+11. Send pkts from vhost, check loopback performance can get expected and each queue can receive packets::\n+\n+\ttestpmd> set fwd csum\n+\ttestpmd> set txpkts 64,128,256,512\n+\ttestpmd> set burst 1\n+\ttestpmd> start tx_first 1\n+\ttestpmd> stop\n+\n+12. Quit pdump, check all the packets length are 960 Byte in the pcap file and the payload in receive packets are same.\n+\n+13. Quit and relaunch vhost and rerun step 11-12.\n+\n+14. Quit and relaunch virtio with packed ring inorder non-mergeable path as below::\n+\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 30,31 -n 4 --file-prefix=virtio-user0 --no-pci \\\n+\t--vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net0,queues=8,mrg_rxbuf=0,in_order=1,packed_vq=1,server=1 \\\n+\t-- -i --nb-cores=1 --rxq=8 --txq=8 --txd=1024 --rxd=1024\n+\ttestpmd>set fwd csum\n+\ttestpmd>start\n+\n+15. Rerun step 11-13.\n+\n+16. Quit and relaunch virtio with packed ring vectorized path as below::\n+\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 30,31 -n 4 --file-prefix=virtio-user0 --no-pci --force-max-simd-bitwidth=512 \\\n+\t--vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net0,queues=8,mrg_rxbuf=0,in_order=1,packed_vq=1,vectorized=1,server=1 \\\n+\t-- -i --nb-cores=1 --rxq=8 --txq=8 --txd=1024 --rxd=1024\n+\ttestpmd>set fwd csum\n+\ttestpmd>start\n+\n+17. Rerun step 11-13.\n+\n+18. Quit and relaunch virtio with packed ring vectorized path and ring size is not power of 2 as below::\n+\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 30,31 -n 4 --file-prefix=virtio-user0 --no-pci --force-max-simd-bitwidth=512 \\\n+\t--vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net0,queues=8,mrg_rxbuf=0,in_order=1,packed_vq=1,vectorized=1,queue_size=1025,server=1 \\\n+\t-- -i --nb-cores=1 --rxq=8 --txq=8 --txd=1025 --rxd=1025\n+\ttestpmd>set fwd csum\n+\ttestpmd>start\n+\n+19. Rerun step 11-13.\n+\n+20. Quit and relaunch vhost w/ iova=pa::\n+\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 10-18 -n 4 \\\n+\t-a 0000:00:04.0 -a 0000:00:04.1 -a 0000:00:04.2 -a 0000:00:04.3 -a 0000:00:04.4 -a 0000:00:04.5 -a 0000:00:04.6 -a 0000:00:04.7 \\\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=8,client=1,dmas=[txq0;txq1;txq2;txq3;txq4;txq6;txq7]' \\\n+\t--iova=pa -- -i --nb-cores=5 --rxq=8 --txq=8 --txd=1024 --rxd=1024 \\\n+\t--lcore-dma=[lcore11@0000:00:04.0,lcore11@0000:00:04.7,lcore12@0000:00:04.1,lcore12@0000:00:04.2,lcore12@0000:00:04.3,lcore13@0000:00:04.2,lcore13@0000:00:04.3,lcore13@0000:00:04.4,lcore14@0000:00:04.2,lcore14@0000:00:04.3,lcore14@0000:00:04.4,lcore14@0000:00:04.5,lcore15@0000:00:04.0,lcore15@0000:00:04.1,lcore15@0000:00:04.2,lcore15@0000:00:04.3,lcore14@0000:00:04.4,lcore14@0000:00:04.5,lcore15@0000:00:04.6,lcore15@0000:00:04.7]\n+\n+21. Rerun steps 2-19.\n+\n+Test Case 2: loopback split ring all path cbdma test payload check with server mode and multi-queues\n+----------------------------------------------------------------------------------------------------\n+This case uses testpmd to test split ring all path with multi-queues to test payload check with server mode and relaunch vhost.\n+\n+1. Bind 3 CBDMA channel to vfio-pci, as common step 1.\n+\n+2. Launch vhost by below command::\n+\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 10-18 -n 4 -a 0000:00:04.0 -a 0000:00:04.1 -a 0000:00:04.2 \\\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=8,client=1,dmas=[txq0;txq1;txq2;txq3;txq4;txq5;txq6]' \\\n+\t--iova=va -- -i --nb-cores=5 --rxq=8 --txq=8 --txd=1024 --rxd=1024 \\\n+\t--lcore-dma=[lcore11@0000:00:04.0,lcore12@0000:00:04.0,lcore13@0000:00:04.1,lcore13@0000:00:04.2,lcore14@0000:00:04.1,lcore14@0000:00:04.2,lcore15@0000:00:04.1,lcore15@0000:00:04.2]\n+\n+3. Launch virtio-user with split ring mergeable inorder path::\n+\n+\tdpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 30,31 -n 4 --file-prefix=virtio-user0 --no-pci \\\n+\t-vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net0,queues=8,mrg_rxbuf=1,in_order=1,server=1 \\\n+\t- -i --nb-cores=1 --rxq=8 --txq=8 --txd=1024 --rxd=1024\n+\ttestpmd>set fwd csum\n+\ttestpmd>start\n+\n+4. Start pdump to capture virtio-user packets, as common step 2.\n+\n+5. Send large pkts from vhost, check loopback performance can get expected and each queue can receive packets::\n+\n+\ttestpmd> set fwd csum\n+\ttestpmd> set txpkts 64,64,64,2000,2000,2000\n+\ttestpmd> set burst 1\n+\ttestpmd> start tx_first 1\n+\ttestpmd> stop\n+\n+6. Quit pdump, check all the packets length are 6192 Byte in the pcap file and the payload in receive packets are same.\n+\n+7. Quit and relaunch vhost and rerun step 4-6.\n+\n+8. Quit and relaunch virtio with split ring mergeable path as below::\n+\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 30,31 -n 4 --file-prefix=virtio-user0 --no-pci \\\n+\t--vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net0,queues=8,mrg_rxbuf=1,in_order=0,server=1 \\\n+\t-- -i --nb-cores=1 --rxq=8 --txq=8 --txd=1024 --rxd=1024\n+\ttestpmd>set fwd csum\n+\ttestpmd>start\n+\n+9. Rerun steps 4-7.\n+\n+10. Quit and relaunch virtio with split ring non-mergeable path as below::\n+\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 30,31 -n 4 --file-prefix=virtio-user0 --no-pci \\\n+\t--vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net0,queues=8,mrg_rxbuf=0,in_order=0,server=1 \\\n+\t-- -i --enable-hw-vlan-strip --nb-cores=1 --rxq=8 --txq=8 --txd=1024 --rxd=1024\n+\ttestpmd>set fwd csum\n+\ttestpmd>start\n+\n+11. Send pkts from vhost, check loopback performance can get expected and each queue can receive packets::\n+\n+\ttestpmd> set fwd csum\n+\ttestpmd> set txpkts 64,128,256,512\n+\ttestpmd> set burst 1\n+\ttestpmd> start tx_first 1\n+\ttestpmd> stop\n+\n+12. Quit pdump, check all the packets length are 960 Byte in the pcap file and the payload in receive packets are same.\n+\n+13. Quit and relaunch vhost and rerun step 11-12.\n+\n+14. Quit and relaunch virtio with split ring inorder non-mergeable path as below::\n+\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 30,31 -n 4 --file-prefix=virtio-user0 --no-pci \\\n+\t--vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net0,queues=8,mrg_rxbuf=0,in_order=1,server=1 \\\n+\t-- -i --nb-cores=1 --rxq=8 --txq=8 --txd=1024 --rxd=1024\n+\ttestpmd>set fwd csum\n+\ttestpmd>start\n+\n+15. Rerun step 11-13.\n+\n+16. Quit and relaunch virtio with split ring vectorized path as below::\n+\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 30,31 -n 4 --file-prefix=virtio-user0 --no-pci \\\n+\t--vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net0,queues=8,mrg_rxbuf=0,in_order=0,vectorized=1,server=1 \\\n+\t-- -i --nb-cores=1 --rxq=8 --txq=8 --txd=1024 --rxd=1024\n+\ttestpmd>set fwd csum\n+\ttestpmd>start\n+\n+17. Rerun step 11-13.\n+\n+18. Quit and relaunch vhost w/ iova=pa::\n+\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 10-18 -n 4 -a 0000:00:04.0 -a 0000:00:04.1 -a 0000:00:04.2 \\\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=8,client=1,dmas=[txq0;txq1;txq2;txq3;txq4;txq5;txq6]' \\\n+\t--iova=pa -- -i --nb-cores=5 --rxq=8 --txq=8 --txd=1024 --rxd=1024 \\\n+\t--lcore-dma=[lcore11@0000:00:04.0,lcore12@0000:00:04.0,lcore13@0000:00:04.1,lcore13@0000:00:04.2,lcore14@0000:00:04.1,lcore14@0000:00:04.2,lcore15@0000:00:04.1,lcore15@0000:00:04.2]\n+\n+19. Rerun steps 2-18.\n+\n+Test Case 3: loopback split ring large chain packets stress test with server mode and cbdma enqueue\n+---------------------------------------------------------------------------------------------------\n+This case uses testpmd to test split ring large chain packets stress test with server mode.\n+\n+1. Bind 1 CBDMA channel to vfio-pci, as common step 1.\n+\n+2. Launch vhost by below command::\n+\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 2-3 -n 4 -a 0000:00:04.0 \\\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=1,client=1,dmas=[txq0]' --iova=va -- -i --nb-cores=1 --mbuf-size=65535 --lcore-dma=[lcore3@0000:00:04.0]\n+\n+3. Launch virtio and start testpmd::\n+\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 30,31 -n 4  --file-prefix=testpmd0 --no-pci  \\\n+\t--vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net0,queues=1,server=1,mrg_rxbuf=1,in_order=0,vectorized=1,queue_size=2048 \\\n+\t-- -i --rxq=1 --txq=1 --txd=2048 --rxd=2048 --nb-cores=1\n+\ttestpmd>start\n+\n+4. Send large packets from vhost, check virtio can receive packets::\n+\n+\ttestpmd> set txpkts 65535,65535,65535,65535,65535\n+\ttestpmd> start tx_first 32\n+\ttestpmd> show port stats all\n+\n+5. Stop and quit vhost testpmd and relaunch vhost with iova=pa::\n+\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 2-3 -n 4 -a 0000:00:04.0 \\\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=1,client=1,dmas=[txq0]' --iova=pa -- -i --nb-cores=1 --mbuf-size=65535 --lcore-dma=[lcore3@0000:00:04.0]\n+\n+6. Rerun steps 4.\n+\n+Test Case 4: loopback packed ring large chain packets stress test with server mode and cbdma enqueue\n+----------------------------------------------------------------------------------------------------\n+This case uses testpmd to test packed ring large chain packets stress test with server mode.\n+\n+1. Bind 1 CBDMA channel to vfio-pci, as common step 1.\n+\n+2. Launch vhost by below command::\n+\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 2-3 -n 4 -a 0000:00:04.0 \\\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=1,dmas=[txq0],client=1' --iova=va -- -i --nb-cores=1 --mbuf-size=65535 --lcore-dma=[lcore3@0000:00:04.0]\n+\n+3. Launch virtio and start testpmd::\n+\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 30,31 -n 4  --file-prefix=testpmd0 --no-pci  \\\n+\t--vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net0,queues=1,mrg_rxbuf=1,in_order=0,vectorized=1,packed_vq=1,queue_size=2048,server=1 \\\n+\t-- -i --rxq=1 --txq=1 --txd=2048 --rxd=2048 --nb-cores=1\n+\ttestpmd>start\n+\n+4. Send large packets from vhost, check virtio can receive packets::\n+\n+\ttestpmd> set txpkts 65535,65535,65535,65535,65535\n+\ttestpmd> start tx_first 32\n+\ttestpmd> show port stats all\n+\n+5. Stop and quit vhost testpmd and relaunch vhost with iova=pa::\n+\n+\t<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 2-3 -n 4 -a 0000:00:04.0 \\\n+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=1,dmas=[txq0],client=1' --iova=pa -- -i --nb-cores=1 --mbuf-size=65535 --lcore-dma=[lcore3@0000:00:04.0]\n+\n+6. Rerun steps 4.\n\\ No newline at end of file\n",
    "prefixes": [
        "V1",
        "3/5"
    ]
}