On 10/19/21 11:48 AM, David Marchand wrote: > On Mon, Oct 18, 2021 at 4:49 PM Andrew Rybchenko > <andrew.rybche...@oktetlabs.ru> wrote: >> >> Add RTE_ prefix to helper macro to calculate mempool header size and >> make it internal. Old macro is still available, but deprecated. >> >> Signed-off-by: Andrew Rybchenko <andrew.rybche...@oktetlabs.ru> > > No reference to this macro out there: > $ git grep-all -w MEMPOOL_HEADER_SIZE > > > The change looks fine to me. > I just wonder if we really need to expose this helper, is it > performance sensitive? >
As far as I can see it is used by rte_mempool_get_priv() which is inline and could be used on datapath.