X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Fgtpu%2Fgtpu.h;h=6331aa31890f93568a612b7d6794d662bd7ae641;hb=eb987d3a09f669787014b1553f032219522149e1;hp=744d21d426621ae8039d9b197ee9e1e2a8d38b60;hpb=ccd4a6588c6f486f7616286b054a5ac123f5c502;p=vpp.git diff --git a/src/plugins/gtpu/gtpu.h b/src/plugins/gtpu/gtpu.h index 744d21d4266..6331aa31890 100644 --- a/src/plugins/gtpu/gtpu.h +++ b/src/plugins/gtpu/gtpu.h @@ -123,6 +123,9 @@ typedef CLIB_PACKED typedef struct { + /* Required for pool_get_aligned */ + CLIB_CACHE_LINE_ALIGN_MARK (cacheline0); + /* Rewrite string */ u8 *rewrite; @@ -228,7 +231,7 @@ typedef struct 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;