DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] eal: deprecate function to set default mbuf pool
@ 2018-05-24  9:44 Olivier Matz
  2018-05-24  9:59 ` Jerin Jacob
  0 siblings, 1 reply; 4+ messages in thread
From: Olivier Matz @ 2018-05-24  9:44 UTC (permalink / raw)
  To: dev; +Cc: Hemant Agrawal, Jerin Jacob

Deprecate rte_eal_mbuf_default_mempool_ops(), it shall be replaced by
rte_mbuf_best_mempool_ops().

Cc: Hemant Agrawal <hemant.agrawal@nxp.com>
Cc: Jerin Jacob <jerin.jacob@caviumnetworks.com>

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
---
 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] [PATCH] eal: deprecate function to set default mbuf pool
  2018-05-24  9:44 [dpdk-dev] [PATCH] eal: deprecate function to set default mbuf pool Olivier Matz
@ 2018-05-24  9:59 ` Jerin Jacob
  2018-05-24 10:08   ` Hemant Agrawal
  0 siblings, 1 reply; 4+ messages in thread
From: Jerin Jacob @ 2018-05-24  9:59 UTC (permalink / raw)
  To: Olivier Matz; +Cc: dev, Hemant Agrawal

-----Original Message-----
> Date: Thu, 24 May 2018 11:44:07 +0200
> From: Olivier Matz <olivier.matz@6wind.com>
> To: dev@dpdk.org
> CC: Hemant Agrawal <hemant.agrawal@nxp.com>, Jerin Jacob
>  <jerin.jacob@caviumnetworks.com>
> Subject: [PATCH] eal: deprecate function to set default mbuf pool
> X-Mailer: git-send-email 2.11.0
> 
> Deprecate rte_eal_mbuf_default_mempool_ops(), it shall be replaced by
> rte_mbuf_best_mempool_ops().
> 
> Cc: Hemant Agrawal <hemant.agrawal@nxp.com>
> Cc: Jerin Jacob <jerin.jacob@caviumnetworks.com>
> 
> Signed-off-by: Olivier Matz <olivier.matz@6wind.com>

Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] [PATCH] eal: deprecate function to set default mbuf pool
  2018-05-24  9:59 ` Jerin Jacob
@ 2018-05-24 10:08   ` Hemant Agrawal
  2018-05-28  0:31     ` Thomas Monjalon
  0 siblings, 1 reply; 4+ messages in thread
From: Hemant Agrawal @ 2018-05-24 10:08 UTC (permalink / raw)
  To: Jerin Jacob, Olivier Matz; +Cc: dev

> Deprecate rte_eal_mbuf_default_mempool_ops(), it shall be replaced by 
> rte_mbuf_best_mempool_ops().
> 
> Cc: Hemant Agrawal <hemant.agrawal@nxp.com>
> Cc: Jerin Jacob <jerin.jacob@caviumnetworks.com>
> 
> Signed-off-by: Olivier Matz <olivier.matz@6wind.com>

Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] [PATCH] eal: deprecate function to set default mbuf pool
  2018-05-24 10:08   ` Hemant Agrawal
@ 2018-05-28  0:31     ` Thomas Monjalon
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Monjalon @ 2018-05-28  0:31 UTC (permalink / raw)
  To: Olivier Matz; +Cc: dev, Hemant Agrawal, Jerin Jacob

24/05/2018 12:08, Hemant Agrawal:
> > Deprecate rte_eal_mbuf_default_mempool_ops(), it shall be replaced by 
> > rte_mbuf_best_mempool_ops().
> > 
> > Cc: Hemant Agrawal <hemant.agrawal@nxp.com>
> > Cc: Jerin Jacob <jerin.jacob@caviumnetworks.com>
> > 
> > Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
> 
> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>

Acked-by: Thomas Monjalon <thomas@monjalon.net>

Applied, thanks

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-05-28  0:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-24  9:44 [dpdk-dev] [PATCH] eal: deprecate function to set default mbuf pool Olivier Matz
2018-05-24  9:59 ` Jerin Jacob
2018-05-24 10:08   ` Hemant Agrawal
2018-05-28  0:31     ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).