mbuf: use pktmbuf helper to create the pool
authorHemant Agrawal <hemant.agrawal@nxp.com>
Tue, 14 Mar 2017 09:14:40 +0000 (10:14 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 15 Mar 2017 12:48:02 +0000 (13:48 +0100)
commit5a11168d9bf3d687950e84a9ddc8e13a77a2ef2a
treead4b9cd3801a265a97435b3b8dff15091c20d556
parent31123211bd27d5938c1467dddb786512be1d3e75
mbuf: use pktmbuf helper to create the pool

When possible, replace the uses of rte_mempool_create() with
the helper provided in librte_mbuf: rte_pktmbuf_pool_create().

This is the preferred way to create a mbuf pool.

This also updates the documentation.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
12 files changed:
doc/guides/sample_app_ug/ipv4_multicast.rst
doc/guides/sample_app_ug/l2_forward_job_stats.rst
doc/guides/sample_app_ug/l2_forward_real_virtual.rst
doc/guides/sample_app_ug/ptpclient.rst
doc/guides/sample_app_ug/quota_watermark.rst
drivers/net/bonding/rte_eth_bond_8023ad.c
examples/ip_pipeline/init.c
examples/multi_process/l2fwd_fork/main.c
examples/tep_termination/main.c
lib/librte_mbuf/rte_mbuf.c
lib/librte_mbuf/rte_mbuf.h
test/test/test_link_bonding_rssconf.c