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
/
ethernet
/
node.c
diff --git
a/src/vnet/ethernet/node.c
b/src/vnet/ethernet/node.c
index
f470c1c
..
cc0a0c3
100644
(file)
--- a/
src/vnet/ethernet/node.c
+++ b/
src/vnet/ethernet/node.c
@@
-1505,7
+1505,7
@@
ethernet_input_inline (vlib_main_t * vm,
if (n_left_from > 1)
{
vlib_prefetch_buffer_header (b[1], STORE);
-
CLIB_PREFETCH (b[1]->data, CLIB_CACHE_LINE_BYTES, LOAD
);
+
clib_prefetch_load (b[1]->data
);
}
bi0 = from[0];