From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id D4E9C2BC1 for ; Mon, 20 Aug 2018 08:39:47 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Aug 2018 23:39:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,263,1531810800"; d="scan'208";a="76737344" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga003.jf.intel.com with ESMTP; 19 Aug 2018 23:39:44 -0700 Received: from fmsmsx125.amr.corp.intel.com (10.18.125.40) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 19 Aug 2018 23:39:44 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) 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:39:44 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.240]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.185]) with mapi id 14.03.0319.002; Mon, 20 Aug 2018 14:38:59 +0800 From: "Liu, Yong" To: "Lin, Xueqin" , "dts@dpdk.org" Thread-Topic: [dts] [PATCH] test_plan/dynamic_queue: add dynamic queue test plan Thread-Index: AQHULjj9OjSHBWLjSku8FtCJqpXdP6TIcoYA//8yQwCAAJ+OwA== Date: Mon, 20 Aug 2018 06:38:59 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E63129AA1@SHSMSX103.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> In-Reply-To: <0D300480287911409D9FF92C1FA2A3355B3D81E7@SHSMSX104.ccr.corp.intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNGM5YmRjN2YtZDVhMi00MjlkLWE1YWItZjM0YjEzN2JlNjVjIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiNkFFM3dYQ1FnWFNUdUhGS2w0VXNFTDVtaHJwd3hYRUtNZ0J0T2pWVjVCTGtcL2FuS2daUUlpajdnT2VOZHRYZUgifQ== x-ctpclassification: CTP_NT 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:39:48 -0000 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 tes= t > plan >=20 > Yes, queue stop is must, if not stop queue, will fail to setup this queue > next. > Use cmd to start testpmd, application first specifies how many Tx and Rx > queues to include in the ethdev, such as "--txq=3D4 --rxq=3D4", > the application then sets up each 4 Tx and 4 Rx queues. Finally, once all= the > queues have been set up, the application may then start the device, > then traffic can flow. If device stops, this halts the flow of 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 queue > > test plan > > > > > > > > On 08/07/2018 12:23 PM, Xueqin Lin wrote: > > > +Test Case: Rx queue configure at runtime > > > +=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", dst=3D"192.168.0.1")/Raw("x"= *20) > > > + > > > +Stop testpmd, find stopped queues can't receive packets, but other > > > +queues could receive packets > > Hi Xueqin, > > In the introduction chapter of this test plan, you have mentioned 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