[dpdk-dev] mbuf pool and ring size...

2015-09-22 Thread Olivier MATZ
Hi Vithal, On 09/22/2015 07:10 AM, Vithal Mohare wrote: > Hi, > > While creating mbuf pool, suppose if mbuf-pool size passed to DPDK API is > already pow-of-2 [ rte_mempool_create()-->rte_mempool_xmem_create()]. Then, > noticed that, corresponding size of the ring created for this pool will b

[dpdk-dev] mbuf pool and ring size...

2015-09-22 Thread Vithal Mohare
Hi, While creating mbuf pool, suppose if mbuf-pool size passed to DPDK API is already pow-of-2 [ rte_mempool_create()-->rte_mempool_xmem_create()]. Then, noticed that, corresponding size of the ring created for this pool will be double the size of mbuf-pool. This is because of below code sni