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
/
load_balance_map.h
diff --git
a/src/vnet/dpo/load_balance_map.h
b/src/vnet/dpo/load_balance_map.h
index
f9344c0
..
82dd36b
100644
(file)
--- a/
src/vnet/dpo/load_balance_map.h
+++ b/
src/vnet/dpo/load_balance_map.h
@@
-28,6
+28,12
@@
struct load_balance_map_path_t_;
/**
*/
typedef struct load_balance_map_t_ {
/**
*/
typedef struct load_balance_map_t_ {
+ /**
+ * required for pool_get_aligned.
+ * memebers used in the switch path come first!
+ */
+ CLIB_CACHE_LINE_ALIGN_MARK(cacheline0);
+
/**
* The buckets of the map that provide the index to index translation.
* In the first cacheline.
/**
* The buckets of the map that provide the index to index translation.
* In the first cacheline.