Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
6ce2232
)
Fix structure alignment with 32-bit pointers
91/6391/2
author
Damjan Marion
<damarion@cisco.com>
Mon, 24 Apr 2017 18:58:29 +0000
(20:58 +0200)
committer
Florin Coras
<florin.coras@gmail.com>
Tue, 25 Apr 2017 00:13:53 +0000
(
00:13
+0000)
Change-Id: I740de6c0f12dab452b4349e3bf89ff976a6268c0
Signed-off-by: Damjan Marion <damarion@cisco.com>
src/vlib/node.h
patch
|
blob
|
history
diff --git
a/src/vlib/node.h
b/src/vlib/node.h
index
1e2f4c3
..
906d795
100644
(file)
--- a/
src/vlib/node.h
+++ b/
src/vlib/node.h
@@
-418,6
+418,10
@@
typedef struct vlib_node_runtime_t
vlib_error_t *errors; /**< Vector of errors for this node. */
+#if __SIZEOF_POINTER__ == 4
+ u8 pad[8];
+#endif
+
u32 clocks_since_last_overflow; /**< Number of clock cycles. */
u32 max_clock; /**< Maximum clock cycle for an