14/06/2021 17:48, Morten Brørup: > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Thomas Monjalon > It would be much simpler to just increase RTE_MAX_ETHPORTS to something big > enough to hold a sufficiently large array. And possibly add an > rte_max_ethports variable to indicate the number of populated entries in the > array, for use when iterating over the array. > > Can we come up with another example than RTE_MAX_ETHPORTS where this library > provides a better benefit?
What is big enough? Is 640KB enough for RAM? ;) When dealing with microservices switching, the numbers can increase very fast.