git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
app: use common macro RTE_DIM
[dpdk.git]
/
app
/
test
/
test_ring_perf.c
diff --git
a/app/test/test_ring_perf.c
b/app/test/test_ring_perf.c
index
ce23ee7
..
ee21faf
100644
(file)
--- a/
app/test/test_ring_perf.c
+++ b/
app/test/test_ring_perf.c
@@
-293,7
+293,7
@@
run_on_core_pair(struct lcore_pair *cores, struct rte_ring *r, const int esize)
f2 = dequeue_bulk_16B;
}
- for (i = 0; i <
sizeof(bulk_sizes)/sizeof(bulk_sizes[0]
); i++) {
+ for (i = 0; i <
RTE_DIM(bulk_sizes
); i++) {
lcore_count = 0;
param1.size = param2.size = bulk_sizes[i];
param1.r = param2.r = r;