summaryrefslogtreecommitdiffstats
path: root/src/vnet/dpo/load_balance_map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/dpo/load_balance_map.h')
-rw-r--r--src/vnet/dpo/load_balance_map.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vnet/dpo/load_balance_map.h b/src/vnet/dpo/load_balance_map.h
index f9344c01c1e..82dd36b41b1 100644
--- a/src/vnet/dpo/load_balance_map.h
+++ b/src/vnet/dpo/load_balance_map.h
@@ -29,6 +29,12 @@ struct load_balance_map_path_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.
*/