dpdk: fix compilation for DPDK < 21.11
[vpp.git] / src / plugins / ct6 / ct6_in2out.c
index ed7d590..b8bda18 100644 (file)
@@ -16,7 +16,6 @@
  */
 #include <vlib/vlib.h>
 #include <vnet/vnet.h>
-#include <vnet/pg/pg.h>
 #include <vppinfra/error.h>
 #include <ct6/ct6.h>
 
@@ -166,10 +165,10 @@ ct6_in2out_inline (vlib_main_t * vm,
          vlib_prefetch_buffer_header (b[5], STORE);
          vlib_prefetch_buffer_header (b[6], STORE);
          vlib_prefetch_buffer_header (b[7], STORE);
-         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);
        }
 
       /* $$$$ process 4x pkts right here */