From 9c59112bd24f633acc6ce899eb28d1f182913dbd Mon Sep 17 00:00:00 2001 From: Joe Stringer Date: Wed, 27 Jun 2012 15:38:39 +1200 Subject: [PATCH] nicira-ext: Fix nx-action documentation Signed-off-by: Joe Stringer Signed-off-by: Ben Pfaff --- include/openflow/nicira-ext.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/openflow/nicira-ext.h b/include/openflow/nicira-ext.h index 72cbb24b..478322a9 100644 --- a/include/openflow/nicira-ext.h +++ b/include/openflow/nicira-ext.h @@ -429,7 +429,7 @@ OFP_ASSERT(sizeof(struct nx_action_set_tunnel) == 16); * Sets the encapsulating tunnel ID to a 64-bit value. */ struct nx_action_set_tunnel64 { ovs_be16 type; /* OFPAT_VENDOR. */ - ovs_be16 len; /* Length is 16. */ + ovs_be16 len; /* Length is 24. */ ovs_be32 vendor; /* NX_VENDOR_ID. */ ovs_be16 subtype; /* NXAST_SET_TUNNEL64. */ uint8_t pad[6]; @@ -543,7 +543,7 @@ OFP_ASSERT(sizeof(struct nx_action_pop_queue) == 16); */ struct nx_action_reg_move { ovs_be16 type; /* OFPAT_VENDOR. */ - ovs_be16 len; /* Length is 16. */ + ovs_be16 len; /* Length is 24. */ ovs_be32 vendor; /* NX_VENDOR_ID. */ ovs_be16 subtype; /* NXAST_REG_MOVE. */ ovs_be16 n_bits; /* Number of bits. */ @@ -582,7 +582,7 @@ OFP_ASSERT(sizeof(struct nx_action_reg_move) == 24); */ struct nx_action_reg_load { ovs_be16 type; /* OFPAT_VENDOR. */ - ovs_be16 len; /* Length is 16. */ + ovs_be16 len; /* Length is 24. */ ovs_be32 vendor; /* NX_VENDOR_ID. */ ovs_be16 subtype; /* NXAST_REG_LOAD. */ ovs_be16 ofs_nbits; /* (ofs << 6) | (n_bits - 1). */ -- 2.30.2