projects
/
cascardo
/
ovs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1a0e3e5
)
lib/flow.h Revert bitfield back to uint64_t.
author
Jarno Rajahalme
<jrajahalme@nicira.com>
Wed, 27 Aug 2014 15:21:45 +0000
(08:21 -0700)
committer
Jarno Rajahalme
<jrajahalme@nicira.com>
Wed, 27 Aug 2014 15:21:45 +0000
(08:21 -0700)
Using different types for the two bitfields did not work on MSVC, so
reverting back to "64-bit bool" :-)
Reported-by: Saurabh Shah <ssaurabh@vmware.com>
Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
lib/flow.h
patch
|
blob
|
history
diff --git
a/lib/flow.h
b/lib/flow.h
index
2891d60
..
9c59037
100644
(file)
--- a/
lib/flow.h
+++ b/
lib/flow.h
@@
-383,7
+383,7
@@
BUILD_ASSERT_DECL(FLOW_U32S <= 63);
*/
struct miniflow {
uint64_t map:63;
- uint
8
_t values_inline:1;
+ uint
64
_t values_inline:1;
union {
uint32_t *offline_values;
uint32_t inline_values[MINI_N_INLINE]; /* Minimum inline size. */