l2: fix prefetch
[vpp.git] / src / vnet / l2 / l2_input_node.c
index f8dfa36..07e8c74 100644 (file)
@@ -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);