[dpdk-dev] doc: Fix incorrect mempool ops register macro name

Message ID 1468841580-17108-1-git-send-email-shreyansh.jain@nxp.com (mailing list archive)
State Accepted, archived
Headers

Commit Message

Shreyansh Jain July 18, 2016, 11:33 a.m. UTC
  Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
---
 doc/guides/prog_guide/mempool_lib.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

John McNamara July 18, 2016, 12:05 p.m. UTC | #1
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Shreyansh Jain
> Sent: Monday, July 18, 2016 12:33 PM
> To: olivier.matz@6wind.com
> Cc: Hunt, David <david.hunt@intel.com>; dev@dpdk.org
> Subject: [dpdk-dev] [PATCH] doc: Fix incorrect mempool ops register macro
> name
> 
> Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>

Acked-by: John McNamara <john.mcnamara@intel.com>
  
Thomas Monjalon July 22, 2016, 4:04 p.m. UTC | #2
> > Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
> 
> Acked-by: John McNamara <john.mcnamara@intel.com>

Applied, thanks
  

Patch

diff --git a/doc/guides/prog_guide/mempool_lib.rst b/doc/guides/prog_guide/mempool_lib.rst
index 5946675..ffdc109 100644
--- a/doc/guides/prog_guide/mempool_lib.rst
+++ b/doc/guides/prog_guide/mempool_lib.rst
@@ -141,7 +141,7 @@  management systems and software based memory allocators, to be used with DPDK.
 There are two aspects to a mempool handler.
 
 * Adding the code for your new mempool operations (ops). This is achieved by
-  adding a new mempool ops code, and using the ``REGISTER_MEMPOOL_OPS`` macro.
+  adding a new mempool ops code, and using the ``MEMPOOL_REGISTER_OPS`` macro.
 
 * Using the new API to call ``rte_mempool_create_empty()`` and
   ``rte_mempool_set_ops_byname()`` to create a new mempool and specifying which