summaryrefslogtreecommitdiffstats
path: root/src/vnet/l2/l2_input_node.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/l2/l2_input_node.c')
-rw-r--r--src/vnet/l2/l2_input_node.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/vnet/l2/l2_input_node.c b/src/vnet/l2/l2_input_node.c
index f8dfa3641b3..07e8c7473ae 100644
--- a/src/vnet/l2/l2_input_node.c
+++ b/src/vnet/l2/l2_input_node.c
@@ -251,11 +251,11 @@ l2input_node_inline (vlib_main_t * vm,
/* Prefetch next iteration. */
{
- /* Prefetch the buffer header and packet for the N+2 loop iteration */
- clib_prefetch_store (b + 4);
- clib_prefetch_store (b + 5);
- clib_prefetch_store (b + 6);
- clib_prefetch_store (b + 7);
+ /* Prefetch the buffer header for the N+2 loop iteration */
+ 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);