Re: [dpdk-dev] [RFC 03/11] malloc: index heaps using heap ID rather than NUMA node

2018-07-13 Thread Burakov, Anatoly
On 13-Jul-18 5:05 PM, Alejandro Lucero wrote: - /* get pointer to global configuration */ - mcfg = rte_eal_get_configuration()->mem_config; - - for (i = 0; i < RTE_MAX_NUMA_NODES; i++) { - if ((socket != SOCKET_ID_ANY) && (socket != i)) + for (idx = 0; idx <

Re: [dpdk-dev] [RFC 03/11] malloc: index heaps using heap ID rather than NUMA node

2018-07-13 Thread Alejandro Lucero
On Fri, Jul 6, 2018 at 2:17 PM, Anatoly Burakov wrote: > Switch over all parts of EAL to use heap ID instead of NUMA node > ID to identify heaps. Heap ID for DPDK-internal heaps is NUMA > node's index within the detected NUMA node list. > > Signed-off-by: Anatoly Burakov > --- > config/common_b

[dpdk-dev] [RFC 03/11] malloc: index heaps using heap ID rather than NUMA node

2018-07-06 Thread Anatoly Burakov
Switch over all parts of EAL to use heap ID instead of NUMA node ID to identify heaps. Heap ID for DPDK-internal heaps is NUMA node's index within the detected NUMA node list. Signed-off-by: Anatoly Burakov --- config/common_base| 1 + lib/librte_eal/common/eal_commo