summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vnet/l2/l2_input_node.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vnet/l2/l2_input_node.c b/src/vnet/l2/l2_input_node.c
index 74625b2ec99..f8dfa3641b3 100644
--- a/src/vnet/l2/l2_input_node.c
+++ b/src/vnet/l2/l2_input_node.c
@@ -252,10 +252,10 @@ l2input_node_inline (vlib_main_t * vm,
/* Prefetch next iteration. */
{
/* Prefetch the buffer header and packet for the N+2 loop iteration */
- vlib_prefetch_buffer_header (b[4], LOAD);
- vlib_prefetch_buffer_header (b[5], LOAD);
- vlib_prefetch_buffer_header (b[6], LOAD);
- vlib_prefetch_buffer_header (b[7], LOAD);
+ clib_prefetch_store (b + 4);
+ clib_prefetch_store (b + 5);
+ clib_prefetch_store (b + 6);
+ clib_prefetch_store (b + 7);
clib_prefetch_store (b[4]->data);
clib_prefetch_store (b[5]->data);