From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id F03BE2BC1 for ; Mon, 20 Aug 2018 08:41:40 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Aug 2018 23:41:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,263,1531810800"; d="scan'208";a="74129668" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by FMSMGA003.fm.intel.com with ESMTP; 19 Aug 2018 23:41:39 -0700 Received: from fmsmsx125.amr.corp.intel.com (10.18.125.40) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 19 Aug 2018 23:41:39 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX125.amr.corp.intel.com (10.18.125.40) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 19 Aug 2018 23:41:39 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.143]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.150]) with mapi id 14.03.0319.002; Mon, 20 Aug 2018 14:41:37 +0800 From: "Lin, Xueqin" To: "Liu, Yong" , "dts@dpdk.org" Thread-Topic: [dts] [PATCH] test_plan/dynamic_queue: add dynamic queue test plan Thread-Index: AQHUOCawAiOXBQCOkkSP16zz8f8hf6TH/8Lw//+qx4CAAIZRUA== Date: Mon, 20 Aug 2018 06:41:36 +0000 Message-ID: <0D300480287911409D9FF92C1FA2A3355B3D8358@SHSMSX104.ccr.corp.intel.com> References: <1533615807-108447-1-git-send-email-xueqin.lin@intel.com> <5B7A889E.1070502@intel.com> <0D300480287911409D9FF92C1FA2A3355B3D81E7@SHSMSX104.ccr.corp.intel.com> <86228AFD5BCD8E4EBFD2B90117B5E81E63129AA1@SHSMSX103.ccr.corp.intel.com> In-Reply-To: <86228AFD5BCD8E4EBFD2B90117B5E81E63129AA1@SHSMSX103.ccr.corp.intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNGM5YmRjN2YtZDVhMi00MjlkLWE1YWItZjM0YjEzN2JlNjVjIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiI2QUUzd1hDUWdYU1R1SEZLbDRVc0VMNW1ocnB3eFhFS01nQnRPalZWNUJMa1wvYW5LZ1pRSWlqN2dPZU5kdFhlSCJ9 dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH] test_plan/dynamic_queue: add dynamic queue test plan 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: , X-List-Received-Date: Mon, 20 Aug 2018 06:41:41 -0000 NP, v2 has added this information and sent it to dts. Thanks Marvin.=20 Best regards, Xueqin -----Original Message----- From: Liu, Yong=20 Sent: Monday, August 20, 2018 2:39 PM To: Lin, Xueqin ; dts@dpdk.org Subject: RE: [dts] [PATCH] test_plan/dynamic_queue: add dynamic queue test = plan Thanks for clear it, xueqin. Please also add this information in test plan. > -----Original Message----- > From: Lin, Xueqin > Sent: Monday, August 20, 2018 1:07 PM > To: Liu, Yong ; dts@dpdk.org > Subject: RE: [dts] [PATCH] test_plan/dynamic_queue: add dynamic queue=20 > test plan >=20 > Yes, queue stop is must, if not stop queue, will fail to setup this=20 > queue next. > Use cmd to start testpmd, application first specifies how many Tx and=20 > Rx queues to include in the ethdev, such as "--txq=3D4 --rxq=3D4", the=20 > application then sets up each 4 Tx and 4 Rx queues. Finally, once all=20 > the queues have been set up, the application may then start the=20 > device, then traffic can flow. If device stops, this halts the flow of=20 > traffic on all queues in the ethdev, not stop one queue. > So device stop is different from queue stop. >=20 > Best regards, > Xueqin >=20 > > -----Original Message----- > > From: Liu, Yong > > Sent: Monday, August 20, 2018 5:24 PM > > To: Lin, Xueqin ; dts@dpdk.org > > Subject: Re: [dts] [PATCH] test_plan/dynamic_queue: add dynamic=20 > > queue test plan > > > > > > > > On 08/07/2018 12:23 PM, Xueqin Lin wrote: > > > +Test Case: Rx queue configure at runtime=20 > > > +=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 > > > +Stop some Rx queues on port 0:: > > > + > > > + testpmd> port 0 rxq stop > > > + > > > +Set rxonly forward, start testpmd > > > + > > > +Send different src or dst IPv4 packets:: > > > + > > > + p=3DEther()/IP(src=3D"192.168.0.1",=20 > > > + dst=3D"192.168.0.1")/Raw("x"*20) > > > + > > > +Stop testpmd, find stopped queues can't receive packets, but=20 > > > +other queues could receive packets > > Hi Xueqin, > > In the introduction chapter of this test plan, you have mentioned=20 > > that no need to call dev_stop when configuring queue. > > Is here queue stop is must? If it is yes, please add some note for > difference > > between device stop and queue stop. > > > > Thanks, > > Marvin