[dpdk-dev] [PATCH] mbuf: use pktmbuf helper to create the pool

Olivier Matz olivier.matz at 6wind.com
Tue Jan 31 11:32:04 CET 2017


Hi Santosh,

On Tue, 17 Jan 2017 19:01:23 +0530, Santosh Shukla
<santosh.shukla at caviumnetworks.com> wrote:
> Hi Hemant,
> 
> On Wed, Jan 18, 2017 at 12:12:56AM +0530, Hemant Agrawal wrote:
> > 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 at 6wind.com>
> > Signed-off-by: Hemant Agrawal <hemant.agrawal at nxp.com>
> > ---
> > This patch is derived from the RFC from Olivier:
> > http://dpdk.org/dev/patchwork/patch/15925/  
> 
> rte_mempool_create to _empty/populate OR rte_pktmbuf_pool_create
> changes missing for mempool testcases. do you have plan to take them
> up Or shall I post the patches? 

Not sure we should add something in test_mempool.c, since we are
converting to a mbuf api. As far as I can see,
rte_pktmbuf_pool_create() is already tested in test_mbuf.c.


Regards,
Olivier


More information about the dev mailing list