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
/
vnet
/
dpo
/
mpls_disposition.h
diff --git
a/src/vnet/dpo/mpls_disposition.h
b/src/vnet/dpo/mpls_disposition.h
index
9c3cc46
..
86dd60a
100644
(file)
--- a/
src/vnet/dpo/mpls_disposition.h
+++ b/
src/vnet/dpo/mpls_disposition.h
@@
-26,6
+26,12
@@
*/
typedef struct mpls_disp_dpo_t
{
*/
typedef struct mpls_disp_dpo_t
{
+ /**
+ * required for pool_get_aligned.
+ * memebers used in the switch path come first!
+ */
+ CLIB_CACHE_LINE_ALIGN_MARK(cacheline0);
+
/**
* Next DPO in the graph
*/
/**
* Next DPO in the graph
*/