get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 98585,
    "url": "http://patches.dpdk.org/api/patches/98585/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20210910091651.565158-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": "<20210910091651.565158-1-weix.ling@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20210910091651.565158-1-weix.ling@intel.com",
    "date": "2021-09-10T09:16:51",
    "name": "[V1,1/3] test_plans/vhost_cbdma_test_plan: modify testcase 1-4 and add new testcase 6-7",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "6a9f2e6614e9512ee5938af13ada1a796a3b71a6",
    "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/20210910091651.565158-1-weix.ling@intel.com/mbox/",
    "series": [
        {
            "id": 18833,
            "url": "http://patches.dpdk.org/api/series/18833/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=18833",
            "date": "2021-09-10T09:16:42",
            "name": "modify testplan testsuite and config",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/18833/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/98585/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/98585/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 707FFA0547;\n\tFri, 10 Sep 2021 11:22:41 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 6BF5240DF4;\n\tFri, 10 Sep 2021 11:22:41 +0200 (CEST)",
            "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n by mails.dpdk.org (Postfix) with ESMTP id 22F1B406B4\n for <dts@dpdk.org>; Fri, 10 Sep 2021 11:22:38 +0200 (CEST)",
            "from fmsmga003.fm.intel.com ([10.253.24.29])\n by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 10 Sep 2021 02:22:31 -0700",
            "from unknown (HELO localhost.localdomain) ([10.240.183.222])\n by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 10 Sep 2021 02:22:30 -0700"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10102\"; a=\"201229218\"",
            "E=Sophos;i=\"5.85,282,1624345200\"; d=\"scan'208\";a=\"201229218\"",
            "E=Sophos;i=\"5.85,282,1624345200\"; d=\"scan'208\";a=\"540509750\""
        ],
        "From": "Wei Ling <weix.ling@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Wei Ling <weix.ling@intel.com>",
        "Date": "Fri, 10 Sep 2021 17:16:51 +0800",
        "Message-Id": "<20210910091651.565158-1-weix.ling@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dts] [PATCH V1 1/3] test_plans/vhost_cbdma_test_plan: modify\n testcase 1-4 and add new testcase 6-7",
        "X-BeenThere": "dts@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "test suite reviews and discussions <dts.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dts>,\n <mailto:dts-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dts/>",
        "List-Post": "<mailto:dts@dpdk.org>",
        "List-Help": "<mailto:dts-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dts>,\n <mailto:dts-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dts-bounces@dpdk.org",
        "Sender": "\"dts\" <dts-bounces@dpdk.org>"
    },
    "content": "1.Modify testcase 1-4 start vhost and virtio-user start parameter.\n2.Add new testcase 6-7.\n\nSigned-off-by: Wei Ling <weix.ling@intel.com>\n---\n test_plans/vhost_cbdma_test_plan.rst | 159 +++++++++++++++++++++------\n 1 file changed, 127 insertions(+), 32 deletions(-)",
    "diff": "diff --git a/test_plans/vhost_cbdma_test_plan.rst b/test_plans/vhost_cbdma_test_plan.rst\nindex 325b5d87..44f9f65b 100644\n--- a/test_plans/vhost_cbdma_test_plan.rst\n+++ b/test_plans/vhost_cbdma_test_plan.rst\n@@ -64,16 +64,16 @@ Here is an example:\n  $ ./dpdk-testpmd -c f -n 4 \\\n    --vdev 'net_vhost0,iface=/tmp/s0,queues=1,dmas=[txq0@80:04.0],dmathr=1024'\n \n-Test Case 1: PVP Split all path with DMA-accelerated vhost enqueue\n+Test Case 1: PVP split all path with DMA-accelerated vhost enqueue\n ==================================================================\n \n-Packet pipeline: \n+Packet pipeline:\n ================\n TG --> NIC --> Vhost --> Virtio--> Vhost --> NIC --> TG\n \n 1. Bind one cbdma port and one nic port to igb_uio, then launch vhost by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 2-3 --file-prefix=vhost --vdev 'net_vhost0,iface=/tmp/s0,queues=1,dmas=[txq0@80:04.0],dmathr=1024' \\\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 2-3 --file-prefix=vhost --vdev 'net_vhost0,iface=/tmp/s0,queues=1,dmas=[txq0@80:04.0],dmathr=1024,client=1' \\\n     -- -i --nb-cores=1 --txd=1024 --rxd=1024\n     >set fwd mac\n     >start\n@@ -81,12 +81,12 @@ TG --> NIC --> Vhost --> Virtio--> Vhost --> NIC --> TG\n 2. Launch virtio-user with inorder mergeable path::\n \n     ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 --no-pci --file-prefix=virtio \\\n-    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=/tmp/s0,mrg_rxbuf=1,in_order=1,queues=1 \\\n+    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=/tmp/s0,mrg_rxbuf=1,in_order=1,queues=1,server=1 \\\n     -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --nb-cores=1 --txd=1024 --rxd=1024\n     >set fwd mac\n     >start\n \n-3. Send imix packets [64,1518] from packet generator, check the throughput can get expected data, restart vhost port, then check throughput again::\n+3. Send imix packets [64,1518] from packet generator, check the throughput can get expected data, restart vhost port and send imix pkts again, check get same throuhput::\n \n     testpmd>show port stats all\n     testpmd>stop\n@@ -96,7 +96,7 @@ TG --> NIC --> Vhost --> Virtio--> Vhost --> NIC --> TG\n 4. Relaunch virtio-user with mergeable path, then repeat step 3::\n \n     ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 --no-pci --file-prefix=virtio \\\n-    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=/tmp/s0,mrg_rxbuf=1,in_order=0,queues=1 \\\n+    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=/tmp/s0,mrg_rxbuf=1,in_order=0,queues=1,server=1 \\\n     -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --nb-cores=1 --txd=1024 --rxd=1024\n     >set fwd mac\n     >start\n@@ -104,7 +104,7 @@ TG --> NIC --> Vhost --> Virtio--> Vhost --> NIC --> TG\n 5. Relaunch virtio-user with inorder non-mergeable path, then repeat step 3::\n \n     ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 --no-pci --file-prefix=virtio \\\n-    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=/tmp/s0,mrg_rxbuf=0,in_order=1,queues=1 \\\n+    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=/tmp/s0,mrg_rxbuf=0,in_order=1,queues=1,server=1 \\\n     -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --nb-cores=1 --txd=1024 --rxd=1024\n     >set fwd mac\n     >start\n@@ -112,7 +112,7 @@ TG --> NIC --> Vhost --> Virtio--> Vhost --> NIC --> TG\n 6. Relaunch virtio-user with non-mergeable path, then repeat step 3::\n \n     ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 --no-pci --file-prefix=virtio \\\n-    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=/tmp/s0,mrg_rxbuf=0,in_order=0,queues=1 \\\n+    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=/tmp/s0,mrg_rxbuf=0,in_order=0,queues=1,server=1 \\\n     -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --nb-cores=1 --txd=1024 --rxd=1024\n     >set fwd mac\n     >start\n@@ -121,13 +121,17 @@ TG --> NIC --> Vhost --> Virtio--> Vhost --> NIC --> TG\n \n     ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \\\n     --no-pci --file-prefix=virtio \\\n-    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=/tmp/s0,mrg_rxbuf=0,in_order=0,queues=1 \\\n+    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=/tmp/s0,mrg_rxbuf=0,in_order=0,queues=1,vectorized=1,server=1 \\\n     -- -i --nb-cores=1 --txd=1024 --rxd=1024\n     >set fwd mac\n     >start\n \n-Test Case 2: Split ring dynamic queue number test for DMA-accelerated vhost Tx operations\n-=========================================================================================\n+Test Case 2: PVP split ring dynamic queue number test for DMA-accelerated vhost Tx operations\n+=============================================================================================\n+\n+Packet pipeline:\n+================\n+TG --> NIC --> Vhost --> Virtio--> Vhost --> NIC --> TG\n \n 1. Bind 8 cbdma channels and one nic port to igb_uio, then launch vhost by below command::\n \n@@ -152,8 +156,8 @@ Test Case 2: Split ring dynamic queue number test for DMA-accelerated vhost Tx o\n 5. Quit vhost port and relaunch vhost with 4 queues w/ cbdma::\n \n     ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 28-29  \\\n-    --file-prefix=vhost --vdev 'net_vhost0,iface=/tmp/s0,queues=4,client=1,dmas=[txq0@00:04.0;txq1@00:04.1;txq2@00:04.2;txq3@00:04.3],dmathr=1024' \\\n-    -- -i --nb-cores=1 --txd=1024 --rxd=1024 --txq=4 --rxq=4\n+    --file-prefix=vhost --vdev 'net_vhost0,iface=/tmp/s0,queues=4,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1;txq2@0000:00:04.2;txq3@0000:00:04.3],dmathr=1024' \\\n+    -- -i --nb-cores=1 --txd=256 --rxd=256 --txq=4 --rxq=4\n     >set fwd mac\n     >start\n \n@@ -176,13 +180,13 @@ Test Case 2: Split ring dynamic queue number test for DMA-accelerated vhost Tx o\n Test Case 3: PVP packed ring all path with DMA-accelerated vhost enqueue\n ========================================================================\n \n-Packet pipeline: \n+Packet pipeline:\n ================\n TG --> NIC --> Vhost --> Virtio--> Vhost --> NIC --> TG\n \n 1. Bind one cbdma port and one nic port to igb_uio, then launch vhost by below command::\n \n-    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 2-3 --file-prefix=vhost --vdev 'net_vhost0,iface=/tmp/s0,queues=1,dmas=[txq0@80:04.0],dmathr=1024' \\\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 2-3 --file-prefix=vhost --vdev 'net_vhost0,iface=/tmp/s0,queues=1,dmas=[txq0@80:04.0],dmathr=0,client=1' \\\n     -- -i --nb-cores=1 --txd=1024 --rxd=1024\n     >set fwd mac\n     >start\n@@ -190,12 +194,12 @@ TG --> NIC --> Vhost --> Virtio--> Vhost --> NIC --> TG\n 2. Launch virtio-user with inorder mergeable path::\n \n     ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 --no-pci --file-prefix=virtio \\\n-    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=/tmp/s0,mrg_rxbuf=1,in_order=1,queues=1,packed_vq=1 \\\n+    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=/tmp/s0,mrg_rxbuf=1,in_order=1,queues=1,packed_vq=1,server=1 \\\n     -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --nb-cores=1 --txd=1024 --rxd=1024\n     >set fwd mac\n     >start\n \n-3. Send imix packets [64,1518] from packet generator, check the throughput can get expected data, restart vhost port, then check throughput again::\n+3. Send imix packets [64,1518] from packet generator, check the throughput can get expected data, restart vhost port and send imix pkts again, check get same throuhput::\n \n     testpmd>show port stats all\n     testpmd>stop\n@@ -205,7 +209,7 @@ TG --> NIC --> Vhost --> Virtio--> Vhost --> NIC --> TG\n 4. Relaunch virtio-user with mergeable path, then repeat step 3::\n \n     ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 --no-pci --file-prefix=virtio \\\n-    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=/tmp/s0,mrg_rxbuf=1,in_order=0,queues=1,packed_vq=1 \\\n+    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=/tmp/s0,mrg_rxbuf=1,in_order=0,queues=1,packed_vq=1,server=1 \\\n     -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --nb-cores=1 --txd=1024 --rxd=1024\n     >set fwd mac\n     >start\n@@ -213,7 +217,7 @@ TG --> NIC --> Vhost --> Virtio--> Vhost --> NIC --> TG\n 5. Relaunch virtio-user with inorder non-mergeable path, then repeat step 3::\n \n     ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 --no-pci --file-prefix=virtio \\\n-    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=/tmp/s0,mrg_rxbuf=0,in_order=1,queues=1,packed_vq=1 \\\n+    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=/tmp/s0,mrg_rxbuf=0,in_order=1,queues=1,packed_vq=1,server=1 \\\n     -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --nb-cores=1 --txd=1024 --rxd=1024\n     >set fwd mac\n     >start\n@@ -221,7 +225,7 @@ TG --> NIC --> Vhost --> Virtio--> Vhost --> NIC --> TG\n 6. Relaunch virtio-user with non-mergeable path, then repeat step 3::\n \n     ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 --no-pci --file-prefix=virtio \\\n-    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=/tmp/s0,mrg_rxbuf=0,in_order=0,queues=1,packed_vq=1 \\\n+    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=/tmp/s0,mrg_rxbuf=0,in_order=0,queues=1,packed_vq=1,server=1 \\\n     -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --nb-cores=1 --txd=1024 --rxd=1024\n     >set fwd mac\n     >start\n@@ -229,23 +233,27 @@ TG --> NIC --> Vhost --> Virtio--> Vhost --> NIC --> TG\n 7. Relaunch virtio-user with vectorized path, then repeat step 3::\n \n     ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \\\n-    --no-pci --file-prefix=virtio \\\n-    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=/tmp/s0,mrg_rxbuf=0,in_order=1,queues=1,packed_vq=1 \\\n+    --no-pci --file-prefix=virtio --force-max-simd-bitwidth=512 \\\n+    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=/tmp/s0,mrg_rxbuf=0,in_order=1,queues=1,packed_vq=1,vectorized=1,server=1 \\\n     -- -i --nb-cores=1 --txd=1024 --rxd=1024\n     >set fwd mac\n     >start\n \n-8. Relaunch virtio-user with vector_rx path, then repeat step 3::\n+8. Relaunch virtio-user with vectorized path and ring size is not power of 2, then repeat step 3::\n \n     ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \\\n-    --no-pci --file-prefix=virtio \\\n-    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=/tmp/s0,mrg_rxbuf=0,in_order=1,queues=1,packed_vq=1 \\\n-    -- -i --enable-hw-vlan-strip --nb-cores=1 --txd=1024 --rxd=1024\n+    --no-pci --file-prefix=virtio --force-max-simd-bitwidth=512 \\\n+    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=/tmp/s0,mrg_rxbuf=0,in_order=1,queues=1,packed_vq=1,vectorized=1,queue_size=1025,server=1 \\\n+    -- -i --nb-cores=1 --txd=1025 --rxd=1025\n     >set fwd mac\n     >start\n \n-Test Case 4: Packed ring dynamic queue number test for DMA-accelerated vhost Tx operations\n-==========================================================================================\n+Test Case 4: PVP packed ring dynamic queue number test for DMA-accelerated vhost Tx operations\n+==============================================================================================\n+\n+Packet pipeline:\n+================\n+TG --> NIC --> Vhost --> Virtio--> Vhost --> NIC --> TG\n \n 1. Bind 8 cbdma channels and one nic port to igb_uio, then launch vhost by below command::\n \n@@ -258,7 +266,7 @@ Test Case 4: Packed ring dynamic queue number test for DMA-accelerated vhost Tx\n 2. Launch virtio-user by below command::\n \n     ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 30-31 --no-pci --file-prefix=virtio \\\n-    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=/tmp/s0,mrg_rxbuf=1,in_order=1,queues=8,server=1,packed_vq=1 \\\n+    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=/tmp/s0,mrg_rxbuf=1,in_order=0,queues=8,server=1,packed_vq=1 \\\n     -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --nb-cores=1 --txd=1024 --rxd=1024 --txq=8 --rxq=8\n     >set fwd mac\n     >start\n@@ -291,8 +299,12 @@ Test Case 4: Packed ring dynamic queue number test for DMA-accelerated vhost Tx\n \n 10. Stop vhost port, check vhost RX and TX direction both exist packtes in 8 queues from vhost log.\n \n-Test Case 5: Compare PVP split ring performance between CPU copy, CBDMA copy and Sync copy\n-==========================================================================================\n+Test Case 5: PVP split ring performance comparasion between CPU copy, CBDMA copy and Sync copy\n+==============================================================================================\n+\n+Packet pipeline:\n+================\n+TG --> NIC --> Vhost --> Virtio--> Vhost --> NIC --> TG\n \n 1. Bind one cbdma port and one nic port which on same numa to igb_uio, then launch vhost by below command::\n \n@@ -309,7 +321,7 @@ Test Case 5: Compare PVP split ring performance between CPU copy, CBDMA copy and\n     >set fwd mac\n     >start\n \n-3. Send packets with 64b and 1518b seperately from packet generator, record the throughput as sync copy throughput for 64b and cbdma copy for 1518b::\n+3. Send packets with 64b and 1518b separately from packet generator, record the throughput as sync copy throughput for 64b and cbdma copy for 1518b::\n \n     testpmd>show port stats all\n \n@@ -347,3 +359,86 @@ Test Case 5: Compare PVP split ring performance between CPU copy, CBDMA copy and\n \n    (1)CPU copy vs. sync copy delta < 10% for 64B packet size\n    (2)CBDMA copy vs sync copy delta > 5% for 1518 packet size\n+\n+Test Case 6: PVP packed ring performance comparasion between CPU copy, CBDMA copy and Sync copy\n+===============================================================================================\n+\n+Packet pipeline:\n+================\n+TG --> NIC --> Vhost --> Virtio--> Vhost --> NIC --> TG\n+\n+1. Bind one cbdma port and one nic port which on same numa to igb_uio, then launch vhost by below command::\n+\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 2-3 --file-prefix=vhost --vdev 'net_vhost0,iface=/tmp/s0,queues=1,client=1,dmas=[txq0@00:01.0],dmathr=1024' \\\n+    -- -i --nb-cores=1 --txd=1024 --rxd=1024\n+    >set fwd mac\n+    >start\n+\n+2. Launch virtio-user with inorder mergeable path::\n+\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 --no-pci --file-prefix=virtio \\\n+    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=/tmp/s0,mrg_rxbuf=1,in_order=0,queues=1,packed_vq=1,server=1 \\\n+    -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --nb-cores=1 --txd=1024 --rxd=1024\n+    >set fwd mac\n+    >start\n+\n+3. Send packets with 64b and 1518b separately from packet generator, record the throughput as sync copy throughput for 64b and cbdma copy for 1518b::\n+\n+    testpmd>show port stats all\n+\n+4.Quit vhost side, relaunch with below cmd::\n+\n+ ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 2-3 --file-prefix=vhost --vdev 'net_vhost0,iface=/tmp/s0,queues=1,client=1,dmas=[txq0@00:01.0],dmathr=2000' \\\n+    -- -i --nb-cores=1 --txd=1024 --rxd=1024\n+    >set fwd mac\n+    >start\n+\n+5. Send packets with 1518b from packet generator, record the throughput as sync copy throughput for 1518b::\n+\n+    testpmd>show port stats all\n+\n+6. Quit two testpmd, relaunch vhost by below command::\n+\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 2-3 --file-prefix=vhost --vdev 'net_vhost0,iface=/tmp/s0,queues=1' \\\n+    -- -i --nb-cores=1 --txd=1024 --rxd=1024\n+    >set fwd mac\n+    >start\n+\n+7. Launch virtio-user with inorder mergeable path::\n+\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 --no-pci --file-prefix=virtio \\\n+    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=/tmp/s0,mrg_rxbuf=1,in_order=0,packed_vq=1,queues=1 \\\n+    -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --nb-cores=1 --txd=1024 --rxd=1024\n+    >set fwd mac\n+    >start\n+\n+8. Send packets with 64b from packet generator, record the throughput as cpu copy for 64b::\n+\n+    testpmd>show port stats all\n+\n+9. Check performance can meet below requirement::\n+\n+   (1)CPU copy vs. sync copy delta < 10% for 64B packet size\n+   (2)CBDMA copy vs sync copy delta > 5% for 1518 packet size\n+\n+Test Case 7: loopback with cbdma enqueue large chain packets stress test\n+========================================================================\n+\n+Packet pipeline:\n+================\n+Vhost <--> Virtio\n+\n+1. Bind 1 CBDMA to igb_uio and launch vhost:\n+\n+./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 2-3 -n 4 -a 0000:00:04.0     --vdev 'eth_vhost0,iface=vhost-net0,queues=1,dmas=[txq0@0000:00:04.0],dmathr=0' -- -i --nb-cores=1 --mbuf-size=65535\n+\n+2. launch virtio and start testpmd:\n+\n+./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 30,31 -n 4  --file-prefix=testpmd0 --no-pci  --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 -- -i --rxq=1 --txq=1 --txd=2048 --rxd=2048 --nb-cores=1\n+testpmd> start\n+\n+3. Send large pkts from vhost, check virtio can receive pakckets:\n+testpmd> vhost enable tx all\n+testpmd> set txpkts 65535,65535,65535,65535,65535\n+testpmd> start tx_first 32\n+testpmd> show port stats all\n",
    "prefixes": [
        "V1",
        "1/3"
    ]
}