Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
stats: fix state counter removal
[vpp.git]
/
src
/
vpp
/
stats
/
stat_segment.h
diff --git
a/src/vpp/stats/stat_segment.h
b/src/vpp/stats/stat_segment.h
index
83d2334
..
28e9ca3
100644
(file)
--- a/
src/vpp/stats/stat_segment.h
+++ b/
src/vpp/stats/stat_segment.h
@@
-64,6
+64,8
@@
typedef enum
/* Shared segment memory layout version */
#define STAT_SEGMENT_VERSION 1
/* Shared segment memory layout version */
#define STAT_SEGMENT_VERSION 1
+#define STAT_SEGMENT_INDEX_INVALID UINT32_MAX
+
static inline uint64_t
stat_segment_offset (void *start, void *data)
{
static inline uint64_t
stat_segment_offset (void *start, void *data)
{