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

Stephen Hemminger stephen at networkplumber.org
Sat Sep 5 05:11:44 CEST 2020


On Fri,  4 Sep 2020 15:31:19 -0700
Stephen Hemminger <stephen at networkplumber.org> 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 bound and a dynamic structure
> such as red-black tree or hash table would be used for these.
> 
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>

Note: this version of the patch assumes meson build, it won't work with make based build.

Ignore the CI failures.



More information about the dev mailing list