From patchwork Mon Dec 12 06:06:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Ling, WeiX" X-Patchwork-Id: 120742 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 0ED12A0540; Mon, 12 Dec 2022 07:14:08 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 06A5B40684; Mon, 12 Dec 2022 07:14:08 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 7951F40151 for ; Mon, 12 Dec 2022 07:14:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1670825646; x=1702361646; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=6AKN8SCTuRxbabfO/og74+xa/nafx+ZPp1zIEry9hPI=; b=THKxNgNK3NQ/QDFMukc6ENoVR9JKnzexgEyQrcqTcHdw98MKS1+y8H0w +h1Tj9zHJmlKLGBeYwrbPJ7ofyV88La9ssQbXZllyV8yIMnGxXNLEI7g2 mRz6B0X0u7s0dHoPkPuBEY/Kjy/leciw5Pm8jqeloyr1zFe6EAJWcwEbi UzBov6McApFlb9UhWi2gZ9nffChX/LCrepDq420IMvoeI30eF4/NkEmav +Pug7LtFM95RfTdhIhzXh+isJZVeNqNIXIVuyvlBnpidd46VYXZ4ysSXj w+LpgyXjdL3mtKZ5MCBFRgHCELcTXr3TzT869ka2dASc3+RnHc2eLKuGU g==; X-IronPort-AV: E=McAfee;i="6500,9779,10558"; a="315414667" X-IronPort-AV: E=Sophos;i="5.96,237,1665471600"; d="scan'208";a="315414667" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Dec 2022 22:14:05 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10558"; a="790374383" X-IronPort-AV: E=Sophos;i="5.96,237,1665471600"; d="scan'208";a="790374383" Received: from unknown (HELO localhost.localdomain) ([10.239.252.222]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Dec 2022 22:14:04 -0800 From: Wei Ling To: dts@dpdk.org Cc: Wei Ling Subject: [dts][PATCH V1 1/2] test_plans/dma_test_plan: rename testplan Date: Mon, 12 Dec 2022 14:06:50 +0800 Message-Id: <20221212060650.2779428-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 to dma_test_plan.rst. Signed-off-by: Wei Ling --- ...{cbdma_test_plan.rst => dma_test_plan.rst} | 46 +++++++++---------- 1 file changed, 23 insertions(+), 23 deletions(-) rename test_plans/{cbdma_test_plan.rst => dma_test_plan.rst} (86%) diff --git a/test_plans/cbdma_test_plan.rst b/test_plans/dma_test_plan.rst similarity index 86% rename from test_plans/cbdma_test_plan.rst rename to test_plans/dma_test_plan.rst index 3ddbd5a2..c4dfeaf1 100644 --- a/test_plans/cbdma_test_plan.rst +++ b/test_plans/dma_test_plan.rst @@ -105,9 +105,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:: +2.Launch DMA APP:: ./x86_64-native-linuxapp-gcc/examples/dpdk-dma -l 0-1 -n 2 -- -p 0x1 --mac-updating -c hw @@ -118,9 +118,9 @@ Test Case 1: CBDMA basic test with differnet size packets 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:: +2.Launch DMA APP with 3 cores:: ./x86_64-native-linuxapp-gcc/examples/dpdk-dma -l 0-2 -n 2 -- -p 0x1 --mac-updating -c hw @@ -128,12 +128,12 @@ 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 +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:: +2.Launch DMA APP with multi-ports:: ./x86_64-native-linuxapp-gcc/examples/dpdk-dma -l 0-4 -n 2 -- -p 0x3 -q 1 --mac-updating -c hw @@ -144,79 +144,79 @@ Test Case 3: CBDMA test with multi nic ports 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:: +2.Launch DMA APP with multi-queues:: ./x86_64-native-linuxapp-gcc/examples/dpdk-dma -l 0-2 -n 2 -- -p 0x1 -q 2 --mac-updating -c hw 3. Send random ip packets (64B, 256B, 512B, 1024B, IMIX) from TG to NIC port. -4. Check stats of dma app, "Worker Threads = 2, Copy Mode = hw, Rx Queues = 2" and each dma channel can enqueue packets. +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:: +2.Launch DMA APP:: ./x86_64-native-linuxapp-gcc/examples/dpdk-dma -l 0-1 -n 2 -- -p 0x1 -q 2 --no-mac-updating -c hw 3. Send random ip 64B packets from TG. -4. Check performance from dma app:: +4. Check performance from DMA APP:: Total packets Tx: xxx [pps] -5.Launch dma app:: +5.Launch DMA APP:: ./x86_64-native-linuxapp-gcc/examples/dpdk-dma -l 0-1 -n 2 -- -p 0x1 -q 2 --mac-updating -c hw 6. Send random ip 64B packets from TG. -7. Check performance from dma app:: +7. Check performance from DMA APP:: 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 pors and 1 NIC port to vfio-pci driver. -2.Launch dma app with three cores:: +2.Launch DMA APP with 3 cores:: ./x86_64-native-linuxapp-gcc/examples/dpdk-dma -l 0-2 -n 2 -- -p 0x1 -q 4 --mac-updating -c hw 3. Send random ip packets from TG. -4. Check performance from dma app:: +4. Check performance from DMA APP:: Total packets Tx: xxx [pps] -5.Launch dma app with three cores:: +5.Launch DMA APP with three cores:: ./x86_64-native-linuxapp-gcc/examples/dpdk-dma -l 0-2 -n 2 -- -p 0x1 -q 4 --mac-updating -c sw 6. Send random ip packets from TG. -7. Check performance from dma app and compare with hw copy test:: +7. Check performance from DMA APP and compare with hw copy test:: 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: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 0-2 -n 2 -- -p 0x1 -q 4 --proc-type=primary -3. Launch another dma app with three cores and proc_type secondary: +3. Launch another DMA APP with three cores and proc_type secondary: ./x86_64-native-linuxapp-gcc/examples/dpdk-dma -l 0-2 -n 2 -- -p 0x1 -q 4 --proc-type=secondary