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
/
classify_dpo.h
diff --git
a/src/vnet/dpo/classify_dpo.h
b/src/vnet/dpo/classify_dpo.h
index
48f4b2b
..
439727d
100644
(file)
--- a/
src/vnet/dpo/classify_dpo.h
+++ b/
src/vnet/dpo/classify_dpo.h
@@
-25,6
+25,11
@@
*/
typedef struct classify_dpo_t
{
*/
typedef struct classify_dpo_t
{
+ /**
+ * required for pool_get_aligned.
+ */
+ CLIB_CACHE_LINE_ALIGN_MARK(cacheline0);
+
dpo_proto_t cd_proto;
u32 cd_table_index;
dpo_proto_t cd_proto;
u32 cd_table_index;