From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8FCEAA04DB; Thu, 3 Sep 2020 12:24:51 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 522091C0B5; Thu, 3 Sep 2020 12:24:51 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id AC512DE0 for ; Thu, 3 Sep 2020 12:24:49 +0200 (CEST) IronPort-SDR: LSitUKIC9OxB/mFLqV2oYSkXEtkZB/2L47wxHt8k58R962QbtuCj9NvTq1vBlI5pZWcpV2R0rC aYt5LBQmxkzg== X-IronPort-AV: E=McAfee;i="6000,8403,9732"; a="157554770" X-IronPort-AV: E=Sophos;i="5.76,386,1592895600"; d="scan'208";a="157554770" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Sep 2020 03:24:47 -0700 IronPort-SDR: hqkvKu3Axajpp6234AfIZdZbranLqaJPYwkll+hyIiFGwIReAoYr6l/MIhKk+32klrc8BuLl+v dCPME/26mryQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,386,1592895600"; d="scan'208";a="284039777" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga008.fm.intel.com with ESMTP; 03 Sep 2020 03:24:47 -0700 Received: from shsmsx603.ccr.corp.intel.com (10.109.6.143) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 3 Sep 2020 03:24:46 -0700 Received: from shsmsx605.ccr.corp.intel.com (10.109.6.215) by SHSMSX603.ccr.corp.intel.com (10.109.6.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 3 Sep 2020 18:24:44 +0800 Received: from shsmsx605.ccr.corp.intel.com ([10.109.6.215]) by SHSMSX605.ccr.corp.intel.com ([10.109.6.215]) with mapi id 15.01.1713.004; Thu, 3 Sep 2020 18:24:44 +0800 From: "Zhou, JunX W" To: "dts@dpdk.org" Thread-Topic: [dts][PATCH V1] update test_plan to synchronize with code Thread-Index: AQHWgdGO8moqEN8hC0OR4n9iQZgBv6lWtRBg Date: Thu, 3 Sep 2020 10:24:44 +0000 Message-ID: <831c645aec7e47ab9d7901cee7779d15@intel.com> References: <20200903085411.5648-1-junx.w.zhou@intel.com> In-Reply-To: <20200903085411.5648-1-junx.w.zhou@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1] update test_plan to synchronize with code X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 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" Tested-by: junx.w.zhou@intel.com -----Original Message----- From: Zhou, JunX W=20 Sent: Thursday, September 3, 2020 4:54 PM To: dts@dpdk.org Cc: Zhou, JunX W Subject: [dts][PATCH V1] update test_plan to synchronize with code From: Zhou jun modify distributor/external_mempool_handler/vf_jumboframe testplan to synch= ronize with code Signed-off-by: Zhou jun --- test_plans/distributor_test_plan.rst | 4 ++++ test_plans/external_mempool_handler_test_plan.rst | 25 ++++++++++++++++++-= ---- test_plans/vf_jumboframe_test_plan.rst | 4 ++++ 3 files changed, 28 insertions(+), 5 deletions(-) diff --git a/test_plans/distributor_test_plan.rst b/test_plans/distributor_= test_plan.rst index 7af496a..bc27985 100644 --- a/test_plans/distributor_test_plan.rst +++ b/test_plans/distributor_test_plan.rst @@ -71,6 +71,10 @@ Verify burst distributor API cost much less cycles then = normal version =20 Test case: Distribute with maximum workers =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D +In order to make more queue as worker, let a core receive and a core send:= : + + sed -i -e 's/.*txRings =3D .*/\\tconst uint16_t rxRings =3D 1,= =20 + txRings =3D 1;/' ./examples/distributor/main.c + Start distributor sample with 63(0xeffffffffffffffff0) workers =20 Send several packets with ip address increasing diff --git a/test_plans/ex= ternal_mempool_handler_test_plan.rst b/test_plans/external_mempool_handler_= test_plan.rst index be53272..09ed4ca 100644 --- a/test_plans/external_mempool_handler_test_plan.rst +++ b/test_plans/external_mempool_handler_test_plan.rst @@ -42,7 +42,10 @@ systems and software based memory allocators to be used = with DPDK. Test Case 1: Multiple producers and multiple consumers =3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20 -1. Change default mempool handler operations to "ring_mp_mc" +1. Change default mempool handler operations to "ring_mp_mc":: + + sed -i=20 + 's/CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS=3D.*$/CONFIG_RTE_MBUF_DEFAULT_MEM + POOL_OPS=3D\"ring_mp_mc\"/' ./config/common_base + 2. Start test app and verify mempool autotest passed:: =20 test -n 4 -c f @@ -60,7 +63,10 @@ Test Case 1: Multiple producers and multiple consumers = Test Case 2: Single producer and Single consumer =3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20 -1. Change default mempool operation to "ring_sp_sc" +1. Change default mempool operation to "ring_sp_sc":: + + sed -i=20 + 's/CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS=3D.*$/CONFIG_RTE_MBUF_DEFAULT_MEM + POOL_OPS=3D\"ring_sp_sc\"/' ./config/common_base + 2. Start test app and verify mempool autotest passed:: =20 test -n 4 -c f @@ -78,7 +84,10 @@ Test Case 2: Single producer and Single consumer Test C= ase 3: Single producer and Multiple consumers =3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20 -1. Change default mempool operation to "ring_sp_mc" +1. Change default mempool operation to "ring_sp_mc":: + + sed -i=20 + 's/CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS=3D.*$/CONFIG_RTE_MBUF_DEFAULT_MEM + POOL_OPS=3D\"ring_sp_mc\"/' ./config/common_base + 2. Start test app and verify mempool autotest passed:: =20 test -n 4 -c f @@ -96,7 +105,10 @@ Test Case 3: Single producer and Multiple consumers Te= st Case 4: Multiple producers and single consumer =3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20 -1. Change default mempool operation to "ring_mp_sc" +1. Change default mempool operation to "ring_mp_sc":: + + sed -i=20 + 's/CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS=3D.*$/CONFIG_RTE_MBUF_DEFAULT_MEM + POOL_OPS=3D\"ring_mp_sc\"/' ./config/common_base + 2. Start test app and verify mempool autotest passed:: =20 test -n 4 -c f @@ -114,7 +126,10 @@ Test Case 4: Multiple producers and single consumer T= est Case 4: Stack mempool handler =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20 -1. Change default mempool operation to "stack" +1. Change default mempool operation to "stack":: + + sed -i=20 + 's/CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS=3D.*$/CONFIG_RTE_MBUF_DEFAULT_MEM + POOL_OPS=3D\"stack\"/' ./config/common_base + 2. Start test app and verify mempool autotest passed:: =20 test -n 4 -c f diff --git a/test_plans/vf_jumboframe_test_plan.rst b/test_plans/vf_jumbofr= ame_test_plan.rst index 2f4cae3..6f8f8b6 100644 --- a/test_plans/vf_jumboframe_test_plan.rst +++ b/test_plans/vf_jumboframe_test_plan.rst @@ -107,6 +107,10 @@ Testing the support of Jumbo Frames in Poll Mode Drive= rs consists in configuring the maximum packet length with a value greater = than 1518, and in sending to the test machine packets with the following l= engths (CRC included): =20 +when driver is ixgbe, turn on the jumbo_frame switch:: + + sed -i -e 's/.jumbo_frame =3D .*$/.jumbo_frame =3D 1,/g' app/test-p= md/testpmd.c + #. packet length =3D 1518 - 1 =20 #. packet length =3D 1518 -- 1.8.3.1