mempool: remove deprecated macro to register mempool driver
Replacement RTE_MEMPOOL_REGISTER_OPS() should be used instead. Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> Acked-by: David Marchand <david.marchand@redhat.com> Acked-by: Olivier Matz <olivier.matz@6wind.com>
This commit is contained in:
parent
b0831090cd
commit
6efe9ff22d
@ -36,10 +36,6 @@ Deprecation Notices
|
||||
``__atomic_thread_fence`` must be used for patches that need to be merged in
|
||||
20.08 onwards. This change will not introduce any performance degradation.
|
||||
|
||||
* mempool: Macro to register mempool driver ``MEMPOOL_REGISTER_OPS()`` is
|
||||
deprecated and will be removed in DPDK 22.11. Use replacement macro
|
||||
``RTE_MEMPOOL_REGISTER_OPS()``.
|
||||
|
||||
* mempool: The mempool API macros ``MEMPOOL_PG_*`` are deprecated and
|
||||
will be removed in DPDK 22.11.
|
||||
|
||||
|
@ -95,6 +95,10 @@ API Changes
|
||||
* mempool: Deprecated helper macro ``MEMPOOL_HEADER_SIZE()`` is removed.
|
||||
The replacement macro ``RTE_MEMPOOL_HEADER_SIZE()`` is internal only.
|
||||
|
||||
* mempool: Deprecated macro to register mempool driver
|
||||
``MEMPOOL_REGISTER_OPS()`` is removed. Use replacement macro
|
||||
``RTE_MEMPOOL_REGISTER_OPS()`` instead.
|
||||
|
||||
* bus: Registering a bus has been marked as an internal API.
|
||||
External users may still register their bus using the ``bus_driver.h``
|
||||
driver header (see ``enable_driver_sdk`` meson option).
|
||||
|
@ -930,10 +930,6 @@ int rte_mempool_register_ops(const struct rte_mempool_ops *ops);
|
||||
rte_mempool_register_ops(&ops); \
|
||||
}
|
||||
|
||||
/** Deprecated. Use RTE_MEMPOOL_REGISTER_OPS() instead. */
|
||||
#define MEMPOOL_REGISTER_OPS(ops) \
|
||||
RTE_DEPRECATED(MEMPOOL_REGISTER_OPS) RTE_MEMPOOL_REGISTER_OPS(ops)
|
||||
|
||||
/**
|
||||
* An object callback function for mempool.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user