X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fdpo%2Fmpls_label_dpo.h;h=4e032d33458931b6760d2712a8b27bc3d4f6518f;hb=eb987d3a09f669787014b1553f032219522149e1;hp=98c88f7d812a4cfd7e425ce4978d2bcd3c3e3da5;hpb=432bf677c6decadd05e3edfe54c02b1d01b2c64e;p=vpp.git diff --git a/src/vnet/dpo/mpls_label_dpo.h b/src/vnet/dpo/mpls_label_dpo.h index 98c88f7d812..4e032d33458 100644 --- a/src/vnet/dpo/mpls_label_dpo.h +++ b/src/vnet/dpo/mpls_label_dpo.h @@ -66,6 +66,12 @@ extern u8* format_mpls_label_dpo_flags(u8 *s, va_list *args); */ typedef struct mpls_label_dpo_t { + /** + * required for pool_get_aligned. + * memebers used in the switch path come first! + */ + CLIB_CACHE_LINE_ALIGN_MARK(cacheline0); + /** * The MPLS label header to impose. Outer most label first. * Each DPO will occupy one cache line, stuff that many labels in.