From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id DF17E2BBF for ; Mon, 20 Aug 2018 07:07:44 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Aug 2018 22:07:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,263,1531810800"; d="scan'208";a="78298251" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga002.fm.intel.com with ESMTP; 19 Aug 2018 22:07:23 -0700 Received: from fmsmsx122.amr.corp.intel.com (10.18.125.37) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 19 Aug 2018 22:07:22 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx122.amr.corp.intel.com (10.18.125.37) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 19 Aug 2018 22:07:22 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.143]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.205]) with mapi id 14.03.0319.002; Mon, 20 Aug 2018 13:07:20 +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 Date: Mon, 20 Aug 2018 05:07:20 +0000 Message-ID: <0D300480287911409D9FF92C1FA2A3355B3D81E7@SHSMSX104.ccr.corp.intel.com> References: <1533615807-108447-1-git-send-email-xueqin.lin@intel.com> <5B7A889E.1070502@intel.com> In-Reply-To: <5B7A889E.1070502@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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 05:07:45 -0000 Yes, queue stop is must, if not stop queue, will fail to setup this queue n= ext.=20 Use cmd to start testpmd, application first specifies how many Tx and Rx qu= eues 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 t= he 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 a= ll queues in the ethdev, not stop one queue. So device stop is different from queue stop.=20 Best regards, Xueqin > -----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 >=20 >=20 >=20 > 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"*2= 0) > > + > > +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 differ= ence > between device stop and queue stop. >=20 > Thanks, > Marvin