[dpdk-dev] [PATCH] app/test: fix refcnt_mbuf_ring size

2016-07-22 Thread Thomas Monjalon
> > rte_ring_create expects the size of the ring to > > be a power of 2. REFCNT_RING_SIZE value is not > > power of 2 in-case if RTE_MAX_LCORE == 96. > > Fix it by aligning the size to next power of 2 value. > > > > Fixes: af75078f ("first public release") > > > > Signed-off-by: Jerin Jacob >

[dpdk-dev] [PATCH] app/test: fix refcnt_mbuf_ring size

2016-07-21 Thread Olivier Matz
Hi Jerin, On 07/18/2016 07:55 AM, Jerin Jacob wrote: > rte_ring_create expects the size of the ring to > be a power of 2. REFCNT_RING_SIZE value is not > power of 2 in-case if RTE_MAX_LCORE == 96. > Fix it by aligning the size to next power of 2 value. > > Fixes: af75078f ("first public

[dpdk-dev] [PATCH] app/test: fix refcnt_mbuf_ring size

2016-07-18 Thread Jerin Jacob
rte_ring_create expects the size of the ring to be a power of 2. REFCNT_RING_SIZE value is not power of 2 in-case if RTE_MAX_LCORE == 96. Fix it by aligning the size to next power of 2 value. Fixes: af75078f ("first public release") Signed-off-by: Jerin Jacob --- app/test/test_mbuf.c | 2 +- 1