Thread (10 messages) 10 messages, 4 authors, 2017-03-15

Re: [PATCH] mbuf: use pktmbuf helper to create the pool

From: Olivier Matz <hidden>
Date: 2017-01-31 10:32:07

Hi Santosh,

On Tue, 17 Jan 2017 19:01:23 +0530, Santosh Shukla
[off-list ref] wrote:
Hi Hemant,

On Wed, Jan 18, 2017 at 12:12:56AM +0530, Hemant Agrawal wrote:
quoted
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.  
quoted
Signed-off-by: Olivier Matz <redacted>
Signed-off-by: Hemant Agrawal <redacted>
---
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help