From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from proxy.6wind.com (host.76.145.23.62.rev.coltfrance.com [62.23.145.76]) by dpdk.org (Postfix) with ESMTP id 927B31B05 for ; Thu, 24 May 2018 11:44:27 +0200 (CEST) Received: from glumotte.dev.6wind.com. (unknown [10.16.0.195]) by proxy.6wind.com (Postfix) with ESMTP id 28A4317E16B; Thu, 24 May 2018 11:40:57 +0200 (CEST) From: Olivier Matz To: dev@dpdk.org Cc: Hemant Agrawal , Jerin Jacob Date: Thu, 24 May 2018 11:44:07 +0200 Message-Id: <20180524094407.6969-1-olivier.matz@6wind.com> X-Mailer: git-send-email 2.11.0 Subject: [dpdk-dev] [PATCH] eal: deprecate function to set default mbuf pool X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 May 2018 09:44:28 -0000 Deprecate rte_eal_mbuf_default_mempool_ops(), it shall be replaced by rte_mbuf_best_mempool_ops(). Cc: Hemant Agrawal Cc: Jerin Jacob Signed-off-by: Olivier Matz --- doc/guides/rel_notes/deprecation.rst | 4 ++-- lib/librte_eal/common/include/rte_eal.h | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index 1e2443c76..781cc6894 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -32,8 +32,8 @@ Deprecation Notices mempool names have been defined in ``rte_mbuf`` in v18.02. The uses of ``rte_eal_mbuf_default_mempool_ops`` shall be replaced by ``rte_mbuf_best_mempool_ops``. - The following function is now redundant and it is target to be deprecated - in 18.05: + The following function is deprecated since 18.05, and will be removed + in 18.08: - ``rte_eal_mbuf_default_mempool_ops`` diff --git a/lib/librte_eal/common/include/rte_eal.h b/lib/librte_eal/common/include/rte_eal.h index c698b3155..8de5d69e8 100644 --- a/lib/librte_eal/common/include/rte_eal.h +++ b/lib/librte_eal/common/include/rte_eal.h @@ -502,11 +502,13 @@ const char * __rte_experimental rte_eal_mbuf_user_pool_ops(void); /** + * @deprecated * Get default pool ops name for mbuf * * @return * returns default pool ops name. */ +__rte_deprecated const char * rte_eal_mbuf_default_mempool_ops(void); -- 2.11.0