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.h
diff --git
a/src/vnet/dpo/load_balance.h
b/src/vnet/dpo/load_balance.h
index
d37f07d
..
dd9589f
100644
(file)
--- a/
src/vnet/dpo/load_balance.h
+++ b/
src/vnet/dpo/load_balance.h
@@
-82,6
+82,12
@@
typedef struct load_balance_path_t_ {
* - per-route counters
*/
typedef struct load_balance_t_ {
* - per-route counters
*/
typedef struct load_balance_t_ {
+ /**
+ * required for pool_get_aligned.
+ * memebers used in the switch path come first!
+ */
+ CLIB_CACHE_LINE_ALIGN_MARK(cacheline0);
+
/**
* number of buckets in the load-balance. always a power of 2.
*/
/**
* number of buckets in the load-balance. always a power of 2.
*/