doc: fix macro name in mempool guide

Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
Acked-by: John McNamara <john.mcnamara@intel.com>
This commit is contained in:
Shreyansh Jain 2016-07-18 17:03:00 +05:30 committed by Thomas Monjalon
parent aedbf1e308
commit 885d4c0dcc

View File

@ -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