X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fdpo%2Fload_balance.h;h=dd9589f9ee881723254604244b6f8ea8a3e905e8;hb=eb987d3a09f669787014b1553f032219522149e1;hp=d37f07d579f829cec8f21d528b9743f221d9dd8d;hpb=432bf677c6decadd05e3edfe54c02b1d01b2c64e;p=vpp.git diff --git a/src/vnet/dpo/load_balance.h b/src/vnet/dpo/load_balance.h index d37f07d579f..dd9589f9ee8 100644 --- a/src/vnet/dpo/load_balance.h +++ b/src/vnet/dpo/load_balance.h @@ -82,6 +82,12 @@ typedef struct load_balance_path_t_ { * - per-route counters */ typedef struct load_balance_t_ { + /** + * required for pool_get_aligned. + * memebers used in the switch path come first! + */ + CLIB_CACHE_LINE_ALIGN_MARK(cacheline0); + /** * number of buckets in the load-balance. always a power of 2. */