Re: [dpdk-dev] [PATCH] rte_metrics: move maximum number of metrics into rte_config

2020-10-20 Thread Thomas Monjalon
20/10/2020 17:02, Stephen Hemminger: > Thomas Monjalon wrote: > > 05/09/2020 00:31, Stephen Hemminger: > > > If using lots of queues and ports, and having per port or per queue > > > metrics it is easy to exceed the upper bound of the metric library. > > > Move the limit into rte_config where user

Re: [dpdk-dev] [PATCH] rte_metrics: move maximum number of metrics into rte_config

2020-10-20 Thread Stephen Hemminger
On Tue, 20 Oct 2020 13:50:55 +0200 Thomas Monjalon wrote: > 05/09/2020 00:31, Stephen Hemminger: > > If using lots of queues and ports, and having per port or per queue > > metrics it is easy to exceed the upper bound of the metric library. > > Move the limit into rte_config where user can change

Re: [dpdk-dev] [PATCH] rte_metrics: move maximum number of metrics into rte_config

2020-10-20 Thread Thomas Monjalon
05/09/2020 00:31, Stephen Hemminger: > If using lots of queues and ports, and having per port or per queue > metrics it is easy to exceed the upper bound of the metric library. > Move the limit into rte_config where user can change it. > > Ideally, there would be no upper bound and a dynamic struc

Re: [dpdk-dev] [PATCH] rte_metrics: move maximum number of metrics into rte_config

2020-09-04 Thread Stephen Hemminger
On Fri, 4 Sep 2020 15:31:19 -0700 Stephen Hemminger wrote: > If using lots of queues and ports, and having per port or per queue > metrics it is easy to exceed the upper bound of the metric library. > Move the limit into rte_config where user can change it. > > Ideally, there would be no upper

[dpdk-dev] [PATCH] rte_metrics: move maximum number of metrics into rte_config

2020-09-04 Thread Stephen Hemminger
If using lots of queues and ports, and having per port or per queue metrics it is easy to exceed the upper bound of the metric library. Move the limit into rte_config where user can change it. Ideally, there would be no upper bound and a dynamic structure such as red-black tree or hash table would