[dpdk-dev] [PATCH v4 3/4] regexdev: add regexdev core functions

Ori Kam orika at mellanox.com
Mon Jul 6 08:07:08 CEST 2020



> -----Original Message-----
> From: Thomas Monjalon <thomas at monjalon.net>
> Sent: Monday, July 6, 2020 12:08 AM
> Subject: Re: [dpdk-dev] [PATCH v4 3/4] regexdev: add regexdev core functions
> 
> 02/07/2020 09:46, Ori Kam:
> > --- a/meson_options.txt
> > +++ b/meson_options.txt
> > @@ -30,6 +30,8 @@ option('max_lcores', type: 'integer', value: 128,
> >  	description: 'maximum number of cores/threads supported by EAL')
> >  option('max_numa_nodes', type: 'integer', value: 4,
> >  	description: 'maximum number of NUMA nodes supported by EAL')
> > +option('max_regexdev_devs', type: 'integer', value: 32,
> > +	description: 'maximum number of RegEx devices')
> 
> Do we really want to add such option in meson?
> Some other classes do not expose any option here.
> I tend to think it should be hidden.
> If the max is really varying, it should be dynamic.
> By the way, the maximum number of ethdev ports should be made infinite
> with a dynamic array.
> 
> Bruce, any opinion please?
> 
Why this is just like ethdev:
option('max_ethports', type: 'integer', value: 32,
description: 'maximum number of Ethernet devices')
Best,
Ori



More information about the dev mailing list