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
/
nat_inlines.h
diff --git
a/src/plugins/nat/nat_inlines.h
b/src/plugins/nat/nat_inlines.h
index
76dd9a7
..
240ff0e
100644
(file)
--- a/
src/plugins/nat/nat_inlines.h
+++ b/
src/plugins/nat/nat_inlines.h
@@
-135,8
+135,8
@@
nat_pre_node_fn_inline (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 */