From patchwork Tue Mar 28 08:55:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ling, WeiX" X-Patchwork-Id: 125552 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 172A542856; Tue, 28 Mar 2023 10:59:03 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 123924161A; Tue, 28 Mar 2023 10:59:03 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id C776E40156 for ; Tue, 28 Mar 2023 10:59:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1679993940; x=1711529940; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=rVT0euqyAfe4rlm/bQmfyRgtQNQCHvUam9Or8gHX16k=; b=Ls9mBcSvqWg37o8xC27u1FtZk6knQ0Q/aP2ZlbZxTHFaG5FiQc6ntA5D oQsE5IaxhIZkUh1rI/uQIANeVVXH7MwP1F8+DP5AXTXThkGxnPDZZPnNK 2NjFqA32CqKl07R9jNd8hXVzlNwwP76XdzMR0Ei6PZkCmCME3drvFGLSD xPEle0eRDo5kz3jbRhHepziv7svcYnd6XXKFp7YdSSFohr6ve11t86y6R KZbwX7C6RB5mwkvQhZaIPlfFzLxmMiM10OZa/oFOjJdWsqqwI5GMIj3GH +t2CHR6RnVLsdRL9jR0rvPOrj9I9wMTH2K5/d2jvM4LJofASOembsPa3k A==; X-IronPort-AV: E=McAfee;i="6600,9927,10662"; a="405448962" X-IronPort-AV: E=Sophos;i="5.98,296,1673942400"; d="scan'208";a="405448962" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Mar 2023 01:58:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10662"; a="716412884" X-IronPort-AV: E=Sophos;i="5.98,296,1673942400"; d="scan'208";a="716412884" Received: from unknown (HELO localhost.localdomain) ([10.239.252.222]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Mar 2023 01:58:57 -0700 From: Wei Ling To: dts@dpdk.org Cc: Wei Ling Subject: [dts][PATCH V1 1/2] test_plans/virtio_event_idx_interrupt: modify re-run times from 100 to 10 Date: Tue, 28 Mar 2023 16:55:56 +0800 Message-Id: <20230328085557.3796893-2-weix.ling@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230328085557.3796893-1-weix.ling@intel.com> References: <20230328085557.3796893-1-weix.ling@intel.com> 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 Modify re-run times from 100 to 10 for reduce run time. Signed-off-by: Wei Ling --- .../virtio_event_idx_interrupt_test_plan.rst | 30 ++++++++++++------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/test_plans/virtio_event_idx_interrupt_test_plan.rst b/test_plans/virtio_event_idx_interrupt_test_plan.rst index ad7c3780..5a121544 100644 --- a/test_plans/virtio_event_idx_interrupt_test_plan.rst +++ b/test_plans/virtio_event_idx_interrupt_test_plan.rst @@ -23,8 +23,9 @@ Test Case 1: Compare interrupt times with and without split ring virtio event id 1. Bind one nic port to vfio-pci, then launch the vhost sample by below commands:: rm -rf vhost-net* - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xF0000000 -n 4 --file-prefix=vhost --vdev 'net_vhost,iface=vhost-net,queues=1' -- -i - --nb-cores=1 --txd=1024 --rxd=1024 + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xF0000000 -n 4 --file-prefix=vhost \ + --vdev 'net_vhost,iface=vhost-net,queues=1' \ + -- -i --nb-cores=1 --txd=1024 --rxd=1024 testpmd>start 2. Launch VM:: @@ -56,7 +57,9 @@ Test Case 2: Split ring virtio-pci driver reload test 1. Bind one nic port to vfio-pci, then launch the vhost sample by below commands:: rm -rf vhost-net* - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xF0000000 -n 4 --file-prefix=vhost --vdev 'net_vhost,iface=vhost-net,queues=1' -- -i --nb-cores=1 --txd=1024 --rxd=1024 + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xF0000000 -n 4 --file-prefix=vhost \ + --vdev 'net_vhost,iface=vhost-net,queues=1' \ + -- -i --nb-cores=1 --txd=1024 --rxd=1024 testpmd>start 2. Launch VM:: @@ -86,7 +89,7 @@ Test Case 2: Split ring virtio-pci driver reload test ifconfig [ens3] 1.1.1.2 tcpdump -i [ens3] -6. Rerun step4 and step5 100 times to check event idx workable after driver reload. +6. Rerun step4 and step5 10 times to check event idx workable after driver reload. Test Case 3: Wake up split ring virtio-net cores with event idx interrupt mode 16 queues test ============================================================================================= @@ -94,7 +97,9 @@ Test Case 3: Wake up split ring virtio-net cores with event idx interrupt mode 1 1. Bind one nic port to vfio-pci, then launch the vhost sample by below commands:: rm -rf vhost-net* - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-17 -n 4 --file-prefix=vhost --vdev 'net_vhost,iface=vhost-net,queues=16' -- -i --nb-cores=16 --txd=1024 --rxd=1024 --rxq=16 --txq=16 + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-17 -n 4 --file-prefix=vhost \ + --vdev 'net_vhost,iface=vhost-net,queues=16' \ + -- -i --nb-cores=16 --txd=1024 --rxd=1024 --rxq=16 --txq=16 testpmd>start 2. Launch VM:: @@ -129,8 +134,9 @@ Test Case 4: Compare interrupt times with and without packed ring virtio event i 1. Bind one nic port to vfio-pci, then launch the vhost sample by below commands:: rm -rf vhost-net* - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xF0000000 -n 4 --file-prefix=vhost --vdev 'net_vhost,iface=vhost-net,queues=1' -- -i - --nb-cores=1 --txd=1024 --rxd=1024 + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xF0000000 -n 4 --file-prefix=vhost \ + --vdev 'net_vhost,iface=vhost-net,queues=1' \ + -- -i --nb-cores=1 --txd=1024 --rxd=1024 testpmd>start 2. Launch VM:: @@ -162,7 +168,9 @@ Test Case 5: Packed ring virtio-pci driver reload test 1. Bind one nic port to vfio-pci, then launch the vhost sample by below commands:: rm -rf vhost-net* - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xF0000000 -n 4 --file-prefix=vhost --vdev 'net_vhost,iface=vhost-net,queues=1' -- -i --nb-cores=1 --txd=1024 --rxd=1024 + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xF0000000 -n 4 --file-prefix=vhost \ + --vdev 'net_vhost,iface=vhost-net,queues=1' \ + -- -i --nb-cores=1 --txd=1024 --rxd=1024 testpmd>start 2. Launch VM:: @@ -192,7 +200,7 @@ Test Case 5: Packed ring virtio-pci driver reload test ifconfig [ens3] 1.1.1.2 tcpdump -i [ens3] -6. Rerun step4 and step5 100 times to check event idx workable after driver reload. +6. Rerun step4 and step5 10 times to check event idx workable after driver reload. Test Case 6: Wake up packed ring virtio-net cores with event idx interrupt mode 16 queues test ============================================================================================== @@ -200,7 +208,9 @@ Test Case 6: Wake up packed ring virtio-net cores with event idx interrupt mode 1. Bind one nic port to vfio-pci, then launch the vhost sample by below commands:: rm -rf vhost-net* - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-17 -n 4 --file-prefix=vhost --vdev 'net_vhost,iface=vhost-net,queues=16' -- -i --nb-cores=16 --txd=1024 --rxd=1024 --rxq=16 --txq=16 + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-17 -n 4 --file-prefix=vhost \ + --vdev 'net_vhost,iface=vhost-net,queues=16' \ + -- -i --nb-cores=16 --txd=1024 --rxd=1024 --rxq=16 --txq=16 testpmd>start 2. Launch VM::