Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix builtin tcp client
[vpp.git]
/
src
/
vlib
/
node.h
diff --git
a/src/vlib/node.h
b/src/vlib/node.h
index
fc7e7da
..
906d795
100644
(file)
--- a/
src/vlib/node.h
+++ b/
src/vlib/node.h
@@
-344,8
+344,8
@@
typedef struct vlib_frame_t
/* Number of vector elements currently in frame. */
u16 n_vectors;
/* Number of vector elements currently in frame. */
u16 n_vectors;
- /* Owner
cpui
d / heap id */
- u16
cpu
_index;
+ /* Owner
threa
d / heap id */
+ u16
thread
_index;
/* Scalar and vector arguments to next node. */
u8 arguments[0];
/* Scalar and vector arguments to next node. */
u8 arguments[0];
@@
-418,6
+418,10
@@
typedef struct vlib_node_runtime_t
vlib_error_t *errors; /**< Vector of errors for this node. */
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
u32 clocks_since_last_overflow; /**< Number of clock cycles. */
u32 max_clock; /**< Maximum clock cycle for an
@@
-459,7
+463,7
@@
typedef struct vlib_node_runtime_t
zero before first run of this
node. */
zero before first run of this
node. */
- u16
cpu_index; /**< CPU
this node runs on */
+ u16
thread_index; /**< thread
this node runs on */
u8 runtime_data[0]; /**< Function dependent
node-runtime data. This data is
u8 runtime_data[0]; /**< Function dependent
node-runtime data. This data is