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
/
nat
/
nat44-ei
/
nat44_ei_out2in.c
diff --git
a/src/plugins/nat/nat44-ei/nat44_ei_out2in.c
b/src/plugins/nat/nat44-ei/nat44_ei_out2in.c
index
1f04ba0
..
7796b11
100644
(file)
--- a/
src/plugins/nat/nat44-ei/nat44_ei_out2in.c
+++ b/
src/plugins/nat/nat44-ei/nat44_ei_out2in.c
@@
-758,8
+758,8
@@
VLIB_NODE_FN (nat44_ei_out2in_node)
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, LOAD
);
-
CLIB_PREFETCH (p3->data, CLIB_CACHE_LINE_BYTES, LOAD
);
+
clib_prefetch_load (p2->data
);
+
clib_prefetch_load (p3->data
);
}
vnet_buffer (b0)->snat.flags = 0;
}
vnet_buffer (b0)->snat.flags = 0;