X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fvxlan%2Fvxlan.h;h=3c74bfd4e8e42dd8389e2b7263d6186e2d36dec5;hb=eb987d3a09f669787014b1553f032219522149e1;hp=e8bb272d75939c3ae425df034aafb5cd6263499d;hpb=554075a51f30ea842d3bf558e392d2c16f1acf83;p=vpp.git diff --git a/src/vnet/vxlan/vxlan.h b/src/vnet/vxlan/vxlan.h index e8bb272d759..3c74bfd4e8e 100644 --- a/src/vnet/vxlan/vxlan.h +++ b/src/vnet/vxlan/vxlan.h @@ -66,8 +66,8 @@ typedef CLIB_PACKED(struct { }) vxlan6_tunnel_key_t; typedef struct { - /* Rewrite string. $$$$ embed vnet_rewrite header */ - u8 * rewrite; + /* Required for pool_get_aligned */ + CLIB_CACHE_LINE_ALIGN_MARK(cacheline0); /* FIB DPO for IP forwarding of VXLAN encap packet */ dpo_id_t next_dpo; @@ -114,6 +114,8 @@ typedef struct { u32 dev_instance; /* Real device instance in tunnel vector */ u32 user_instance; /* Instance name being shown to user */ + + vnet_declare_rewrite (VLIB_BUFFER_PRE_DATA_SIZE); } vxlan_tunnel_t; #define foreach_vxlan_input_next \