05/06/2023 12:50, Ophir Munk: > Currently, the max memzones count constat (RTE_MAX_MEMZONE) is used to > decide how many memzones a DPDK application can have. This value could > technically be changed by manually editing `rte_config.h` before > compilation, but if DPDK is already compiled, that option is not useful. > There are certain use cases that would benefit from making this value > configurable. > > This commit addresses the issue by adding a new API to set the max > number of memzones before EAL initialization (while using the old > constant as default value), as well as an API to get current maximum > number of memzones. > > Signed-off-by: Ophir Munk <ophi...@nvidia.com> > Acked-by: Morten Brørup <m...@smartsharesystems.com> > Acked-by: Alok Prasad <pa...@marvell.com>
Did minor changes in comments and function sorting. Applied, thanks.