Harmonize vec/pool_get_aligned object sizes and alignment requests
[vpp.git] / src / vnet / dpo / mpls_label_dpo.h
index 98c88f7..4e032d3 100644 (file)
@@ -66,6 +66,12 @@ extern u8* format_mpls_label_dpo_flags(u8 *s, va_list *args);
  */
 typedef struct mpls_label_dpo_t
 {
+    /**
+     * required for pool_get_aligned.
+     *  memebers used in the switch path come first!
+     */
+    CLIB_CACHE_LINE_ALIGN_MARK(cacheline0);
+
     /**
      * The MPLS label header to impose. Outer most label first.
      * Each DPO will occupy one cache line, stuff that many labels in.