From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 41E4DA0093; Fri, 22 Apr 2022 10:17:26 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3A6BE410EF; Fri, 22 Apr 2022 10:17:26 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id DE1564067B for ; Fri, 22 Apr 2022 10:17:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650615445; x=1682151445; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=7nEoUzfsmL98IA27Fyx4sE3GiyfZfUrqd7oU3g250Hg=; b=kLnZTeU3i+9Dl2Mh3Rz7mYuXGSwMkSN4Fg4nkjhs5uNssm/bQvvlfbxK pfevDuza+d/aWC458ELNGk3Zpiz+CWvaLNPjxORquaDpqj2yGrT/gC/bY omUSdAG2MVszLQJqeGwFBvkKrY52ik69S2VAbQgUY6tGQ2c8O2t7hY0/U 0j+2TWPM+osJZ592s/KhD6C3gEXiLFAfVp9GG67jsKVHMgfsAOZa35uEB DPJkPA7ymWIjuxWE+HHtwxSacpkCnEFzZijlC949ZdlcG59lkW8hBxwWA +ny5xisAqhRfM3yUsbbZ9WKHyab8e1PJk0e+KPBWdpZ5C9TwUTmpZlqLN g==; X-IronPort-AV: E=McAfee;i="6400,9594,10324"; a="289733884" X-IronPort-AV: E=Sophos;i="5.90,281,1643702400"; d="scan'208";a="289733884" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Apr 2022 01:17:24 -0700 X-IronPort-AV: E=Sophos;i="5.90,281,1643702400"; d="scan'208";a="577754592" Received: from unknown (HELO localhost.localdomain) ([10.239.251.222]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Apr 2022 01:17:22 -0700 From: Wei Ling To: dts@dpdk.org Cc: Wei Ling Subject: [dts][PATCH V1 1/2] test_plans/vdev_primary_secondary_test_plan: fix testcase2 app name error issue Date: Fri, 22 Apr 2022 16:17:14 +0800 Message-Id: <20220422081714.1560877-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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org test_plans/vdev_primary_secondary_test_plan: 1)Fix testcase2 app name error issue. 2)Change testcase1 testpmd fwd mode for better case coverage. Signed-off-by: Wei Ling --- test_plans/vdev_primary_secondary_test_plan.rst | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/test_plans/vdev_primary_secondary_test_plan.rst b/test_plans/vdev_primary_secondary_test_plan.rst index b98d2d04..cdb71e61 100644 --- a/test_plans/vdev_primary_secondary_test_plan.rst +++ b/test_plans/vdev_primary_secondary_test_plan.rst @@ -129,8 +129,6 @@ Test Case 1: Virtio-pmd primary and secondary process symmetric test 1. Bind one port to vfio-pci, launch testpmd by below command:: .//app/dpdk-testpmd -l 1-6 -n 4 --file-prefix=vhost --vdev 'net_vhost,iface=vhost-net,queues=2,client=1' --vdev 'net_vhost1,iface=vhost-net1,queues=2,client=1' -- -i --nb-cores=4 --rxq=2 --txq=2 --txd=1024 --rxd=1024 - testpmd>set fwd txonly - testpmd>start 2. Launch VM with two virtio ports, must set queues=2 as app receive packets from special queue which index same with proc-id:: @@ -156,7 +154,12 @@ Test Case 1: Virtio-pmd primary and secondary process symmetric test .//examples/dpdk-symmetric_mp -l 1 -n 4 --proc-type=auto -- -p 3 --num-procs=2 --proc-id=0 .//examples/dpdk-symmetric_mp -l 2 -n 4 --proc-type=secondary -- -p 3 --num-procs=2 --proc-id=1 -5. Quit all process, check the packets number in rx/tx statistic like below for both primary process and secondary process:: +5. Send packets from vhost testpmd:: + + testpmd> set fwd mac + testpmd> start tx_first + +6. Quit all process, check the packets number in rx/tx statistic like below for both primary process and secondary process:: Port 0: RX - 27511680, TX - 256, Drop - 27499168 Port 1: RX - 27499424, TX - 256, Drop - 27511424 @@ -191,7 +194,7 @@ Test Case 2: Virtio-pmd primary and secondary process hotplug test 4. Start sample code as primary process:: - .//examples/dpdk-symmetric_mp --proc-type=auto -- -p 3 --num-procs=2 --proc-id=0 + .//examples/dpdk-hotplug_mp --proc-type=auto -- -p 3 --num-procs=2 --proc-id=0 example> list list all etherdev 0 0000:00:05.0 @@ -199,7 +202,7 @@ Test Case 2: Virtio-pmd primary and secondary process hotplug test 5. Start sample code as secondary process:: - .//examples/dpdk-symmetric_mp --proc-type=secondary -- -p 3 --num-procs=2 --proc-id=1 + .//examples/dpdk-hotplug_mp --proc-type=secondary -- -p 3 --num-procs=2 --proc-id=1 example> list list all etherdev 0 0000:00:05.0 -- 2.25.1