Harmonize vec/pool_get_aligned object sizes and alignment requests
[vpp.git] / src / vnet / dpo / replicate_dpo.h
index ccb2563..7b07539 100644 (file)
@@ -52,6 +52,12 @@ extern replicate_main_t replicate_main;
  *  - per-route counters
  */
 typedef struct replicate_t_ {
+    /**
+     * required for pool_get_aligned.
+     *  memebers used in the switch path come first!
+     */
+    CLIB_CACHE_LINE_ALIGN_MARK(cacheline0);
+
     /**
      * number of buckets in the replicate.
      */