aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Mazur <mkm@semihalf.com>2017-12-05 15:18:08 +0100
committerMichal Mazur <mkm@semihalf.com>2017-12-05 15:39:36 +0100
commit3abc809cc18272b13a0183fb17fabd29579954ac (patch)
tree945a3ad82abf80f49b2e67fd2a0f7bb0eb9cd786
parent6bcc95a65970918d551ab950045725ad7835c307 (diff)
vlib: Add pointer to driver data to vlib_buffer_t
Change-Id: I97617d84eb5ba6403bc2d8f87d8c76a086413094 Signed-off-by: Michal Mazur <mkm@semihalf.com>
-rw-r--r--src/vlib/buffer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vlib/buffer.h b/src/vlib/buffer.h
index 18e2437d..c52dfbc3 100644
--- a/src/vlib/buffer.h
+++ b/src/vlib/buffer.h
@@ -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);