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.rybche...@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)

Reply via email to