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
/
plugins
/
flowprobe
/
node.c
diff --git
a/src/plugins/flowprobe/node.c
b/src/plugins/flowprobe/node.c
index
ab3640c
..
e7a39a7
100644
(file)
--- a/
src/plugins/flowprobe/node.c
+++ b/
src/plugins/flowprobe/node.c
@@
-755,8
+755,8
@@
flowprobe_node_fn (vlib_main_t * vm,
vlib_prefetch_buffer_header (p2, LOAD);
vlib_prefetch_buffer_header (p3, LOAD);
vlib_prefetch_buffer_header (p2, LOAD);
vlib_prefetch_buffer_header (p3, LOAD);
-
CLIB_PREFETCH (p2->data, CLIB_CACHE_LINE_BYTES, STORE
);
-
CLIB_PREFETCH (p3->data, CLIB_CACHE_LINE_BYTES, STORE
);
+
clib_prefetch_store (p2->data
);
+
clib_prefetch_store (p3->data
);
}
/* speculatively enqueue b0 and b1 to the current next frame */
}
/* speculatively enqueue b0 and b1 to the current next frame */