[dpdk-dev] [PATCH v2 2/4] mempool: use generic memory management

Thomas Monjalon thomas at monjalon.net
Mon Jun 1 23:14:41 CEST 2020


01/06/2020 21:59, Dmitry Kozlyuk:
> 1. What do you think about changing rte_ to rte_eal_ prefix for memory
> management wrappers in MM series as Andrew Rybchenko suggested for v1? Since
> the functions are DPDK-internal, this sounds reasonable to me.

For lib-internal function, the prefix should not start with rte_.
For exported function (even if internal), the prefix should be rte_[component]_.
For memory related functions, rte_mem_ is better than rte_eal_.





More information about the dev mailing list