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
/
udp
/
udp.h
diff --git
a/src/vnet/udp/udp.h
b/src/vnet/udp/udp.h
index
8e3ab9e
..
c60dea0
100644
(file)
--- a/
src/vnet/udp/udp.h
+++ b/
src/vnet/udp/udp.h
@@
-36,6
+36,8
@@
typedef enum
typedef struct
{
+ /** Required for pool_get_aligned */
+ CLIB_CACHE_LINE_ALIGN_MARK (cacheline0);
transport_connection_t connection; /**< must be first */
clib_spinlock_t rx_lock; /**< rx fifo lock */
u8 is_connected; /**< connected mode */