From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 Content-Transfer-Encoding: 8bit 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:: -- 2.25.1