apps: use helper to create mbuf pools
authorOlivier Matz <olivier.matz@6wind.com>
Wed, 22 Apr 2015 09:57:24 +0000 (11:57 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 28 Apr 2015 09:34:10 +0000 (11:34 +0200)
commitea0c20ea95fd5d71a10757e6598ac66233ea1495
treeba13c27a236d5c2bfa39543331c6f11007f2fed0
parentbbd778248985e542175e9b4ce560f2d379e78c4e
apps: use helper to create mbuf pools

When it's possible, use the new helper to create the mbuf pools.
Most of the patch is trivial, except for the following files that
have some specifics (indirect mbufs):
- ip_fragmentation
- ip_pipeline
- ipv4_multicast
- vhost

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
48 files changed:
app/test-pipeline/init.c
app/test-pmd/testpmd.c
app/test/test_distributor.c
app/test/test_distributor_perf.c
app/test/test_kni.c
app/test/test_link_bonding.c
app/test/test_link_bonding_mode4.c
app/test/test_mbuf.c
app/test/test_pmd_perf.c
app/test/test_pmd_ring.c
app/test/test_reorder.c
app/test/test_sched.c
app/test/test_table.c
app/test/test_table.h
examples/bond/main.c
examples/distributor/main.c
examples/dpdk_qat/main.c
examples/exception_path/main.c
examples/ip_fragmentation/main.c
examples/ip_pipeline/init.c
examples/ipv4_multicast/main.c
examples/kni/main.c
examples/l2fwd-ivshmem/host/host.c
examples/l2fwd-jobstats/main.c
examples/l2fwd/main.c
examples/l3fwd-acl/main.c
examples/l3fwd-power/main.c
examples/l3fwd-vf/main.c
examples/l3fwd/main.c
examples/link_status_interrupt/main.c
examples/load_balancer/init.c
examples/load_balancer/main.h
examples/multi_process/client_server_mp/mp_server/init.c
examples/multi_process/symmetric_mp/main.c
examples/netmap_compat/bridge/bridge.c
examples/packet_ordering/main.c
examples/qos_meter/main.c
examples/qos_sched/init.c
examples/qos_sched/main.h
examples/quota_watermark/include/conf.h
examples/quota_watermark/qw/main.c
examples/rxtx_callbacks/main.c
examples/skeleton/basicfwd.c
examples/vhost/main.c
examples/vhost_xen/main.c
examples/vmdq/main.c
examples/vmdq_dcb/main.c
lib/librte_pmd_bond/rte_eth_bond_alb.c