Code Review
/
deb_dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
New upstream version 16.11.7
[deb_dpdk.git]
/
app
/
test
/
test_distributor_perf.c
diff --git
a/app/test/test_distributor_perf.c
b/app/test/test_distributor_perf.c
index
7947fe9
..
cc62196
100644
(file)
--- a/
app/test/test_distributor_perf.c
+++ b/
app/test/test_distributor_perf.c
@@
-57,7
+57,7
@@
struct worker_stats worker_stats[RTE_MAX_LCORE];
/* worker thread used for testing the time to do a round-trip of a cache
* line between two cores and back again
*/
/* worker thread used for testing the time to do a round-trip of a cache
* line between two cores and back again
*/
-static
void
+static
int
flip_bit(volatile uint64_t *arg)
{
uint64_t old_val = 0;
flip_bit(volatile uint64_t *arg)
{
uint64_t old_val = 0;
@@
-67,6
+67,7
@@
flip_bit(volatile uint64_t *arg)
old_val = *arg;
*arg = 0;
}
old_val = *arg;
*arg = 0;
}
+ return 0;
}
/* test case to time the number of cycles to round-trip a cache line between
}
/* test case to time the number of cycles to round-trip a cache line between