Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Harmonize vec/pool_get_aligned object sizes and alignment requests
[vpp.git]
/
src
/
vnet
/
vxlan
/
vxlan.h
diff --git
a/src/vnet/vxlan/vxlan.h
b/src/vnet/vxlan/vxlan.h
index
e8bb272
..
3c74bfd
100644
(file)
--- 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 {
}) vxlan6_tunnel_key_t;
typedef struct {
- /* Re
write string. $$$$ embed vnet_rewrite header
*/
-
u8 * rewrite
;
+ /* Re
quired for pool_get_aligned
*/
+
CLIB_CACHE_LINE_ALIGN_MARK(cacheline0)
;
/* FIB DPO for IP forwarding of VXLAN encap packet */
dpo_id_t next_dpo;
/* 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 */
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 \
} vxlan_tunnel_t;
#define foreach_vxlan_input_next \