On Wed, 19 Apr 2023 11:36:34 +0300 Ophir Munk <ophi...@nvidia.com> wrote:
> +int ecore_mz_mapping_alloc(void) > +{ > + ecore_mz_mapping = rte_malloc("ecore_mz_map", 0, > + rte_memzone_max_get() * sizeof(struct rte_memzone *)); Why not use rte_calloc(), and devices should be using NUMA aware allocation to put the memzone on same NUMA node as the PCI device.