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
/
lawful-intercept
/
node.c
diff --git
a/src/vnet/lawful-intercept/node.c
b/src/vnet/lawful-intercept/node.c
index
03b507a
..
c5328e6
100644
(file)
--- a/
src/vnet/lawful-intercept/node.c
+++ b/
src/vnet/lawful-intercept/node.c
@@
-119,8
+119,8
@@
VLIB_NODE_FN (li_hit_node) (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 */