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
/
lookup_dpo.h
diff --git
a/src/vnet/dpo/lookup_dpo.h
b/src/vnet/dpo/lookup_dpo.h
index
4ebd605
..
21aecad
100644
(file)
--- a/
src/vnet/dpo/lookup_dpo.h
+++ b/
src/vnet/dpo/lookup_dpo.h
@@
-64,6
+64,12
@@
typedef enum lookup_cast_t_ {
*/
typedef struct lookup_dpo_t
{
*/
typedef struct lookup_dpo_t
{
+ /**
+ * required for pool_get_aligned.
+ * memebers used in the switch path come first!
+ */
+ CLIB_CACHE_LINE_ALIGN_MARK(cacheline0);
+
/**
* The FIB, or interface from which to get a FIB, in which to perform
* the next lookup;
/**
* The FIB, or interface from which to get a FIB, in which to perform
* the next lookup;