examples/ip_reassembly: use pktmbuf to create mempool
authorAshish Jain <ashish.jain@nxp.com>
Thu, 12 Oct 2017 13:25:17 +0000 (18:55 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 13 Oct 2017 23:03:20 +0000 (01:03 +0200)
commitb325a66a4625ffa682d78d61a339e7df08eddcd8
treee8f53346d6fdf4ff37ac7f77ee383ae072bd8bf5
parent2193b7467f7ae10c205f51c3b494cba776b3b6d1
examples/ip_reassembly: use pktmbuf to create mempool

Use 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 else
it may not work on implementation using the HW buffer pool

Signed-off-by: Ashish Jain <ashish.jain@nxp.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
examples/ip_reassembly/main.c