From d8cda718e13ce3b238489217832dc5ed28557206 Mon Sep 17 00:00:00 2001 From: Olivier Matz Date: Thu, 24 May 2018 11:44:07 +0200 Subject: [PATCH] eal: deprecate function to set default mbuf pool Deprecate rte_eal_mbuf_default_mempool_ops(), it shall be replaced by rte_mbuf_best_mempool_ops(). Signed-off-by: Olivier Matz Acked-by: Jerin Jacob Acked-by: Hemant Agrawal Acked-by: Thomas Monjalon --- 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 00fec3973d..d2dd302db6 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -42,8 +42,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 c698b3155c..8de5d69e87 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.20.1