mempool: remove deprecated macro to calculate header size
MEMPOOL_HEADER_SIZE() is removed. The replacement with RTE_ prefix is internal only since it is implementation details which are not required in applications. 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
2607c9cbeb
commit
b0831090cd
@ -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: Helper macro ``MEMPOOL_HEADER_SIZE()`` is deprecated and will
|
||||
be removed in DPDK 22.11. The replacement macro
|
||||
``RTE_MEMPOOL_HEADER_SIZE()`` is internal only.
|
||||
|
||||
* 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()``.
|
||||
|
@ -92,6 +92,9 @@ API Changes
|
||||
in the future. Applications can use ``devtools/cocci/func_or_ret.cocci``
|
||||
to update their code.
|
||||
|
||||
* mempool: Deprecated helper macro ``MEMPOOL_HEADER_SIZE()`` is removed.
|
||||
The replacement macro ``RTE_MEMPOOL_HEADER_SIZE()`` is internal only.
|
||||
|
||||
* 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).
|
||||
|
@ -329,10 +329,6 @@ struct rte_mempool {
|
||||
(sizeof(*(mp)) + (((cs) == 0) ? 0 : \
|
||||
(sizeof(struct rte_mempool_cache) * RTE_MAX_LCORE)))
|
||||
|
||||
/** Deprecated. Use RTE_MEMPOOL_HEADER_SIZE() for internal purposes only. */
|
||||
#define MEMPOOL_HEADER_SIZE(mp, cs) \
|
||||
RTE_DEPRECATED(MEMPOOL_HEADER_SIZE) RTE_MEMPOOL_HEADER_SIZE(mp, cs)
|
||||
|
||||
/* return the header of a mempool object (internal) */
|
||||
static inline struct rte_mempool_objhdr *
|
||||
rte_mempool_get_header(void *obj)
|
||||
|
Loading…
Reference in New Issue
Block a user