[ovs-dev] [PATCH] meta-flow: Correct comments on MFF_XREG*.

Ben Pfaff blp at nicira.com
Thu Aug 14 18:47:47 UTC 2014


These are 64-bit, not 32-bit, registers.

Signed-off-by: Ben Pfaff <blp at nicira.com>
---
 lib/meta-flow.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/meta-flow.h b/lib/meta-flow.h
index 0af3888..c11f7ab 100644
--- a/lib/meta-flow.h
+++ b/lib/meta-flow.h
@@ -61,10 +61,10 @@ enum OVS_PACKED_ENUM mf_field_id {
 #endif
 
 #if FLOW_N_XREGS == 4
-    MFF_XREG0,                  /* be32 */
-    MFF_XREG1,                  /* be32 */
-    MFF_XREG2,                  /* be32 */
-    MFF_XREG3,                  /* be32 */
+    MFF_XREG0,                  /* be64 */
+    MFF_XREG1,                  /* be64 */
+    MFF_XREG2,                  /* be64 */
+    MFF_XREG3,                  /* be64 */
 #else
 #error "Need to update MFF_REG* to match FLOW_N_XREGS"
 #endif
-- 
1.9.1




More information about the dev mailing list