Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
nat: optimize prefetching
[vpp.git]
/
src
/
plugins
/
nat
/
out2in.c
diff --git
a/src/plugins/nat/out2in.c
b/src/plugins/nat/out2in.c
index
faf5d73
..
57e658b
100644
(file)
--- a/
src/plugins/nat/out2in.c
+++ b/
src/plugins/nat/out2in.c
@@
-780,8
+780,8
@@
VLIB_NODE_FN (snat_out2in_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 (p2->data, CLIB_CACHE_LINE_BYTES,
LOAD
);
+ CLIB_PREFETCH (p3->data, CLIB_CACHE_LINE_BYTES,
LOAD
);
}
/* speculatively enqueue b0 and b1 to the current next frame */
}
/* speculatively enqueue b0 and b1 to the current next frame */