vlib: Add pointer to driver data to vlib_buffer_t 31/9731/1
authorMichal Mazur <[email protected]>
Tue, 5 Dec 2017 14:18:08 +0000 (15:18 +0100)
committerMichal Mazur <[email protected]>
Tue, 5 Dec 2017 14:39:36 +0000 (15:39 +0100)
Change-Id: I97617d84eb5ba6403bc2d8f87d8c76a086413094
Signed-off-by: Michal Mazur <[email protected]>
src/vlib/buffer.h

index 18e2437..c52dfbc 100644 (file)
@@ -137,7 +137,8 @@ typedef struct
                       if VLIB_PACKET_IS_TRACED flag is set.
                    */
   u32 recycle_count; /**< Used by L2 path recycle code */
-  u32 opaque2[14];  /**< More opaque data, currently unused */
+  void *l2_priv_data; /**< L2 node private data pointer */
+  u32 opaque2[12]; /**< More opaque data, currently unused */
 
   /***** end of second cache line */
     CLIB_CACHE_LINE_ALIGN_MARK (cacheline2);