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 B5327A0032; Wed, 20 Jul 2022 08:44:19 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E18A541614; Wed, 20 Jul 2022 08:44:15 +0200 (CEST) Received: from smtpout02-ext4.partage.renater.fr (smtpout02-ext4.partage.renater.fr [194.254.241.31]) by mails.dpdk.org (Postfix) with ESMTP id 3C62B400D4 for ; Tue, 19 Jul 2022 09:31:06 +0200 (CEST) Received: from zmtaout02.partage.renater.fr (zmtaout02.partage.renater.fr [194.254.241.30]) by smtpout20.partage.renater.fr (Postfix) with ESMTP id 11D88C0824; Tue, 19 Jul 2022 09:31:02 +0200 (CEST) Received: from zmtaout02.partage.renater.fr (localhost [127.0.0.1]) by zmtaout02.partage.renater.fr (Postfix) with ESMTPS id 0563220ECF; Tue, 19 Jul 2022 09:31:02 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zmtaout02.partage.renater.fr (Postfix) with ESMTP id F07E420EC7; Tue, 19 Jul 2022 09:31:01 +0200 (CEST) X-Virus-Scanned: amavisd-new at zmtaout02.partage.renater.fr Received: from zmtaout02.partage.renater.fr ([127.0.0.1]) by localhost (zmtaout02.partage.renater.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id K2JYy0XxU-od; Tue, 19 Jul 2022 09:31:01 +0200 (CEST) Received: from zstore-b0-002.partage.renater.fr (zstore-b0-002.partage.renater.fr [10.254.240.100]) by zmtaout02.partage.renater.fr (Postfix) with ESMTP id C099120ECF; Tue, 19 Jul 2022 09:31:01 +0200 (CEST) Date: Tue, 19 Jul 2022 09:31:01 +0200 (CEST) From: Theo MARGUERET To: Thomas Monjalon Cc: dev , Cristian Dumitrescu , Jasvinder Singh Message-ID: <1993150456.147152053.1658215861571.JavaMail.zimbra@etu.toulouse-inp.fr> In-Reply-To: <8963248.CDJkKcVGEf@thomas> References: <373628719.124288045.1657614129572.JavaMail.zimbra@etu.toulouse-inp.fr> <8963248.CDJkKcVGEf@thomas> Subject: Re: config files profile.cfg in examples/qos_sched MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_147152051_1003308925.1658215861570" X-Mailer: Zimbra 8.8.15_GA_4272 (ZimbraWebClient - FF101 (Linux)/8.8.15_GA_4257) Thread-Topic: config files profile.cfg in examples/qos_sched Thread-Index: dPxdntOszb7HkgnmIpywhhdv8ek0Tw== X-Renater-Ptge-SpamState: clean X-Renater-Ptge-SpamScore: -100 X-Renater-Ptge-SpamCause: gggruggvucftvghtrhhoucdtuddrgedvfedrudekledguddvvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucftgffptefvgfftnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpeffhffvvefkjghfufggtgfothesmhdttggsredtjeenucfhrhhomhepvfhhvghoucfoteftifgfgfftgffvuceothhhvghordhmrghrghhuvghrvghtsegvthhurdhtohhulhhouhhsvgdqihhnphdrfhhrqeenucggtffrrghtthgvrhhnpedtudegtedvkeevfeffiefhudethefftefgjeehleejueelfffgvefgueeuveevieenucfkphepuddtrddvheegrddvgedtrddutddtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddtrddvheegrddvgedtrddutddtpdhhvghlohepiihsthhorhgvqdgstddqtddtvddrphgrrhhtrghgvgdrrhgvnhgrthgvrhdrfhhrpdhmrghilhhfrhhomhepvfhhvghoucfoteftifgfgfftgffvuceothhhvghordhmrghrghhuvghrvghtsegvthhurdhtohhulhhouhhsvgdqihhnphdrfhhrqedpnhgspghrtghpthhtohepgedprhgtphhtthhopehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtpdhrtghpthhtohepuggvvhesughpughkrdhorhhgpdhrtghpthhtoheptghrihhsthhirghnrdguuhhmihhtrhgvshgtuhesihhnthgvlhdrtghomhdprhgtphhtthhopehjrghsvhhi nhguvghrrdhsihhnghhhsehinhhtvghlrdgtohhm X-Mailman-Approved-At: Wed, 20 Jul 2022 08:44:13 +0200 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org ------=_Part_147152051_1003308925.1658215861570 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, You can find attached a patch to fix the issue. Sincerely Th=C3=A9o ----- Mail original ----- De: "Thomas Monjalon" =C3=80: "Theo MARGUERET" Cc: "dev" , "Cristian Dumitrescu" , "Jasvinder Singh" Envoy=C3=A9: Vendredi 15 Juillet 2022 18:27:41 Objet: Re: config files profile.cfg in examples/qos_sched +Cc maintainers of this part Do not hesitate to submit a patch to fix the issue you found. 12/07/2022 10:22, Theo MARGUERET: > Hello ,=20 > I worked on the qos_sched application and I think, there may be an error = in the config file.=20 > It seems that the allocation of the pipe profile mapping :=20 > - pipe 0-4095 =3D 0 ; These pipes are configured with pipe profile 0=20 > is not in the right place.=20 > I think it should be in the subport configuration. For examples like this= :=20 > -------------------------------------------------------------------------= ---------------------=20 > [subport 0]=20 > number of pipes per subport =3D 4096=20 > queue sizes =3D 64 64 64 64 64 64 64 64 64 64 64 64 64=20 >=20 > pipe 0-4095 =3D 0=20 > -------------------------------------------------------------------------= ---------------------=20 >=20 >=20 > Moreover I did not find any parsing for the line :=20 > - subport 0-8 =3D 0=20 >=20 > Thanks for your attention.=20 > Sincerely.=20 >=20 > Th=C3=A9o Margueret=20 > ------=_Part_147152051_1003308925.1658215861570 Content-Type: application/octet-stream; name=profile.cfg Content-Disposition: attachment; filename=profile.cfg Content-Transfer-Encoding: base64 OyAgIFNQRFgtTGljZW5zZS1JZGVudGlmaWVyOiBCU0QtMy1DbGF1c2UKOyAgIENvcHlyaWdodChj KSAyMDEwLTIwMTkgSW50ZWwgQ29ycG9yYXRp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