aarch64 compatibility
[vpp.git] / vlib / vlib / buffer.h
index 314ed19..5f1e62f 100644 (file)
@@ -56,7 +56,7 @@
 #define VLIB_BUFFER_PRE_DATA_SIZE      __PRE_DATA_SIZE
 #endif
 
-#ifdef CLIB_HAVE_VEC128
+#if defined (CLIB_HAVE_VEC128) || defined (__aarch64__)
 typedef u8x16 vlib_copy_unit_t;
 #else
 typedef u64 vlib_copy_unit_t;
@@ -125,10 +125,14 @@ typedef struct
                                visit enabled feature nodes
                             */
 
-  u32 dont_waste_me; /**< Available space in the (precious)
-                        first 32 octets of buffer metadata
-                        Before allocating any of it, discussion required!
-                     */
+  u8 feature_arc_index;        /**< Used to identify feature arcs by intermediate
+                           feature node
+                        */
+
+  u8 dont_waste_me[3]; /**< Available space in the (precious)
+                          first 32 octets of buffer metadata
+                          Before allocating any of it, discussion required!
+                       */
 
   u32 opaque[8]; /**< Opaque data used by sub-graphs for their own purposes.
                     See .../vnet/vnet/buffer.h