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
/
receive_dpo.h
diff --git
a/src/vnet/dpo/receive_dpo.h
b/src/vnet/dpo/receive_dpo.h
index
2420fd7
..
9ab86a8
100644
(file)
--- a/
src/vnet/dpo/receive_dpo.h
+++ b/
src/vnet/dpo/receive_dpo.h
@@
-25,6
+25,12
@@
typedef struct receive_dpo_t_
{
+ /**
+ * required for pool_get_aligned.
+ * memebers used in the switch path come first!
+ */
+ CLIB_CACHE_LINE_ALIGN_MARK(cacheline0);
+
/**
* The Software interface index on which traffic is received
*/