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: From patchwork Mon Dec 12 09:56:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ling, WeiX" X-Patchwork-Id: 120770 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 76F92A034C; Mon, 12 Dec 2022 11:03:39 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 728FC40A84; Mon, 12 Dec 2022 11:03:39 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id D33AB40151 for ; Mon, 12 Dec 2022 11:03:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1670839418; x=1702375418; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=lI9Y2UYDe5kU31ks2bfG5kWQxdkc2feRZa1eLEJ/W+Y=; b=RX8jurnCWFPzvoqm94ME/lhwEljeApdj4FyWqtw1nW1uLfdM0fZy6zah omHCc5wDz3NUtzlf+scJlt2Kp65lBSI9mMwWOu+JBjpnCqMmmb87tc84D W24x1RQctizK1Am+wPjxtQqUUzwvmpqwDvHRmUVFxdhoWwdzclfL1hZ49 ZDtvIB93pTY+SEledzfTZCc+zIK0QOpZIS71sOqhkFw8Cz+eU10R5Th46 c4pMFWTwX07jmMALU6DB979ltu9wqRV7sG+HSqrTJXpov8muC3UczEe3A xnUTIGK0eNQzGAabT2d7rldtLT71ZOT7JoPhVP7FgyyRCm2lHet3CSJkN Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10558"; a="317846811" X-IronPort-AV: E=Sophos;i="5.96,238,1665471600"; d="scan'208";a="317846811" 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:22 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10558"; a="648111084" X-IronPort-AV: E=Sophos;i="5.96,238,1665471600"; d="scan'208";a="648111084" 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:20 -0800 From: Wei Ling To: dts@dpdk.org Cc: Wei Ling Subject: [dts][PATCH V2 2/3] tests/dma: rename testsuite Date: Mon, 12 Dec 2022 17:56:04 +0800 Message-Id: <20221212095604.2838938-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 tests/{TestSuite_cbdma.py => TestSuite_dma.py}. Signed-off-by: Wei Ling --- tests/{TestSuite_cbdma.py => TestSuite_dma.py} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename tests/{TestSuite_cbdma.py => TestSuite_dma.py} (99%) diff --git a/tests/TestSuite_cbdma.py b/tests/TestSuite_dma.py similarity index 99% rename from tests/TestSuite_cbdma.py rename to tests/TestSuite_dma.py index d5198472..0566ab3b 100644 --- a/tests/TestSuite_cbdma.py +++ b/tests/TestSuite_dma.py @@ -16,7 +16,7 @@ from framework.pmd_output import PmdOutput from framework.test_case import TestCase -class TestCBDMA(TestCase): +class TestDMA(TestCase): def set_up_all(self): """ Run at the start of each test suite. From patchwork Mon Dec 12 09:56:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ling, WeiX" X-Patchwork-Id: 120771 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 9CAD9A034C; Mon, 12 Dec 2022 11:03:40 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 96AD940C35; Mon, 12 Dec 2022 11:03:40 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id D1FE140151 for ; Mon, 12 Dec 2022 11:03:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1670839419; x=1702375419; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=WShJLA+awhBSAneEkJeSn9gZ5EGCpHynLBpovTSIKwY=; b=D9MFq3Zgv6SIHQaGUPyoQ4qHrE1JZ5qweakHU4K87Z+INfjz1cwO+k2o XTfjJRs6eY+PWhOeL9dWfQNyrs8TwqFe5ijQoVM6Gx3wkhdBPdScQHQzr K6VBY/JQTzRss9pFTG/N2Hwa7YlmGUToFh07DwKvutXYMlQajGQbSvCm5 Tk5Y89DEyzHIwEC+mRHL6G3od5MdmS6VZCIIMIPAJsunj3UWlE69AcHSM 0tJKTiQBAQg/yCqa6HqFHPi+HrE3ndz9IDWd1wJDLkenqS+06SO7/zNiw NgIIthMk9KiKi6xeks35RWN26fODQDhXs5mnq/itiShdFz5Q4fhNnMRZS A==; X-IronPort-AV: E=McAfee;i="6500,9779,10558"; a="317846840" X-IronPort-AV: E=Sophos;i="5.96,238,1665471600"; d="scan'208";a="317846840" 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:30 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10558"; a="648111101" X-IronPort-AV: E=Sophos;i="5.96,238,1665471600"; d="scan'208";a="648111101" 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:29 -0800 From: Wei Ling To: dts@dpdk.org Cc: Wei Ling Subject: [dts][PATCH V2 3/3] test_plans/index: rename testplan Date: Mon, 12 Dec 2022 17:56:13 +0800 Message-Id: <20221212095613.2839031-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 Modify cbdma_test_plan to dma_test_plan in test_plans/index.rst. Signed-off-by: Wei Ling --- test_plans/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_plans/index.rst b/test_plans/index.rst index 4e0e8133..2f9664ed 100644 --- a/test_plans/index.rst +++ b/test_plans/index.rst @@ -289,7 +289,7 @@ The following are the test plans for the DPDK DTS automated test system. fips_cryptodev_test_plan flow_filtering_test_plan af_xdp_test_plan - cbdma_test_plan + dma_test_plan flexible_rxd_test_plan ipsec_gw_and_library_test_plan port_control_test_plan