From patchwork Thu Apr 14 14:05:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yu Jiang X-Patchwork-Id: 109712 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 A27FAA050C; Thu, 14 Apr 2022 08:07:05 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 22570427FB; Thu, 14 Apr 2022 08:07:05 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id B116840687 for ; Thu, 14 Apr 2022 08:07:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1649916423; x=1681452423; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=OBmWtJYG4cq3o7yVGJqCm5DkIN7uPZFIFDEURHuijN4=; b=ZNMfpawGRsfD+MoHDZNp7Fmkj5eIufSbdB+cRCS97+umKWboDs6u8gJp RthMwany1hQA023K9kL9SnMSnGlJA1pm4Iz8f/l9Xfti0RvCbTD9V3Fxn zAHInb+zgUYbxbS/m2q6u4FgouyBsCUhvZhd7KfIpLwqJjFqIpDE28MI0 ACt89zZH4l2LzVCyGU1G1tVGfhGfyfSlR4YCkRfBc6QcgofEAsGKTXCK4 7WkYroVUOy05rMpf81yBjmoeNd27yxKp1Q0wHthcor+XcW85AP+J3giwz NqgWlmoe1Ar20dcr/1rRvI/mzz3CNoZrAW10sjtpUsi+piVkd3j3d8fbF g==; X-IronPort-AV: E=McAfee;i="6400,9594,10316"; a="243444171" X-IronPort-AV: E=Sophos;i="5.90,259,1643702400"; d="scan'208";a="243444171" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Apr 2022 23:06:59 -0700 X-IronPort-AV: E=Sophos;i="5.90,259,1643702400"; d="scan'208";a="573625214" Received: from unknown (HELO localhost.localdomain) ([10.239.251.226]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Apr 2022 23:06:57 -0700 From: Yu Jiang To: lijuan.tu@intel.com, dts@dpdk.org Cc: Yu Jiang Subject: [dts][PATCH V1 1/3] test_plans/vf_interrupt_pmd&sriov_kvm: modify test plan to adapt meson build Date: Thu, 14 Apr 2022 14:05:47 +0000 Message-Id: <20220414140549.1579777-2-yux.jiang@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220414140549.1579777-1-yux.jiang@intel.com> References: <20220414140549.1579777-1-yux.jiang@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 test_plans/vf_interrupt_pmd&sriov_kvm: modify test plan to adapt meson build Signed-off-by: Yu Jiang --- test_plans/sriov_kvm_test_plan.rst | 28 +++++++++++------------ test_plans/vf_interrupt_pmd_test_plan.rst | 2 +- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/test_plans/sriov_kvm_test_plan.rst b/test_plans/sriov_kvm_test_plan.rst index ff3ecd07..1adc4dc2 100644 --- a/test_plans/sriov_kvm_test_plan.rst +++ b/test_plans/sriov_kvm_test_plan.rst @@ -57,7 +57,7 @@ used to generate 2VFs and make them in pci-stub modes.:: Start PF driver on the Host and skip the VFs.:: - ./x86_64-default-linuxapp-gcc/app/testpmd -c f \ + ./x86_64-default-linuxapp-gcc/app/dpdk-testpmd -c f \ -n 4 -b 0000:08:10.0 -b 0000:08:10.2 -- -i For VM0 start up command, you can refer to below command.:: @@ -95,11 +95,11 @@ If you want to run all common 2VM cases, please run testpmd on VM0 and VM1 and start traffic forward on the VM hosts. Some specific prerequisites need to be set up in each case:: - VF0 ./x86_64-default-linuxapp-gcc/app/testpmd -c f -n 4 -- -i + VF0 ./x86_64-default-linuxapp-gcc/app/dpdk-testpmd -c f -n 4 -- -i VF0 testpmd-> set fwd rxonly VF0 testpmd-> start - VF1 ./x86_64-default-linuxapp-gcc/app/testpmd -c f -n 4 -- -i + VF1 ./x86_64-default-linuxapp-gcc/app/dpdk-testpmd -c f -n 4 -- -i VF1 testpmd-> set fwd mac VF1 testpmd-> start @@ -109,12 +109,12 @@ Test Case: InterVM communication test on 2VMs Set the VF0 destination mac address to VF1 mac address, packets send from VF0 will be forwarded to VF1 and then send out:: - VF1 ./x86_64-default-linuxapp-gcc/app/testpmd -c f -n 4 -- -i + VF1 ./x86_64-default-linuxapp-gcc/app/dpdk-testpmd -c f -n 4 -- -i VF1 testpmd-> show port info 0 VF1 testpmd-> set fwd mac VF1 testpmd-> start - VF0 ./x86_64-default-linuxapp-gcc/app/testpmd -c f -n 4 -- --eth-peer=0,"VF1 mac" -i + VF0 ./x86_64-default-linuxapp-gcc/app/dpdk-testpmd -c f -n 4 -- --eth-peer=0,"VF1 mac" -i VF0 testpmd-> set fwd mac VF0 testpmd-> start @@ -255,16 +255,16 @@ driver will has been already attached to VMs:: On PF ./tools/pci_unbind.py --bind=igb_uio 0000:08:00.0 echo 4 > /sys/bus/pci/devices/0000\:08\:00.0/max_vfs - ./x86_64-default-linuxapp-gcc/app/testpmd -c f -n 4 -b 0000:08:10.0 -b 0000:08:10.2 -b 0000:08:10.4 -b 0000:08:10.6 -- -i + ./x86_64-default-linuxapp-gcc/app/dpdk-testpmd -c f -n 4 -b 0000:08:10.0 -b 0000:08:10.2 -b 0000:08:10.4 -b 0000:08:10.6 -- -i If you want to run all common 4VM cases, please run testpmd on VM0, VM1, VM2 and VM3 and start traffic forward on the VM hosts. Some specific prerequisites are set up in each case:: - VF0 ./x86_64-default-linuxapp-gcc/app/testpmd -c f -n 4 -- -i - VF1 ./x86_64-default-linuxapp-gcc/app/testpmd -c f -n 4 -- -i - VF2 ./x86_64-default-linuxapp-gcc/app/testpmd -c f -n 4 -- -i - VF3 ./x86_64-default-linuxapp-gcc/app/testpmd -c f -n 4 -- -i + VF0 ./x86_64-default-linuxapp-gcc/app/dpdk-testpmd -c f -n 4 -- -i + VF1 ./x86_64-default-linuxapp-gcc/app/dpdk-testpmd -c f -n 4 -- -i + VF2 ./x86_64-default-linuxapp-gcc/app/dpdk-testpmd -c f -n 4 -- -i + VF3 ./x86_64-default-linuxapp-gcc/app/dpdk-testpmd -c f -n 4 -- -i Test Case: Scaling InterVM communication on 4VFs ================================================== @@ -272,21 +272,21 @@ Test Case: Scaling InterVM communication on 4VFs Set the VF0 destination mac address to VF1 mac address, packets send from VF0 will be forwarded to VF1 and then send out. Similar for VF2 and VF3:: - VF1 ./x86_64-default-linuxapp-gcc/app/testpmd -c f -n 4 -- -i + VF1 ./x86_64-default-linuxapp-gcc/app/dpdk-testpmd -c f -n 4 -- -i VF1 testpmd-> show port info 0 VF1 testpmd-> set fwd mac VF1 testpmd-> start - VF0 ./x86_64-default-linuxapp-gcc/app/testpmd -c f -n 4 -- --eth-peer=0,"VF1 mac" -i + VF0 ./x86_64-default-linuxapp-gcc/app/dpdk-testpmd -c f -n 4 -- --eth-peer=0,"VF1 mac" -i VF0 testpmd-> set fwd mac VF0 testpmd-> start - VF3 ./x86_64-default-linuxapp-gcc/app/testpmd -c f -n 4 -- -i + VF3 ./x86_64-default-linuxapp-gcc/app/dpdk-testpmd -c f -n 4 -- -i VF3 testpmd-> show port info 0 VF3 testpmd-> set fwd mac VF3 testpmd-> start - VF2 ./x86_64-default-linuxapp-gcc/app/testpmd -c f -n 4 -- --eth-peer=0,"VF3 mac" -i + VF2 ./x86_64-default-linuxapp-gcc/app/dpdk-testpmd -c f -n 4 -- --eth-peer=0,"VF3 mac" -i VF2 testpmd-> set fwd mac VF2 testpmd-> start diff --git a/test_plans/vf_interrupt_pmd_test_plan.rst b/test_plans/vf_interrupt_pmd_test_plan.rst index 1988b43d..ac49c5ed 100644 --- a/test_plans/vf_interrupt_pmd_test_plan.rst +++ b/test_plans/vf_interrupt_pmd_test_plan.rst @@ -246,7 +246,7 @@ Test Case6: VF multi-queue interrupt in VM with vfio-pci on i40e 4.Start l3fwd-power in VM:: - ./build/l3fwd-power -l 0-3 -n 4 -m 2048 -- -P -p 0x1 --config="(0,0,0),(0,1,1),(0,2,2),(0,3,3)" + ./x86_64-native-linuxapp-gcc/examples/dpdk-l3fwd-power -l 0-3 -n 4 -m 2048 -- -P -p 0x1 --config="(0,0,0),(0,1,1),(0,2,2),(0,3,3)" 5. Send UDP packets with random ip and dest mac = vf mac addr:: From patchwork Thu Apr 14 14:05:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yu Jiang X-Patchwork-Id: 109711 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 D8DA6A0509; Thu, 14 Apr 2022 08:07:04 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CEA8540687; Thu, 14 Apr 2022 08:07:04 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 325514003F for ; Thu, 14 Apr 2022 08:07:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1649916423; x=1681452423; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=o5lxT+FMCT3j7hb7ard/zyENhMS/rv/ssJH9xnWOyIc=; b=U0PXWb/8ISGyYbkOLevdP/NzH2Y1XHg9An2D8ljbvIfpyXKdDcU0wDne Bb+E2NqT4i9vrVgPJUd8L4bYjDqRbgdfzprmbLabvDmipfO/OyJ/Dw0sp kzHF6750XZBYrP/eDsZqIXWkGHOl+UXTyE1Xlkt2AkBjt8uR1PRO3BTaK 8jGlt6ppv0BxkzuWpRiF6mxZ5GaYyrFMqqrCt78hHH0VtZDI+H4UDq6I1 1iLSfk6tEpNF7YAQbtJFc9V8o0FkwCrTBKvqzNQyl2gL7Xr+yCkNSogvl 502flWjD4hmWKqTpnh8cjjfVVz4jdr9huDdzMg/kPg58WWQBbns16LDmV Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10316"; a="243444178" X-IronPort-AV: E=Sophos;i="5.90,259,1643702400"; d="scan'208";a="243444178" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Apr 2022 23:07:00 -0700 X-IronPort-AV: E=Sophos;i="5.90,259,1643702400"; d="scan'208";a="573625232" Received: from unknown (HELO localhost.localdomain) ([10.239.251.226]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Apr 2022 23:06:59 -0700 From: Yu Jiang To: lijuan.tu@intel.com, dts@dpdk.org Cc: Yu Jiang Subject: [dts][PATCH V1 2/3] test_plans/l2fwd_cryptodev_func&inline_ipsec: modify test plan to adapt meson build Date: Thu, 14 Apr 2022 14:05:48 +0000 Message-Id: <20220414140549.1579777-3-yux.jiang@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220414140549.1579777-1-yux.jiang@intel.com> References: <20220414140549.1579777-1-yux.jiang@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 test_plans/l2fwd_cryptodev_func&inline_ipsec: modify test plan to adapt meson build Signed-off-by: Yu Jiang --- test_plans/inline_ipsec_test_plan.rst | 20 +++++++++---------- test_plans/l2fwd_cryptodev_func_test_plan.rst | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/test_plans/inline_ipsec_test_plan.rst b/test_plans/inline_ipsec_test_plan.rst index f3b0a8cc..0b4e45a1 100644 --- a/test_plans/inline_ipsec_test_plan.rst +++ b/test_plans/inline_ipsec_test_plan.rst @@ -145,7 +145,7 @@ Test Case: IPSec Encryption =========================== Start ipsec-secgw with two 82599 ports and assign port 1 to unprotected mode:: - sudo ./build/ipsec-secgw -l 20,21 -a 83:00.0 -a 83:00.1 --vdev + sudo ./x86_64-default-linuxapp-gcc/examples/dpdk-ipsec-secgw -l 20,21 -a 83:00.0 -a 83:00.1 --vdev "crypto_null" --log-level 8 --socket-mem 1024,1 -- -p 0xf -P -u 0x2 --config="(0,0,20),(1,0,21)" -f ./enc.cfg @@ -195,7 +195,7 @@ Test Case: IPSec Encryption with Jumboframe =========================================== Start ipsec-secgw with two 82599 ports and assign port 1 to unprotected mode:: - sudo ./build/ipsec-secgw -l 20,21 -a 83:00.0 -a 83:00.1 --vdev + sudo ./x86_64-default-linuxapp-gcc/examples/dpdk-ipsec-secgw -l 20,21 -a 83:00.0 -a 83:00.1 --vdev "crypto_null" --log-level 8 --socket-mem 1024,1 -- -p 0xf -P -u 0x2 --config="(0,0,20),(1,0,21)" -f ./enc.cfg @@ -215,7 +215,7 @@ Check burst esp packets can't be received from unprotected port. Set jumbo frames size as 9000, start it with port 1 assigned to unprotected mode:: - sudo ./build/ipsec-secgw -l 20,21 -a 83:00.0 -a 83:00.1 --vdev + sudo ./x86_64-default-linuxapp-gcc/examples/dpdk-ipsec-secgw -l 20,21 -a 83:00.0 -a 83:00.1 --vdev "crypto_null" --log-level 8 --socket-mem 1024,1 -- -p 0xf -P -u 0x2 -j 9000 --config="(0,0,20),(1,0,21)" -f ./enc.cfg @@ -240,7 +240,7 @@ Create configuration file with multiple SP/SA/RT rules for different ip address. Start ipsec-secgw with two queues enabled on each port and port 1 assigned to unprotected mode:: - sudo ./build/ipsec-secgw -l 20,21 -a 83:00.0 -a 83:00.1 --vdev + sudo ./x86_64-default-linuxapp-gcc/examples/dpdk-ipsec-secgw -l 20,21 -a 83:00.0 -a 83:00.1 --vdev "crypto_null" --log-level 8 --socket-mem 1024,1 -- -p 0xf -P -u 0x2 --config="(0,0,20),(0,1,20),(1,0,21),(1,1,21)" -f ./enc_rss.cfg @@ -260,7 +260,7 @@ Test Case: IPSec Decryption =========================== Start ipsec-secgw with two 82599 ports and assign port 1 to unprotected mode:: - sudo ./build/ipsec-secgw -l 20,21 -a 83:00.0 -a 83:00.1 --vdev + sudo ./x86_64-default-linuxapp-gcc/examples/dpdk-ipsec-secgw -l 20,21 -a 83:00.0 -a 83:00.1 --vdev "crypto_null" --log-level 8 --socket-mem 1024,1 -- -p 0xf -P -u 0x2 --config="(0,0,20),(1,0,21)" -f ./dec.cfg @@ -276,7 +276,7 @@ Test Case: IPSec Decryption with wrong key ========================================== Start ipsec-secgw with two 82599 ports and assign port 1 to unprotected mode:: - sudo ./build/ipsec-secgw -l 20,21 -a 83:00.0 -a 83:00.1 --vdev + sudo ./x86_64-default-linuxapp-gcc/examples/dpdk-ipsec-secgw -l 20,21 -a 83:00.0 -a 83:00.1 --vdev "crypto_null" --log-level 8 --socket-mem 1024,1 -- -p 0xf -P -u 0x2 --config="(0,0,20),(1,0,21)" -f ./dec.cfg @@ -296,7 +296,7 @@ IPsec application will produce error "IPSEC_ESP: failed crypto op". Test Case: IPSec Decryption with Jumboframe =========================================== Start ipsec-secgw with two 82599 ports and assign port 1 to unprotected mode:: - sudo ./build/ipsec-secgw -l 20,21 -a 83:00.0 -a 83:00.1 --vdev + sudo ./x86_64-default-linuxapp-gcc/examples/dpdk-ipsec-secgw -l 20,21 -a 83:00.0 -a 83:00.1 --vdev "crypto_null" --log-level 8 --socket-mem 1024,1 -- -p 0xf -P -u 0x2 --config="(0,0,20),(1,0,21)" -f ./dec.cfg @@ -313,7 +313,7 @@ Check burst(8192) packets which have been decapsulated can't be received from pr Set jumbo frames size as 9000, start it with port 1 assigned to unprotected mode:: - sudo ./build/ipsec-secgw -l 20,21 -a 83:00.0 -a 83:00.1 --vdev + sudo ./x86_64-default-linuxapp-gcc/examples/dpdk-ipsec-secgw -l 20,21 -a 83:00.0 -a 83:00.1 --vdev "crypto_null" --log-level 8 --socket-mem 1024,1 -- -p 0xf -P -u 0x2 -j 9000 --config="(0,0,20),(1,0,21)" -f ./dec.cfg @@ -335,7 +335,7 @@ Create configuration file with multiple SA rule for different ip address. Start ipsec-secgw with two 82599 ports and assign port 1 to unprotected mode:: - sudo ./build/ipsec-secgw -l 20,21 -a 83:00.0 -a 83:00.1 --vdev + sudo ./x86_64-default-linuxapp-gcc/examples/dpdk-ipsec-secgw -l 20,21 -a 83:00.0 -a 83:00.1 --vdev "crypto_null" --log-level 8 --socket-mem 1024,1 -- -p 0xf -P -u 0x2 -config="(0,0,20),(0,1,20),(1,0,21),(1,1,21)" -f ./dec_rss.cfg @@ -352,7 +352,7 @@ Test Case: IPSec Encryption/Decryption simultaneously ===================================================== Start ipsec-secgw with two 82599 ports and assign port 1 to unprotected mode:: - sudo ./build/ipsec-secgw -l 20,21 -a 83:00.0 -a 83:00.1 + sudo ./x86_64-default-linuxapp-gcc/examples/dpdk-ipsec-secgw -l 20,21 -a 83:00.0 -a 83:00.1 --vdev "crypto_null" --log-level 8 --socket-mem 1024,1 -- -p 0xf -P -u 0x2 --config="(0,0,20),(1,0,21)" -f ./enc_dec.cfg diff --git a/test_plans/l2fwd_cryptodev_func_test_plan.rst b/test_plans/l2fwd_cryptodev_func_test_plan.rst index 9ace53d0..889b3fd2 100644 --- a/test_plans/l2fwd_cryptodev_func_test_plan.rst +++ b/test_plans/l2fwd_cryptodev_func_test_plan.rst @@ -279,7 +279,7 @@ To test CryptoDev API, an example l2fwd-crypto is added into DPDK. The test commands of l2fwd-crypto is below:: - ./build/l2fwd-crypto [EAL options] -- [-p PORTMASK] [-q NQ] [-s] [-T PERIOD] / + ./build/examples/dpdk-l2fwd-crypto [EAL options] -- [-p PORTMASK] [-q NQ] [-s] [-T PERIOD] / [--cdev_type HW/SW/ANY] [--chain HASH_CIPHER/CIPHER_HASH/CIPHER_ONLY/HASH_ONLY/AEAD] / [--cipher_algo ALGO] [--cipher_op ENCRYPT/DECRYPT] [--cipher_key KEY] / [--cipher_key_random_size SIZE] [--cipher_iv IV] [--cipher_iv_random_size SIZE] / From patchwork Thu Apr 14 14:05:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yu Jiang X-Patchwork-Id: 109709 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 55F75A050A; Thu, 14 Apr 2022 08:07:05 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EEF7D41155; Thu, 14 Apr 2022 08:07:04 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id C93994111B for ; Thu, 14 Apr 2022 08:07:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1649916424; x=1681452424; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=o1IvFKUr1Nvq57F5fSkA+gwPT+Fwxjy5mSCxjmnr+sI=; b=eRQA71BXpjs7RK2n8rlyv2L4hd2aVsgWp9cZg1KuW4JH7BrEGUFraaOc ekumrV234Tb/Bue+KkZf/BLWbHCrC2G75JpAPJHP7e1UNV0tDr50gVOfk cuGQK2G1QuxbYAyrz5U20zGu8/lkzrylTEtklqXC4dQ05fI39bVn/SvSk 7zVZB9s5KaN+yj1wteezt2oe7OmQMRqGf9P/nm1AY3l8jnNTAw8gT1ZXI urGJ6poAjrJX/vC/jisrrQd0hr2YWTLGYDTGGOj+ZsLNKnNY3W5Ql7mXe RnAsl8u9i9LNU3+vtdu9lJhEh8BEcmUBFNanXBpUOgAACEmK9e8rHFI/I A==; X-IronPort-AV: E=McAfee;i="6400,9594,10316"; a="243444181" X-IronPort-AV: E=Sophos;i="5.90,259,1643702400"; d="scan'208";a="243444181" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Apr 2022 23:07:02 -0700 X-IronPort-AV: E=Sophos;i="5.90,259,1643702400"; d="scan'208";a="573625247" Received: from unknown (HELO localhost.localdomain) ([10.239.251.226]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Apr 2022 23:07:00 -0700 From: Yu Jiang To: lijuan.tu@intel.com, dts@dpdk.org Cc: Yu Jiang Subject: [dts][PATCH V1 3/3] test_plans/external_mempool_handler: modify test plan to adapt meson build Date: Thu, 14 Apr 2022 14:05:49 +0000 Message-Id: <20220414140549.1579777-4-yux.jiang@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220414140549.1579777-1-yux.jiang@intel.com> References: <20220414140549.1579777-1-yux.jiang@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 test_plans/external_mempool_handler: modify test plan to adapt meson build Signed-off-by: Yu Jiang --- .../external_mempool_handler_test_plan.rst | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/test_plans/external_mempool_handler_test_plan.rst b/test_plans/external_mempool_handler_test_plan.rst index c773dc0b..0df16182 100644 --- a/test_plans/external_mempool_handler_test_plan.rst +++ b/test_plans/external_mempool_handler_test_plan.rst @@ -42,14 +42,14 @@ systems and software based memory allocators to be used with DPDK. Test Case 1: Multiple producers and multiple consumers ====================================================== -1. Default mempool handler operations is "ring_mp_mc":: +1. Default mempool handler operations RTE_MBUF_DEFAULT_MEMPOOL_OPS is "ring_mp_mc":: - cat /root/dpdk/config/rte_config.h |grep MEMPOOL_OPS - #define RTE_MBUF_DEFAULT_MEMPOOL_OPS "ring_mp_mc" + Launch test app with mempool operation "ring_mp_mc": + parameter: --mbuf-pool-ops-name ring_mp_mc 2. Start test app and verify mempool autotest passed:: - .//app/test/dpdk-test -n 4 -c f + .//app/test/dpdk-test -n 4 -c f --mbuf-pool-ops-name ring_mp_mc RTE>> mempool_autotest 3. Start testpmd with two ports and start forwarding:: @@ -64,13 +64,13 @@ Test Case 1: Multiple producers and multiple consumers Test Case 2: Single producer and Single consumer ================================================ -1. Change default mempool operation to "ring_sp_sc":: +1. Launch test app with mempool operation "ring_sp_sc":: - sed -i '$a\#define RTE_MBUF_DEFAULT_MEMPOOL_OPS \"ring_sp_sc\"' config/rte_config.h + parameter: --mbuf-pool-ops-name ring_sp_sc 2. Start test app and verify mempool autotest passed:: - .//app/test/dpdk-test -n 4 -c f + .//app/test/dpdk-test -n 4 -c f --mbuf-pool-ops-name ring_sp_sc RTE>> mempool_autotest 3. Start testpmd with two ports and start forwarding:: @@ -85,13 +85,13 @@ Test Case 2: Single producer and Single consumer Test Case 3: Single producer and Multiple consumers =================================================== -1. Change default mempool operation to "ring_sp_mc":: +1. Launch test app with mempool operation "ring_sp_mc":: - sed -i '$a\#define RTE_MBUF_DEFAULT_MEMPOOL_OPS \"ring_sp_mc\"' config/rte_config.h + parameter: --mbuf-pool-ops-name ring_sp_mc 2. Start test app and verify mempool autotest passed:: - .//app/test/dpdk-test -n 4 -c f + .//app/test/dpdk-test -n 4 -c f --mbuf-pool-ops-name ring_sp_mc RTE>> mempool_autotest 3. Start testpmd with two ports and start forwarding:: @@ -106,13 +106,13 @@ Test Case 3: Single producer and Multiple consumers Test Case 4: Multiple producers and single consumer =================================================== -1. Change default mempool operation to "ring_mp_sc":: +1. Launch test app with mempool operation "ring_mp_sc":: - sed -i '$a\#define RTE_MBUF_DEFAULT_MEMPOOL_OPS \"ring_mp_sc\"' config/rte_config.h + parameter: --mbuf-pool-ops-name ring_mp_sc 2. Start test app and verify mempool autotest passed:: - .//app/test/dpdk-test -n 4 -c f + .//app/test/dpdk-test -n 4 -c f --mbuf-pool-ops-name ring_mp_sc RTE>> mempool_autotest 3. Start testpmd with two ports and start forwarding:: @@ -127,13 +127,13 @@ Test Case 4: Multiple producers and single consumer Test Case 4: Stack mempool handler ================================== -1. Change default mempool operation to "stack":: +1. Launch test app with mempool operation "stack":: - sed -i '$a\#define RTE_MBUF_DEFAULT_MEMPOOL_OPS \"stack\"' config/rte_config.h + parameter: --mbuf-pool-ops-name stack 2. Start test app and verify mempool autotest passed:: - .//app/test/dpdk-test -n 4 -c f + .//app/test/dpdk-test -n 4 -c f --mbuf-pool-ops-name stack RTE>> mempool_autotest 3. Start testpmd with two ports and start forwarding::