From patchwork Thu May 19 08:13:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ling, WeiX" X-Patchwork-Id: 111391 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 E0B62A0503; Thu, 19 May 2022 10:15:17 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DBF5042B6E; Thu, 19 May 2022 10:15:17 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 61B5640222 for ; Thu, 19 May 2022 10:15:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652948116; x=1684484116; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=jeFSDjJAqODRQBZlg9f3vlLWxl7+zIVw0GJ6KRW12/U=; b=lqxW9eWSqZjv6z75yExsdqmQRH+avc+hECoLUobbTcQnKviHbDlvLNjH 2bXqMz5JwH4jqldwX2DalHLRXAuDo8+gv1+Ay24wnzcomYuJfDejg1baC 7Cb1oql6LInxB86ot5vI8FxAJtDmWKi7260QmKRygM/k/bS4Q1Kh5k9wp mcsToUb63/Hi19dAlGK8UrIQVkEoO9oGp2g4y/vld6cy7QVeTrK22enfH OzFbadLmLDiSLZKzAww8RuGh7VdSwMA2BFdv86muSyuguca8nct11F9Cr J3KyxjaqYDNZ8N6cm5dWQ4YjY0SywR0skUlii1CIpnUZepSQZRQStERTK A==; X-IronPort-AV: E=McAfee;i="6400,9594,10351"; a="272044988" X-IronPort-AV: E=Sophos;i="5.91,237,1647327600"; d="scan'208";a="272044988" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 May 2022 01:15:15 -0700 X-IronPort-AV: E=Sophos;i="5.91,237,1647327600"; d="scan'208";a="714871721" Received: from unknown (HELO localhost.localdomain) ([10.239.251.222]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 May 2022 01:15:14 -0700 From: Wei Ling To: dts@dpdk.org Cc: Wei Ling Subject: [dts][PATCH V1 2/5] test_plans/vhost_user_interrupt_test_plan: migrate CBDMA related testcase to new testsuite Date: Thu, 19 May 2022 04:13:53 -0400 Message-Id: <20220519081353.2816053-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 Migrate CBDMA related testcase to new testsuite. Signed-off-by: Wei Ling --- test_plans/vhost_user_interrupt_test_plan.rst | 42 ------------------- 1 file changed, 42 deletions(-) diff --git a/test_plans/vhost_user_interrupt_test_plan.rst b/test_plans/vhost_user_interrupt_test_plan.rst index fd9394c3..cb2dae75 100644 --- a/test_plans/vhost_user_interrupt_test_plan.rst +++ b/test_plans/vhost_user_interrupt_test_plan.rst @@ -127,45 +127,3 @@ Test Case4: Wake up packed ring vhost-user cores with l3fwd-power sample when m testpmd>start 4. Stop and restart testpmd again, check vhost-user cores will sleep and wakeup again. - -Test Case5: Wake up split ring vhost-user cores with l3fwd-power sample when multi queues and cbdma are enabled -=============================================================================================================== - -1. Launch virtio-user with server mode:: - - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-5 -n 4 --no-pci --file-prefix=virtio \ - --vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=/tmp/sock0,server=1,queues=4 -- -i --rxq=4 --txq=4 --rss-ip - -2. Bind 4 cbdma ports to vfio-pci driver, then launch l3fwd-power with a virtual vhost device:: - - ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power -l 9-12 -n 4 --log-level=9 \ - --vdev 'eth_vhost0,iface=/tmp/sock0,queues=4,client=1,dmas=[txq0@80:04.0;txq1@80:04.1;txq2@80:04.2;txq3@80:04.3]' -- -p 0x1 --parse-ptype 1 \ - --config "(0,0,9),(0,1,10),(0,2,11),(0,3,12)" - -3. Send packet by testpmd, check vhost-user multi-cores will keep wakeup status:: - - testpmd>set fwd txonly - testpmd>start - -4. Stop and restart testpmd again, check vhost-user cores will sleep and wakeup again. - -Test Case6: Wake up packed ring vhost-user cores with l3fwd-power sample when multi queues and cbdma are enabled -================================================================================================================ - -1. Launch virtio-user with server mode:: - - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-5 -n 4 --no-pci --file-prefix=virtio \ - --vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=/tmp/sock0,server=1,queues=4,packed_vq=1 -- -i --rxq=4 --txq=4 --rss-ip - -2. Bind 4 cbdma ports to vfio-pci driver, then launch l3fwd-power with a virtual vhost device:: - - ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power -l 9-12 -n 4 --log-level=9 \ - --vdev 'eth_vhost0,iface=/tmp/sock0,queues=4,client=1,dmas=[txq0@80:04.0;txq1@80:04.1;txq2@80:04.2;txq3@80:04.3]' -- -p 0x1 --parse-ptype 1 \ - --config "(0,0,9),(0,1,10),(0,2,11),(0,3,12)" - -3. Send packet by testpmd, check vhost-user multi-cores will keep wakeup status:: - - testpmd>set fwd txonly - testpmd>start - -4. Stop and restart testpmd again, check vhost-user cores will sleep and wakeup again. \ No newline at end of file