misc: replace CLIB_PREFETCH with clib_prefetch_{load,store}
[vpp.git] / src / vnet / l2 / l2_input_node.c
index 59a437e..3638a8a 100644 (file)
@@ -258,10 +258,10 @@ l2input_node_inline (vlib_main_t * vm,
            vlib_prefetch_buffer_header (b[6], LOAD);
            vlib_prefetch_buffer_header (b[7], LOAD);
 
-           CLIB_PREFETCH (b[4]->data, CLIB_CACHE_LINE_BYTES, STORE);
-           CLIB_PREFETCH (b[5]->data, CLIB_CACHE_LINE_BYTES, STORE);
-           CLIB_PREFETCH (b[6]->data, CLIB_CACHE_LINE_BYTES, STORE);
-           CLIB_PREFETCH (b[7]->data, CLIB_CACHE_LINE_BYTES, STORE);
+           clib_prefetch_store (b[4]->data);
+           clib_prefetch_store (b[5]->data);
+           clib_prefetch_store (b[6]->data);
+           clib_prefetch_store (b[7]->data);
          }
 
          classify_and_dispatch (msm, b[0], &next[0]);