Re: [dpdk-dev] [PATCH v3 1/7] malloc: introduce malloc is ready API

2021-10-19 Thread Thomas Monjalon
18/10/2021 21:37, Harman Kalra: > @@ -1328,6 +1330,7 @@ rte_eal_malloc_heap_init(void) > { > struct rte_mem_config *mcfg = rte_eal_get_configuration()->mem_config; > unsigned int i; > + int ret; > const struct internal_config *internal_conf = > eal_get_internal_

[dpdk-dev] [PATCH v3 1/7] malloc: introduce malloc is ready API

2021-10-18 Thread Harman Kalra
Implementing a new API get the state if DPDK memory management APIs are initialized. One of the use case of this API is while allocating an interrupt instance, if malloc APIs are ready memory for interrupt handles should be allocated via rte_malloc_* APIs else glibc malloc APIs are used. Eg. Alarm