MEMPOOL_PG_NUM_DEFAULT and MEMPOOL_PG_SHIFT_MAX defines are unused since xmem API removal.
Signed-off-by: Andrew Rybchenko <[email protected]> --- 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(-) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index 03f9ac806c..351f3ce056 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -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: diff --git a/doc/guides/rel_notes/release_22_11.rst b/doc/guides/rel_notes/release_22_11.rst index 1a3a1549d9..25c49897eb 100644 --- a/doc/guides/rel_notes/release_22_11.rst +++ b/doc/guides/rel_notes/release_22_11.rst @@ -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 ----------- diff --git a/lib/mempool/rte_mempool.h b/lib/mempool/rte_mempool.h index b3d3c52e18..a3c4ee351d 100644 --- a/lib/mempool/rte_mempool.h +++ b/lib/mempool/rte_mempool.h @@ -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. -- 2.30.2

