From patchwork Thu May 19 06:26:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ling, WeiX" X-Patchwork-Id: 111352 Return-Path: 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]) by inbox.dpdk.org (Postfix) with ESMTP id 934E5A0503; Thu, 19 May 2022 08:28:13 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8AB9E41156; Thu, 19 May 2022 08:28:13 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 14EC040150 for ; Thu, 19 May 2022 08:28:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652941691; x=1684477691; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=PVfCVsjlwxUBa/XHBXurU8gA7vSHramcnm6I5f9BEqk=; b=J5vFP/wcJwobFfAOlfz6mbkqcoJnlOvhTjef0fU/YB46VLMdWpN/sWmZ ozMLQzWTy/qKmRW0mAeW4jK6AbmxPkzz18s+gGrdBeDJNQmZMHf8SQjKu xK+saPSg4QbsDQOxHAChG1xSRmiUt28QORLfuZwqRuR95hP3M4tF/7lQf k82qjrRn0LnVfIdnWZKs1NxWWBJ3n1wU/Xcig4R3FK7JbcNCZrAKi3+g1 O3XNkUGBibbOedQWdLwg+kL2ZbthXbhbj66Sp0he+uUOhsG20tiBJnoJl aC1s6ICQROFEkT5/6e6W9FlM9HRVHFc39nwc3UqdjE/j73U8t5drtWvRD Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10351"; a="259617725" X-IronPort-AV: E=Sophos;i="5.91,236,1647327600"; d="scan'208";a="259617725" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 May 2022 23:28:10 -0700 X-IronPort-AV: E=Sophos;i="5.91,236,1647327600"; d="scan'208";a="700998002" Received: from unknown (HELO localhost.localdomain) ([10.239.251.222]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 May 2022 23:28:09 -0700 From: Wei Ling To: dts@dpdk.org Cc: Wei Ling Subject: [dts][PATCH V1 1/2] test_plans/vhost_virtio_user_interrupt_test_plan: delete CBDMA related testcases Date: Thu, 19 May 2022 02:26:48 -0400 Message-Id: <20220519062648.2813016-1-weix.ling@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Delete CBDMA related testcases. Signed-off-by: Wei Ling --- .../vhost_virtio_user_interrupt_test_plan.rst | 96 ------------------- 1 file changed, 96 deletions(-) diff --git a/test_plans/vhost_virtio_user_interrupt_test_plan.rst b/test_plans/vhost_virtio_user_interrupt_test_plan.rst index be663b5f..24c35d04 100644 --- a/test_plans/vhost_virtio_user_interrupt_test_plan.rst +++ b/test_plans/vhost_virtio_user_interrupt_test_plan.rst @@ -178,99 +178,3 @@ flow: Vhost <--> Virtio testpmd> show port info 0 #it should show "down" - -Test Case7: LSC event between vhost-user and virtio-user with split ring and cbdma enabled -========================================================================================== - -flow: Vhost <--> Virtio - -1. Bind one cbdma port to vfio-pci driver, then start vhost-user side:: - - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x3000 -n 4 -a 00:04.0 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net,queues=1,client=0,dmas=[txq0@00:04.0]' -- -i - testpmd>set fwd mac - testpmd>start - -2. Start virtio-user side:: - - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xc000 -n 4 --no-pci --file-prefix=virtio --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net -- -i --tx-offloads=0x00 - testpmd>set fwd mac - testpmd>start - -3. Check the virtio-user side link status:: - - testpmd> show port info 0 - #it should show "up" - -4. Quit the vhost-user side with testpmd, then check the virtio-user side link status:: - - testpmd> show port info 0 - #it should show "down" - -Test Case8: Split ring virtio-user interrupt test with vhost-user as backend and cbdma enabled -============================================================================================== - -flow: TG --> NIC --> Vhost --> Virtio - -1. Bind one cbdma port and one NIC port to vfio-pci, launch testpmd with a virtual vhost device as backend:: - - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x7c -n 4 --vdev 'net_vhost0,iface=vhost-net,queues=1,dmas=[txq0@00:04.0]' -- -i --rxq=1 --txq=1 - testpmd>start - -2. Start l3fwd-power with a virtio-user device:: - - ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power -c 0xc000 -n 4 --log-level='user1,7' --no-pci --file-prefix=l3fwd-pwd \ - --vdev=virtio_user0,path=./vhost-net -- -p 1 -P --config="(0,0,14)" --parse-ptype - -3. Send packets with packet generator, check the virtio-user related core can be wakeup status. - -4. Stop sending packets with packet generator, check virtio-user related core change to sleep status. - -5. Restart sending packets with packet generator, check virtio-user related core change to wakeup status again. - -Test Case9: LSC event between vhost-user and virtio-user with packed ring and cbdma enabled -=========================================================================================== - -flow: Vhost <--> Virtio - -1. Bind one cbdma port to vfio-pci driver, then start vhost-user side:: - - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x3000 -n 4 -a 00:04.0 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-net,queues=1,client=0,dmas=[txq0@00:04.0]' -- -i - testpmd>set fwd mac - testpmd>start - -2. Start virtio-user side:: - - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xc000 -n 4 --no-pci --file-prefix=virtio --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,packed_vq=1 -- -i --tx-offloads=0x00 - testpmd>set fwd mac - testpmd>start - -3. Check the virtio-user side link status:: - - testpmd> show port info 0 - #it should show "up" - -4. Quit the vhost-user side with testpmd, then check the virtio-user side link status:: - - testpmd> show port info 0 - #it should show "down" - -Test Case10: Packed ring virtio-user interrupt test with vhost-user as backend and cbdma enabled -================================================================================================ - -flow: TG --> NIC --> Vhost --> Virtio - -1. Bind one cbdma port and one NIC port to vfio-pci, launch testpmd with a virtual vhost device as backend:: - - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x7c -n 4 --vdev 'net_vhost0,iface=vhost-net,queues=1,dmas=[txq0@00:04.0]' -- -i --rxq=1 --txq=1 - testpmd>start - -2. Start l3fwd-power with a virtio-user device:: - - ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power -c 0xc000 -n 4 --log-level='user1,7' --no-pci --file-prefix=l3fwd-pwd \ - --vdev=virtio_user0,path=./vhost-net,packed_vq=1 -- -p 1 -P --config="(0,0,14)" --parse-ptype - -3. Send packets with packet generator, check the virtio-user related core can be wakeup status. - -4. Stop sending packets with packet generator, check virtio-user related core change to sleep status. - -5. Restart sending packets with packet generator, check virtio-user related core change to wakeup status again.