From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 72D38A00C4; Thu, 28 Jul 2022 11:36:10 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 08851427ED; Thu, 28 Jul 2022 11:36:10 +0200 (CEST) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id B1214427ED for ; Thu, 28 Jul 2022 11:36:08 +0200 (CEST) Received: by shelob.oktetlabs.ru (Postfix, from userid 115) id D5488CB; Thu, 28 Jul 2022 12:36:07 +0300 (MSK) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mail1.oktetlabs.ru X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=ALL_TRUSTED, DKIM_ADSP_DISCARD autolearn=no autolearn_force=no version=3.4.6 Received: from aros.oktetlabs.ru (aros.oktetlabs.ru [192.168.38.17]) by shelob.oktetlabs.ru (Postfix) with ESMTP id 58115D1; Thu, 28 Jul 2022 12:36:06 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru 58115D1 Authentication-Results: shelob.oktetlabs.ru/58115D1; dkim=none; dkim-atps=neutral From: Andrew Rybchenko To: Ray Kinsella , Olivier Matz Cc: dev@dpdk.org Subject: [PATCH 3/3] mempool: remove deprecated unused defines Date: Thu, 28 Jul 2022 12:35:58 +0300 Message-Id: <20220728093558.2261726-4-andrew.rybchenko@oktetlabs.ru> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220728093558.2261726-1-andrew.rybchenko@oktetlabs.ru> References: <20220728093558.2261726-1-andrew.rybchenko@oktetlabs.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org MEMPOOL_PG_NUM_DEFAULT and MEMPOOL_PG_SHIFT_MAX defines are unused since xmem API removal. Signed-off-by: Andrew Rybchenko --- 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_" */ #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