X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fdpo%2Fload_balance_map.h;h=82dd36b41b1c6df6087ed2232cb699a2a00d0035;hb=eb987d3a09f669787014b1553f032219522149e1;hp=237f24b0138f06aec73a5b25764c72b3037ad083;hpb=f12a83f54ff2239d70494d577af3e1bb253692e1;p=vpp.git diff --git a/src/vnet/dpo/load_balance_map.h b/src/vnet/dpo/load_balance_map.h index 237f24b0138..82dd36b41b1 100644 --- a/src/vnet/dpo/load_balance_map.h +++ b/src/vnet/dpo/load_balance_map.h @@ -28,6 +28,12 @@ struct load_balance_map_path_t_; /** */ typedef struct load_balance_map_t_ { + /** + * required for pool_get_aligned. + * memebers used in the switch path come first! + */ + CLIB_CACHE_LINE_ALIGN_MARK(cacheline0); + /** * The buckets of the map that provide the index to index translation. * In the first cacheline. @@ -59,7 +65,7 @@ extern void load_balance_map_unlock(index_t lbmi); extern void load_balance_map_path_state_change(fib_node_index_t path_index); -extern u8* format_load_balance_map(u8 *s, va_list ap); +extern u8* format_load_balance_map(u8 *s, va_list *ap); extern void load_balance_map_show_mem(void); /**