git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
69238e3
)
app/test: fix ring size
author
Jerin Jacob
<jerin.jacob@caviumnetworks.com>
Mon, 18 Jul 2016 05:55:54 +0000
(11:25 +0530)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Thu, 21 Jul 2016 21:49:46 +0000
(23:49 +0200)
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 <jerin.jacob@caviumnetworks.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
No differences found