Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
misc: replace CLIB_PREFETCH with clib_prefetch_{load,store}
[vpp.git]
/
src
/
vlib
/
counter.h
diff --git
a/src/vlib/counter.h
b/src/vlib/counter.h
index
01aefd8
..
9f56542
100644
(file)
--- a/
src/vlib/counter.h
+++ b/
src/vlib/counter.h
@@
-254,7
+254,7
@@
vlib_prefetch_combined_counter (const vlib_combined_counter_main_t * cm,
* This CPU's index is assumed to already be in cache
*/
cpu_counters = cm->counters[thread_index];
-
CLIB_PREFETCH (cpu_counters + index, CLIB_CACHE_LINE_BYTES, STORE
);
+
clib_prefetch_store (cpu_counters + index
);
}