[dpdk-dev] [PATCH v2] Adding the routines rte_pktmbuf_alloc_bulk() and rte_pktmbuf_free_bulk()

2014-10-07 Thread Richardson, Bruce
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Keith Wiles > Sent: Monday, October 06, 2014 9:26 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2] Adding the routines rte_pktmbuf_alloc_bulk() > and rte_pktmbuf_free_bulk() > &g

[dpdk-dev] [PATCH v2] Adding the routines rte_pktmbuf_alloc_bulk() and rte_pktmbuf_free_bulk()

2014-10-06 Thread Keith Wiles
Minor helper routines to mirror the mempool routines and remove the code from applications. The ixgbe_rxtx_vec.c routine could be changed to use the ret_pktmbuf_alloc_bulk() routine inplace of rte_mempool_get_bulk(). Combined __rte_mbuf_raw_alloc_bulk into the rte_pktmbuf_alloc_bulk function.