From patchwork Mon Nov 8 08:45:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ling, WeiX" X-Patchwork-Id: 103941 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 2CE64A0C4B; Mon, 8 Nov 2021 09:52:33 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 24678410FC; Mon, 8 Nov 2021 09:52:33 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 952C540E5A for ; Mon, 8 Nov 2021 09:52:31 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10161"; a="232034725" X-IronPort-AV: E=Sophos;i="5.87,218,1631602800"; d="scan'208";a="232034725" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Nov 2021 00:52:30 -0800 X-IronPort-AV: E=Sophos;i="5.87,218,1631602800"; d="scan'208";a="641350910" Received: from unknown (HELO localhost.localdomain) ([10.240.183.222]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Nov 2021 00:52:27 -0800 From: Wei Ling To: dts@dpdk.org Cc: Wei Ling Date: Mon, 8 Nov 2021 16:45:04 +0800 Message-Id: <20211108084504.1355620-1-weix.ling@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [dts] [PATCH V1 1/3] test_plans/cbdma_test_plan: modify app name by dpdk change 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 Sender: "dts" 1.According to dpdk commit d0473104("examples/ioat: port application to dmadev API") change from example/ioat to /example/dma, dts need to change sync with dpdk. 2.DTS need to modify the app name in the test plan. Signed-off-by: Wei Ling --- test_plans/cbdma_test_plan.rst | 40 +++++++++++++++++----------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/test_plans/cbdma_test_plan.rst b/test_plans/cbdma_test_plan.rst index 94167097..d9dcc193 100644 --- a/test_plans/cbdma_test_plan.rst +++ b/test_plans/cbdma_test_plan.rst @@ -67,7 +67,7 @@ The application requires a number of command line options: .. code-block:: console - ./build/ioatfwd [EAL options] -- -p MASK [-q NQ] [-s RS] [-c ] + x86_64-native-linuxapp-gcc/examples/dpdk-dma [EAL options] -- -p MASK [-q NQ] [-s RS] [-c ] [--[no-]mac-updating] where, @@ -95,9 +95,9 @@ Test Case1: CBDMA basic test with differnet size packets 1.Bind one cbdma port and one nic port to igb_uio driver. -2.Launch ioatfwd app:: +2.Launch dma app:: -./build/ioatfwd -l 0-1 -n 2 -- -p 0x1 -c hw --mac-updating +./x86_64-native-linuxapp-gcc/examples/dpdk-dma -l 0-1 -n 2 -- -p 0x1 --mac-updating -c hw 3.Send different size packets (64B, 256B, 512B, 1024B, IMIX) from TG to NIC. @@ -108,9 +108,9 @@ Test Case2: CBDMA test with multi-threads 1.Bind one cbdma port and one nic port to igb_uio driver. -2.Launch ioatfwd app with three cores:: +2.Launch dma app with three cores:: -./build/ioatfwd -l 0-2 -n 2 -- -p 0x1 -c hw +./x86_64-native-linuxapp-gcc/examples/dpdk-dma -l 0-2 -n 2 -- -p 0x1 --mac-updating -c hw 3. Send different size packets from TG to NIC. @@ -121,9 +121,9 @@ Test Case3: CBDMA test with multi nic ports 1.Bind two cbdma ports and two nic ports to igb_uio driver. -2.Launch ioatfwd app with multi-ports:: +2.Launch dma app with multi-ports:: -./build/ioatfwd -l 0-4 -n 2 -- -p 0x3 -q 1 -c hw +./x86_64-native-linuxapp-gcc/examples/dpdk-dma -l 0-4 -n 2 -- -p 0x3 -q 1 --mac-updating -c hw 3.Send different size packets (64B, 256B, 512B, 1024B, IMIX) from TG to two NIC ports. @@ -134,9 +134,9 @@ Test Case4: CBDMA test with multi-queues 1.Bind two cbdma ports and one nic port to igb_uio driver. -2.Launch ioatfwd app with multi-queues:: +2.Launch dma app with multi-queues:: -./build/ioatfwd -l 0-2 -n 2 -- -p 0x1 -q 2 -c hw +./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. @@ -150,9 +150,9 @@ Test Case5: CBDMA performance cmparison between mac-updating and no-mac-updating 1.Bind one cbdma ports and one nic port to igb_uio driver. -2.Launch ioatfwd app:: +2.Launch dma app:: -./build/ioatfwd -l 0-1 -n 2 -- -p 0x1 -q 2 --no-mac-updating -c hw +./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. @@ -160,9 +160,9 @@ Test Case5: CBDMA performance cmparison between mac-updating and no-mac-updating Total packets Tx: xxx [pps] -5.Launch ioatfwd app:: +5.Launch dma app:: -./build/ioatfwd -l 0-1 -n 2 -- -p 0x1 -q 2 --mac-updating -c hw +./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. @@ -175,9 +175,9 @@ Test Case6: CBDMA performance cmparison between HW copies and SW copies using di 1.Bind four cbdma pors and one nic port to igb_uio driver. -2.Launch ioatfwd app with three cores:: +2.Launch dma app with three cores:: -./build/ioatfwd -l 0-2 -n 2 -- -p 0x1 -q 4 -c hw +./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. @@ -185,9 +185,9 @@ Test Case6: CBDMA performance cmparison between HW copies and SW copies using di Total packets Tx: xxx [pps] -5.Launch ioatfwd app with three cores:: +5.Launch dma app with three cores:: -./build/ioatfwd -l 0-2 -n 2 -- -p 0x1 -q 4 -c sw +./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. @@ -202,10 +202,10 @@ Test Case7: CBDMA multi application mode test 2.Launch test-pmd app with three cores and proc_type primary: -./build/test-pmd -l 0-2 -n 2 -- -p 0x1 -q 4 --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 ioatfwd app with three cores and proc_type secondary: +3. Launch another dma app with three cores and proc_type secondary: -./build/ioatfwd -l 0-2 -n 2 -- -p 0x1 -q 4 --proc-type=secondary +./x86_64-native-linuxapp-gcc/examples/dpdk-dma -l 0-2 -n 2 -- -p 0x1 -q 4 --proc-type=secondary 4. check both the application should work and no one should report error.