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

Jarno Rajahalme jrajahalme at nicira.com
Thu Aug 14 18:55:44 UTC 2014


Acked-by: Jarno Rajahalme <jrajahalme at nicira.com>

> On Aug 14, 2014, at 11:47 AM, Ben Pfaff <blp at nicira.com> wrote:
> 
> 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
> 
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev



More information about the dev mailing list