[3/3] mempool: remove deprecated unused defines
Checks
Commit Message
MEMPOOL_PG_NUM_DEFAULT and MEMPOOL_PG_SHIFT_MAX defines are unused
since xmem API removal.
Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
---
doc/guides/rel_notes/deprecation.rst | 3 ---
doc/guides/rel_notes/release_22_11.rst | 4 ++++
lib/mempool/rte_mempool.h | 6 ------
3 files changed, 4 insertions(+), 9 deletions(-)
@@ -32,9 +32,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: The mempool API macros ``MEMPOOL_PG_*`` are deprecated and
- will be removed in DPDK 22.11.
-
* bus: The ``rte_bus`` object will be made opaque in DPDK 22.11.
The goal is to remove it from the public ABI and make this object extendable.
As a side effect, registering a bus will be marked as an internal API:
@@ -91,6 +91,10 @@ API Changes
``MEMPOOL_REGISTER_OPS()`` is removed. Use replacement macro
``RTE_MEMPOOL_REGISTER_OPS()`` instead.
+* mempool: Deprecated macros ``MEMPOOL_PG_NUM_DEFAULT`` and
+ ``MEMPOOL_PG_SHIFT_MAX`` are removed. These macros are not used and
+ not required any more.
+
ABI Changes
-----------
@@ -112,12 +112,6 @@ struct rte_mempool_objsz {
/* "MP_<name>" */
#define RTE_MEMPOOL_MZ_FORMAT RTE_MEMPOOL_MZ_PREFIX "%s"
-#define MEMPOOL_PG_SHIFT_MAX \
- RTE_DEPRECATED(MEMPOOL_PG_SHIFT_MAX) (sizeof(uintptr_t) * CHAR_BIT - 1)
-
-/** Deprecated. Mempool over one chunk of physically continuous memory */
-#define MEMPOOL_PG_NUM_DEFAULT RTE_DEPRECATED(MEMPOOL_PG_NUM_DEFAULT) 1
-
#ifndef RTE_MEMPOOL_ALIGN
/**
* Alignment of elements inside mempool.