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
/
vnet
/
pipeline.h
diff --git
a/src/vnet/pipeline.h
b/src/vnet/pipeline.h
index
2ac1a9a
..
afb3c38
100644
(file)
--- a/
src/vnet/pipeline.h
+++ b/
src/vnet/pipeline.h
@@
-75,7
+75,7
@@
generic_stage0 (vlib_main_t * vm,
vlib_node_runtime_t * node, vlib_buffer_t * b AUX_DATA_ARG)
{
vlib_prefetch_buffer_header (b, STORE);
vlib_node_runtime_t * node, vlib_buffer_t * b AUX_DATA_ARG)
{
vlib_prefetch_buffer_header (b, STORE);
-
CLIB_PREFETCH (b->data, CLIB_CACHE_LINE_BYTES, STORE
);
+
clib_prefetch_store (b->data
);
}
#if NSTAGES == 2
}
#if NSTAGES == 2