config files profile.cfg in examples/qos_sched

Theo MARGUERET theo.margueret at etu.toulouse-inp.fr
Tue Jul 19 09:31:01 CEST 2022


Hello,
You can find attached a patch to fix the issue.
Sincerely
Théo
----- Mail original -----
De: "Thomas Monjalon" <thomas at monjalon.net>
À: "Theo MARGUERET" <theo.margueret at etu.toulouse-inp.fr>
Cc: "dev" <dev at dpdk.org>, "Cristian Dumitrescu" <cristian.dumitrescu at intel.com>, "Jasvinder Singh" <jasvinder.singh at intel.com>
Envoyé: 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 , 
> I worked on the qos_sched application and I think, there may be an error in the config file. 
> It seems that the allocation of the pipe profile mapping : 
> - pipe 0-4095 = 0 ; These pipes are configured with pipe profile 0 
> is not in the right place. 
> I think it should be in the subport configuration. For examples like this : 
> ---------------------------------------------------------------------------------------------- 
> [subport 0] 
> number of pipes per subport = 4096 
> queue sizes = 64 64 64 64 64 64 64 64 64 64 64 64 64 
> 
> pipe 0-4095 = 0 
> ---------------------------------------------------------------------------------------------- 
> 
> 
> Moreover I did not find any parsing for the line : 
> - subport 0-8 = 0 
> 
> Thanks for your attention. 
> Sincerely. 
> 
> Théo Margueret 
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: profile.cfg
Type: application/octet-stream
Size: 5553 bytes
Desc: not available
URL: <http://mails.dpdk.org/archives/dev/attachments/20220719/3b94d547/attachment.obj>


More information about the dev mailing list