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
/
plugins
/
gtpu
/
gtpu.h
diff --git
a/src/plugins/gtpu/gtpu.h
b/src/plugins/gtpu/gtpu.h
index
744d21d
..
6331aa3
100644
(file)
--- a/
src/plugins/gtpu/gtpu.h
+++ b/
src/plugins/gtpu/gtpu.h
@@
-123,6
+123,9
@@
typedef CLIB_PACKED
typedef struct
{
typedef struct
{
+ /* Required for pool_get_aligned */
+ CLIB_CACHE_LINE_ALIGN_MARK (cacheline0);
+
/* Rewrite string */
u8 *rewrite;
/* Rewrite string */
u8 *rewrite;
@@
-228,7
+231,7
@@
typedef struct
vnet_main_t *vnet_main;
} gtpu_main_t;
vnet_main_t *vnet_main;
} gtpu_main_t;
-gtpu_main_t gtpu_main;
+
extern
gtpu_main_t gtpu_main;
extern vlib_node_registration_t gtpu4_input_node;
extern vlib_node_registration_t gtpu6_input_node;
extern vlib_node_registration_t gtpu4_input_node;
extern vlib_node_registration_t gtpu6_input_node;