[dpdk-dev] [PATCH v2 5/6] mempool: add namespace to driver register macro
Olivier Matz
olivier.matz at 6wind.com
Tue Oct 19 18:16:38 CEST 2021
On Tue, Oct 19, 2021 at 01:08:44PM +0300, Andrew Rybchenko wrote:
> Add RTE_ prefix to macro used to register mempool driver.
> The old one is still available but deprecated.
>
> Signed-off-by: Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>
(...)
> rte_mempool_register_ops(&ops); \
> }
>
> +/** Deprecated. Use RTE_MEMPOOL_REGISTER_OPS() instead. */
> +#define MEMPOOL_REGISTER_OPS(ops) \
> + RTE_DEPRECATED(RTE_MEMPOOL_REGISTER_OPS(ops))
> +
> /**
> * An object callback function for mempool.
> *
Same comment than 4/6
define MEMPOOL_REGISTER_OPS(ops) \
RTE_DEPRECATED(MEMPOOL_REGISTER_OPS) RTE_MEMPOOL_REGISTER_OPS(ops)
More information about the dev
mailing list