Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/114502/?format=api
http://patchwork.dpdk.org/api/patches/114502/?format=api", "web_url": "http://patchwork.dpdk.org/project/dts/patch/20220802032956.1094905-1-weix.ling@intel.com/", "project": { "id": 3, "url": "http://patchwork.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": "<20220802032956.1094905-1-weix.ling@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20220802032956.1094905-1-weix.ling@intel.com", "date": "2022-08-02T03:29:56", "name": "[V2,1/2] test_plans/loopback_virtio_user_server_mode_cbdma_test_plan: modify testplan to test virito dequeue", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "c87967e3d6d5f869cd8e31e7dc46f391f766742c", "submitter": { "id": 1828, "url": "http://patchwork.dpdk.org/api/people/1828/?format=api", "name": "Ling, WeiX", "email": "weix.ling@intel.com" }, "delegate": null, "mbox": "http://patchwork.dpdk.org/project/dts/patch/20220802032956.1094905-1-weix.ling@intel.com/mbox/", "series": [ { "id": 24158, "url": "http://patchwork.dpdk.org/api/series/24158/?format=api", "web_url": "http://patchwork.dpdk.org/project/dts/list/?series=24158", "date": "2022-08-02T03:29:44", "name": "modify loopback_virtio_user_server_mode_cbdma to test virito dequeue", "version": 2, "mbox": "http://patchwork.dpdk.org/series/24158/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/114502/comments/", "check": "pending", "checks": "http://patchwork.dpdk.org/api/patches/114502/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 4183CA00C3;\n\tTue, 2 Aug 2022 05:35:29 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 3C46941156;\n\tTue, 2 Aug 2022 05:35:29 +0200 (CEST)", "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n by mails.dpdk.org (Postfix) with ESMTP id D81F6400D7\n for <dts@dpdk.org>; Tue, 2 Aug 2022 05:35:27 +0200 (CEST)", "from orsmga007.jf.intel.com ([10.7.209.58])\n by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 01 Aug 2022 20:35:26 -0700", "from unknown (HELO localhost.localdomain) ([10.239.252.222])\n by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 01 Aug 2022 20:35:24 -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=1659411328; x=1690947328;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=GkaqnuRG0kEMTrYTgovQF7k1csTeIuaqUfWd6ldsyDA=;\n b=YWbMVmmifALuiNF7x6x+Ef9GNuYR1xoWJ1fgLDSEkKLaOCODS10mQQhS\n tngqipA8khh5qMoiWFavAPNEc/XWyVzxiSMzLvKkpKjozJdlS6da8YcnJ\n rWV9rcZsHcxDqxWhKuIbb+jN7mvTAAFNtQ94/RQqcdtqFBNUA5joHJUfY\n JRJWmmwCRgIMwCI385D5CUFRD6Xzm745WWo7ZNDhh3CtckzWgwUWz3dc2\n Nu8k0Bw9SdEJWn1dkYwZWKv+4QSGXSMWKsjkkXD6j19gwryXea1ixpz9R\n hZY25eIaIyfrTffz0j15TA7iE6A7ggS9jtIgpTvUAMPS3WI2IEZkk7knp g==;", "X-IronPort-AV": [ "E=McAfee;i=\"6400,9594,10426\"; a=\"289324226\"", "E=Sophos;i=\"5.93,210,1654585200\";\n d=\"scan'208,223\";a=\"289324226\"", "E=Sophos;i=\"5.93,210,1654585200\";\n d=\"scan'208,223\";a=\"599161590\"" ], "From": "Wei Ling <weix.ling@intel.com>", "To": "dts@dpdk.org", "Cc": "Wei Ling <weix.ling@intel.com>", "Subject": "[dts][PATCH V2 1/2]\n test_plans/loopback_virtio_user_server_mode_cbdma_test_plan: modify testplan\n to test virito dequeue", "Date": "Mon, 1 Aug 2022 23:29:56 -0400", "Message-Id": "<20220802032956.1094905-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": "From DPDK-22.07, virtio support async dequeue for split and packed ring\npath, so modify loopback_virtio_user_server_mode_cbdma testplan to test \nthe split and packed ring async dequeue feature.\n\nSigned-off-by: Wei Ling <weix.ling@intel.com>\n---\n ...irtio_user_server_mode_cbdma_test_plan.rst | 149 +++++++++++-------\n 1 file changed, 88 insertions(+), 61 deletions(-)", "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\nindex 8e083bfe..f593b521 100644\n--- a/test_plans/loopback_virtio_user_server_mode_cbdma_test_plan.rst\n+++ b/test_plans/loopback_virtio_user_server_mode_cbdma_test_plan.rst\n@@ -1,20 +1,49 @@\n .. SPDX-License-Identifier: BSD-3-Clause\n Copyright(c) 2022 Intel Corporation\n \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 Loopback vhost/virtio-user server mode with CBDMA test plan\n-============================================================\n+===========================================================\n \n Description\n ===========\n \n Vhost asynchronous data path leverages DMA devices to offload memory copies from the CPU and it is implemented in an asynchronous way.\n In addition, vhost supports M:N mapping between vrings and DMA virtual channels. Specifically, one vring can use multiple different DMA\n-channels and one DMA channel can be shared by multiple vrings at the same time. Vhost enqueue operation with CBDMA channels is supported \n-in both split and packed ring.\n+channels and one DMA channel can be shared by multiple vrings at the same time. From DPDK22.07, Vhost enqueue and dequeue operation with\n+CBDMA channels is supported in both split and packed ring.\n \n This document provides the test plan for testing the following features when Vhost-user using asynchronous data path with\n-CBDMA channels in loopback virtio-user topology.\n+CBDMA channels in loopback vhost-user/virtio-user topology.\n 1. Virtio-user server mode is a feature to enable virtio-user as the server, vhost as the client, thus after vhost-user is killed then relaunched,\n virtio-user can reconnect back to vhost-user again; at another hand, virtio-user also can reconnect back to vhost-user after virtio-user is killed.\n This feature test need cover different rx/tx paths with virtio 1.0 and virtio 1.1, includes split ring mergeable, non-mergeable, inorder mergeable,\n@@ -43,24 +72,24 @@ 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- For example:\n- CC=gcc meson --werror -Denable_kmods=True -Dlibdir=lib -Dexamples=all --default-library=x86_64-native-linuxapp-gcc\n- ninja -C x86_64-native-linuxapp-gcc -j 110\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 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+ <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+ 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+ 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@@ -69,33 +98,32 @@ 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+ <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+ 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-Test Case 1: loopback packed ring all path cbdma test payload check with server mode and multi-queues\n------------------------------------------------------------------------------------------------------\n+Test Case 1: Loopback packed ring all path multi-queues payload check with server mode and cbdma enable\n+-------------------------------------------------------------------------------------------------------\n This case tests the payload is valid after forwading large chain packets in loopback vhost-user/virtio-user packed ring\n-all path multi-queues with server mode when vhost uses the asynchronous enqueue operations with CBDMA channels. Both \n-iova as VA and PA mode test.\n+all path multi-queues with server mode when vhost uses the asynchronous operations with CBDMA channels. Both iova as VA and PA mode test.\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<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 10-14 -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+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=8,client=1,dmas=[txq0;txq1;txq2;txq3;txq4;txq5;rxq2;rxq3;rxq4;rxq5;rxq6;rxq7]' \\\n+\t--iova=va -- -i --nb-cores=4 --rxq=8 --txq=8 --txd=1024 --rxd=1024 \\\n+\t--lcore-dma=[lcore11@0000:00:04.0,lcore11@0000:00:04.1,lcore12@0000:00:04.2,lcore12@0000:00:04.3,lcore13@0000:00:04.4,lcore13@0000:00:04.5,lcore14@0000:00:04.6,lcore14@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<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 2-6 -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+\t-- -i --nb-cores=4 --rxq=8 --txq=8 --txd=1024 --rxd=1024\n \ttestpmd>set fwd csum\n \ttestpmd>start\n \n@@ -119,9 +147,9 @@ iova as VA and PA mode test.\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<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 2-6 -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+\t-- -i --nb-cores=4 --rxq=8 --txq=8 --txd=1024 --rxd=1024\n \ttestpmd>set fwd csum\n \ttestpmd>start\n \n@@ -129,9 +157,9 @@ iova as VA and PA mode test.\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<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 2-6 -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+\t-- -i --nb-cores=4 --rxq=8 --txq=8 --txd=1024 --rxd=1024\n \ttestpmd>set fwd csum\n \ttestpmd>start\n \n@@ -151,9 +179,9 @@ iova as VA and PA mode test.\n \n 15. 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<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 2-6 -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+\t-- -i --nb-cores=4 --rxq=8 --txq=8 --txd=1024 --rxd=1024\n \ttestpmd>set fwd csum\n \ttestpmd>start\n \n@@ -161,9 +189,9 @@ iova as VA and PA mode test.\n \n 17. 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<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 2-6 -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+\t-- -i --nb-cores=4 --rxq=8 --txq=8 --txd=1024 --rxd=1024\n \ttestpmd>set fwd csum\n \ttestpmd>start\n \n@@ -171,9 +199,9 @@ iova as VA and PA mode test.\n \n 19. 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<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 2-6 -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+\t-- -i --nb-cores=4 --rxq=8 --txq=8 --txd=1025 --rxd=1025\n \ttestpmd>set fwd csum\n \ttestpmd>start\n \n@@ -181,26 +209,25 @@ iova as VA and PA mode test.\n \n 21. 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<dpdk dir># ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 10-14 -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+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=8,client=1,dmas=[txq0;txq1;txq2;txq3;txq4;txq6;txq7;rxq0;rxq1;rxq2;rxq3;rxq4;rxq5;rxq6;rxq7]' \\\n+\t--iova=pa -- -i --nb-cores=4 --rxq=8 --txq=8 --txd=1024 --rxd=1024 \\\n+\t--lcore-dma=[lcore11@0000:00:04.0,lcore11@0000:00:04.1,lcore12@0000:00:04.2,lcore12@0000:00:04.3,lcore13@0000:00:04.4,lcore13@0000:00:04.5,lcore14@0000:00:04.6,lcore14@0000:00:04.7]\n \n 22. Rerun steps 3-6.\n \n-Test Case 2: loopback split ring all path cbdma test payload check with server mode and multi-queues\n-----------------------------------------------------------------------------------------------------\n+Test Case 2: Loopback split ring all path multi-queues payload check with server mode and cbdma enable\n+------------------------------------------------------------------------------------------------------\n This case tests the payload is valid after forwading large chain packets in loopback vhost-user/virtio-user split ring\n-all path multi-queues with server mode when vhost uses the asynchronous enqueue operations with CBDMA channels. Both\n-iova as VA and PA mode test.\n+all path multi-queues with server mode when vhost uses the asynchronous operations with CBDMA channels. Both iova as VA and PA mode test.\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--vdev 'eth_vhost0,iface=vhost-net0,queues=8,client=1,dmas=[txq0;txq1;txq2;txq3;txq4;txq5;rxq2;rxq3;rxq4;rxq5;rxq6;rxq7]' \\\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@@ -285,23 +312,23 @@ iova as VA and PA mode test.\n 19. 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--vdev 'eth_vhost0,iface=vhost-net0,queues=8,client=1,dmas=[txq0;txq1;txq2;txq3;txq4;txq5;rxq2;rxq3;rxq4;rxq5;rxq6;rxq7]' \\\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 20. Rerun steps 3-6.\n \n-Test Case 3: loopback split ring large chain packets stress test with server mode and cbdma enqueue\n----------------------------------------------------------------------------------------------------\n+Test Case 3: Loopback split ring large chain packets stress test with server mode and cbdma enable\n+--------------------------------------------------------------------------------------------------\n This is a stress test case about forwading large chain packets in loopback vhost-user/virtio-user split ring with server mode \n-when vhost uses the asynchronous enqueue operations with CBDMA channels. Both iova as VA and PA mode test.\n+when vhost uses the asynchronous operations with CBDMA channels. Both iova as VA and PA mode test.\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+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=1,client=1,dmas=[txq0;rxq0]' --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@@ -319,21 +346,21 @@ when vhost uses the asynchronous enqueue operations with CBDMA channels. Both io\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+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=1,client=1,dmas=[txq0;rxq0]' --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+Test Case 4: Loopback packed ring large chain packets stress test with server mode and cbdma enable\n+---------------------------------------------------------------------------------------------------\n This is a stress test case about forwading large chain packets in loopback vhost-user/virtio-user packed ring with server mode \n-when vhost uses the asynchronous enqueue operations with dsa dpdk driver. Both iova as VA and PA mode test.\n+when vhost uses the asynchronous operations with dsa dpdk driver. Both iova as VA and PA mode test.\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+\t--vdev 'eth_vhost0,iface=vhost-net0,queues=1,dmas=[txq0;rxq0],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", "prefixes": [ "V2", "1/2" ] }{ "id": 114502, "url": "