From patchwork Mon Dec 12 09:55:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Ling, WeiX" X-Patchwork-Id: 120769 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 49AA9A034C; Mon, 12 Dec 2022 11:03:20 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 429BC40684; Mon, 12 Dec 2022 11:03:20 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 6D3AD40151 for ; Mon, 12 Dec 2022 11:03:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1670839398; x=1702375398; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=ZeZi/S4LFIhfb7TlReBBN3LlLUBSKfsaT0mxEknPEU0=; b=WYmBCdoUm3yucvA6S1HWXeJTiUq8tmSuQeIWGNXII6icaIMQWrlIw2UX FBbsVWS0w8+LbTlX7O/k31e0JUJqvPV1N4boLdSWBzgsO/zC4Wl378ZFN +FnbaWxFaR+qg+vrAsSRn0B6tz+faVoSrQ86Bx6j4Ydoszko2LnZ8N15f +yWSctmhZMyGctAFRx3cVLEbunH0meEGbZFX4wCzelJssuFhoD9iDM9fo ahBPxn2iyj310aPRINDF8V9piY7KUC0Fp5/GIGNhi+pvwSGus/GTV7szJ 3mrjasBHGfBTcmdzYIK5965j4uyik8DPo2IRS0Y2DYHuhLNuuqwyyAYSx w==; X-IronPort-AV: E=McAfee;i="6500,9779,10558"; a="317846772" X-IronPort-AV: E=Sophos;i="5.96,238,1665471600"; d="scan'208";a="317846772" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Dec 2022 02:03:13 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10558"; a="648111048" X-IronPort-AV: E=Sophos;i="5.96,238,1665471600"; d="scan'208";a="648111048" Received: from unknown (HELO localhost.localdomain) ([10.239.252.222]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Dec 2022 02:03:11 -0800 From: Wei Ling To: dts@dpdk.org Cc: Wei Ling Subject: [dts][PATCH V2 1/3] test_plans/dma_test_plan: rename testplan Date: Mon, 12 Dec 2022 17:55:55 +0800 Message-Id: <20221212095555.2838878-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 rename test_plans/{cbdma_test_plan.rst => dma_test_plan.rst}. Signed-off-by: Wei Ling --- ...{cbdma_test_plan.rst => dma_test_plan.rst} | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) rename test_plans/{cbdma_test_plan.rst => dma_test_plan.rst} (90%) diff --git a/test_plans/cbdma_test_plan.rst b/test_plans/dma_test_plan.rst similarity index 90% rename from test_plans/cbdma_test_plan.rst rename to test_plans/dma_test_plan.rst index 3ddbd5a2..a7284197 100644 --- a/test_plans/cbdma_test_plan.rst +++ b/test_plans/dma_test_plan.rst @@ -1,9 +1,9 @@ .. SPDX-License-Identifier: BSD-3-Clause Copyright(c) 2019 Intel Corporation -================ +=============== CBDMA test plan -================ +=============== Description =========== @@ -103,9 +103,9 @@ Test case ========= Test Case 1: CBDMA basic test with differnet size packets ----------------------------------------------------------- +--------------------------------------------------------- -1.Bind one cbdma port and one nic port to vfio-pci driver. +1.Bind 1 CBDMA port and 1 NIC port to vfio-pci driver. 2.Launch dma app:: @@ -116,9 +116,9 @@ Test Case 1: CBDMA basic test with differnet size packets 4.Check performance from “Total packets Tx” and check log includes "Worker Threads = 1, Copy Mode = hw". Test Case 2: CBDMA test with multi-threads -------------------------------------------- +------------------------------------------ -1.Bind one cbdma port and one nic port to vfio-pci driver. +1.Bind 1 CBDMA port and 1 NIC port to vfio-pci driver. 2.Launch dma app with three cores:: @@ -129,9 +129,9 @@ Test Case 2: CBDMA test with multi-threads 4.Check performance from “Total packets Tx” and check log includes "Worker Threads = 2, Copy Mode = hw". Test Case 3: CBDMA test with multi nic ports ---------------------------------------------- +-------------------------------------------- -1.Bind two cbdma ports and two nic ports to vfio-pci driver. +1.Bind 2 CBDMA ports and 2 NIC ports to vfio-pci driver. 2.Launch dma app with multi-ports:: @@ -142,9 +142,9 @@ Test Case 3: CBDMA test with multi nic ports 4.Check stats of two ports, each port's performance shows in “Total packets Tx” and each port's log includes "Worker Threads = 2, Copy Mode = hw". Test Case 4: CBDMA test with multi-queues ------------------------------------------- +----------------------------------------- -1.Bind two cbdma ports and one nic port to vfio-pci driver. +1.Bind 2 CBDMA ports and 1 NIC port to vfio-pci driver. 2.Launch dma app with multi-queues:: @@ -154,13 +154,13 @@ Test Case 4: CBDMA test with multi-queues 4. Check stats of dma app, "Worker Threads = 2, Copy Mode = hw, Rx Queues = 2" and each dma channel can enqueue packets. -5. Repeat step1 to step4 with queue number 4 and qemu number 8, also bind same number cbdma ports. +5. Repeat step1 to step4 with queue number 4 and qemu number 8, also bind same number CBDMA ports. Check performance gains status when queue numbers added. Test Case 5: CBDMA performance cmparison between mac-updating and no-mac-updating ----------------------------------------------------------------------------------- +--------------------------------------------------------------------------------- -1.Bind one cbdma ports and one nic port to vfio-pci driver. +1.Bind 1 CBDMA ports and 1 NIC port to vfio-pci driver. 2.Launch dma app:: @@ -183,9 +183,9 @@ Test Case 5: CBDMA performance cmparison between mac-updating and no-mac-updatin Total packets Tx: xxx [pps] Test Case 6: CBDMA performance cmparison between HW copies and SW copies using different packet size ------------------------------------------------------------------------------------------------------ +---------------------------------------------------------------------------------------------------- -1.Bind four cbdma pors and one nic port to vfio-pci driver. +1.Bind 4 CBDMA ports and 1 NIC port to vfio-pci driver. 2.Launch dma app with three cores:: @@ -208,9 +208,9 @@ Test Case 6: CBDMA performance cmparison between HW copies and SW copies using d Total packets Tx: xxx [pps] Test Case 7: CBDMA multi application mode test ------------------------------------------------ +---------------------------------------------- -1.Bind four cbdma ports to vfio-pci driver. +1.Bind 4 CBDMA ports to vfio-pci driver. 2.Launch test-pmd app with three cores and proc_type primary: